On 9/27/13 12:11 AM, Dimitris Kontokostas wrote:
Hi,

I get the following internal error when I run [1] . When I run it without a property path (+) it works fine.

Cheers,
Dimitris
Virtuoso 37000 Error SP031: SPARQL: Internal error: sparp_equiv_get_ro(): attempt 
of returning NULL when SPARP_EQUIV_GET_ASSERT & flags
[1] http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+%3Fs+WHERE+{%0D%0A+++++++++++++++++++++++++++++%3Fs+rdf%3Atype%2B+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FPerson%3E+.%0D%0A+++++++++++++++++++++++++++++FILTER+NOT+EXISTS+{%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthYear%3E+%3Fv+}+}&format=text%2Fhtml&timeout=30000&debug=on <http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+%3Fs+WHERE+%7B%0D%0A+++++++++++++++++++++++++++++%3Fs+rdf%3Atype%2B+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FPerson%3E+.%0D%0A+++++++++++++++++++++++++++++FILTER+NOT+EXISTS+%7B%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthYear%3E+%3Fv+%7D+%7D&format=text%2Fhtml&timeout=30000&debug=on>

--
Kontokostas Dimitris


Yep! It's a bug.

Workaround:
SELECT ?s WHERE {
  ?s a ?t . ?t rdf:type* <http://dbpedia.org/ontology/Person> .
  FILTER NOT EXISTS {?s <http://dbpedia.org/ontology/birthYear> ?v } }


See:
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=%0D%0ASELECT+%3Fs+WHERE+%7B%0D%0A++%3Fs+a+%3Ft+.+%3Ft+rdf%3Atype*+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FPerson%3E+.%0D%0A++FILTER+NOT+EXISTS+%7B%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthYear%3E+%3Fv+%7D+%7D&format=text%2Fhtml&timeout=30000&debug=on

--

Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to