Hi @hwilliams ,
I have this issue SPARQL QUERY, in Virtuoso 07.20.3233 on Windows Single Server Edition ():
-
Case OK:
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?City WHERE { SERVICE <https://dbpedia.org/sparql> { ?City a dbo:City ; rdfs:label ?Label ; dbo:postalCode ?PostalCode . Filter ( lang(?Label) = "en" ) } } LIMIT 10
-
Case KO (insert of an empty line):
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?City WHERE { SERVICE <https://dbpedia.org/sparql> { ?City a dbo:City ; rdfs:label ?Label ; dbo:postalCode ?PostalCode . Filter ( lang(?Label) = "en" ) } } LIMIT 10
-
Case KO (insert column named ?Label):
PREFIX dbo: http://dbpedia.org/ontology/
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
SELECT ?City, ?Label
WHERE {
SERVICE https://dbpedia.org/sparql
{
?City a dbo:City ;
rdfs:label ?Label ;
dbo:postalCode ?PostalCode .
Filter ( lang(?Label) = βenβ )
} } LIMIT 10
In general, if I put spaces or change the query, will not work