Dear list, The following code causes "com.hp.hpl.jena.query.QueryParseException". Is count function supported?
import com.hp.hpl.jena.query.*;
String queDBPedia = "select count(?inst)\n"
+ "from <http://dbpedia.org>\n"
+ "where {?inst a <
http://dbpedia.org/ontology/Activity>}";
Query query = QueryFactory.create(queDBPedia);
Or do I need to count the total number after I get all the instances?
Thanks for your time!
Best regards
June
