Undefined namespace prefix on previously working SPARQL query -
i interested in geographic coordinates of banks, central banks, financial institutions, universities , colleges. query:
select ?label ?lat ?long { {?x dct:subject category:international_finance_institutions } union {?x dct:subject category:federal_reserve_banks } union {?x dct:subject category:central_banks } union {?x <http://schema.org/collegeoruniversity> }. ?x geo:lat ?lat . ?x geo:long ?long . ?x rdfs:label ?label. filter (langmatches(lang(?label), 'en')) }
exactly code worked (last download: june 21st, 2015). morning keep getting error: virtuoso 37000 error sp030: sparql compiler, line 5: undefined namespace prefix @ 'category' before '}'
. checking the list of predefined namespaces, seems correct. what's wrong category
? btw: tried other codes offered on side, , not working. did virtuoso guys change something?
they have changed namespaces. need change category:
dbc:
.
select ?label ?lat ?long { {?x dct:subject dbc:international_finance_institutions } union {?x dct:subject dbc:federal_reserve_banks } union {?x dct:subject dbc:central_banks } union {?x <http://schema.org/collegeoruniversity> }. ?x geo:lat ?lat . ?x geo:long ?long . ?x rdfs:label ?label. filter (langmatches(lang(?label), 'en')) }
Comments
Post a Comment