#include #include "../Parser/DBparser.h" #include "../Query/SPARQLquery.h" int main(){ std::cout<<"start"< ")+ "PREFIX dc11: "+ "SELECT ?title "+ "WHERE { { ?book dc10:title ?title } "+ "UNION { ?book dc11:title ?title } }"; std::string s2=std::string("PREFIX foaf: ")+ "SELECT ?x1 ?x4 ?x5 WHERE {{?x1 y:hasGivenName ?x5."+ "?x1 y:hasFamilyName ?x6."+ "?x1 rdf:type ."+ "?x1 y:bornIn ?x2."+ "?x1 y:hasAcademicAdvisor ?x4."+ "?x2 y:locatedIn ."+ "?x3 y:locatedIn ."+ "?x4 y:bornIn ?x3.}"+ "UNION { ?book dc11:title ?title}"+ "} order by ?x5"; std::cout<<"string: "<