Meanwhile your query works using this clunky statement:

  optional {?S dbpo:numberOfUndergraduateStudents ?ANY}
  filter (!bound(?ANY))

Benjamin

Am 09.03.2013, 21:25 Uhr, schrieb Kingsley Idehen <[email protected]>:

> On 3/9/13 2:28 PM, Tim Finin wrote:
>> http://dbpedia.org/sparql  gives me a SP031 error for a query that
>> seems stems from my use of FILTER NOT EXISTS.  But this query worked a
>> when I last ran it about 38 hours ago. Below is the error message I
>> get, which also shows the query.  Has the server software changed?
>> -- Tim Finin, Computer Science & Electrical Eng., U. of Maryland,
>> Baltimore County, 1000 Hilltop Circle, Baltimore MD 21250.
>> http://umbc.edu/~finin/ [email protected] skype:timFinin o:4104553522
>> fax:4104553969 mob:4104993522 -- Virtuoso 37000 Error SP031: SPARQL
>> compiler: Internal error: sparp_find_origin_of_external_var():
>> external source equiv is found, external source var is not SPARQL
>> query: define sql:big-data-const 0 #output-format:text/html define
>> sql:signal-void-variables 1 define input:default-graph-uri
>> <http://dbpedia.org> PREFIX dbpr: <http://dbpedia.org/resource/>
>> PREFIX dbpo: <http://dbpedia.org/ontology/> select distinct ?S ?NG
>> where { ?S a dbpo:University. {?S dbpo:country dbpr:United_States}
>> UNION {?S dbpprop:country dbpr:United_States} ?S
>> dbpo:numberOfPostgraduateStudents ?NG . FILTER NOT EXISTS {?S
>> dbpo:numberOfUndergraduateStudents ?ANY} }
>
> Tim,
>
> Well spotted, there's regression in the new Virtuoso binary behind the
> SPARQL endpoint.
>
> We'll get it fixed pronto!

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to