Select Query Example (the dbRDF.rdf must be in the classpath) ============ load tuprolog (java -jar sparql.jar -cp .), then in the tuprolog environment type the following goals: load_library('progetto.SPARQLLibrary'). setFilePath('dbRDF.rdf'). select [l] where { triple(var(s),uri('http://www.w3.org/2001/vcard-rdf/3.0#Family'),lit('Smith')) , triple(var(s),uri('http://www.w3.org/2001/vcard-rdf/3.0#Given'),var(l))}. In the "tests" package you can find some test classes that are explanatory for the use of this library