On 2/6/14 7:57 AM, Lorenz Bühmann wrote:
Hi,I just wanted to report some unexpected behaviour when running the following query on http://dbpedia.org/sparql : SELECT ?type WHERE { <http://dbpedia.org/resource/John_the_Baptist> a ?type . FILTER NOT EXISTS{<http://dbpedia.org/resource/John_the_Baptist> a ?moreSpecificType . ?moreSpecificType <http://www.w3.org/2000/01/rdf-schema#subClassOf>+ ?type.} } It's supposed to return all types of http://dbpedia.org/resource/Saint_George that do not have a subclass which is also an asserted type of http://dbpedia.org/resource/Saint_George. But in fact it returns, among others, http://www.w3.org/2002/07/owl#Thing http://dbpedia.org/ontology/Agent, http://dbpedia.org/ontology/Person, http://dbpedia.org/ontology/Saint which are indeed related via rdfs:subClassOf. For some other resources it seems to work, e.g. for the resource http://dbpedia.org/resource/Pope_John_Paul_I it returns, among others, only the class http://dbpedia.org/ontology/ChristianBishop from the DBpedia ontology namespace. Am I doing something wrong, or is this a (known) bug in Virtuoso? Regards, Lorenz Bühmann
To accelerate case resolution please do the following:1. Grab the SPARQL Protocol URL for you query -- this can be the solution or the definition (replace &query with &qtxt)
2. Reference the URL in your post.Instinctively, I suspect this is a combination of timeout setting (which you could increase to 30,000 msecs) and enabling inference context (using one of the pre-canned inference rules).
Send the SPARQL Protocol URL and the query could be tweaked accordingly. Worst case, the issue will be found pronto.
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users