All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.cmu.sv.domain.ontology.QueryFragment Maven / Gradle / Ivy

Go to download

A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).

There is a newer version: 0.7.0
Show newest version
package edu.cmu.sv.domain.ontology;

/**
 * Created by David Cohen on 6/16/15.
 */
public interface QueryFragment {
    //   /*
//    * Return a query fragment that binds the transient quality to ?transient_quality
//    * (based on some non-transient information)
//    *
//    * The transient quality must be in the range (0-1) if it can be determined.
//    *
//    * DO NOT USE THE FOLLOWING VARIABLES:
//    * ?x
//    * ?fuzzy_mapped_quality
//    *
//    * The input list should be able to contain either variables: ?XXX or URIs: 
//    * */
//    java.util.function.Function, String> getQualityCalculatorSPARQLQuery();
    String getResolutionSparqlQueryFragment(String firstArgument, String secondArgument, String resultVariable);
    default String getDegreeMatchSparqlQueryFragment(String firstArgument, String secondArgument, String resultVariable){
        return getResolutionSparqlQueryFragment(firstArgument, secondArgument, resultVariable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy