hi,
i know its not directly ontowiki related, but maybe you can help me at
that:
i can get the labels of all classes:
SELECT ?class ?label WHERE {
?class rdf:type rdfs:Class .
?class rdfs:label ?label
}
but as there are are english and german labels - i get both.
to get only the german labels, i tried:
PREFIX xml: <
http://www.w3.org/XML/1998/namespace>
SELECT ?class ?label WHERE {
?class rdf:type rdfs:Class .
?class rdfs:label ?label .
?label xml:lang de}
but it results in an error:
SPARQL Error: [unixODBC][OpenLink][Virtuoso iODBC Driver][Virtuoso
Server]SQ074: Line 17: SP030: SPARQL compiler, line 16: syntax error
at 'de' before '}' (37000)
Query: PREFIX sioc: PREFIX skos: PREFIX vcard: PREFIX foaf: PREFIX dc:
PREFIX owl: PREFIX rdfs: PREFIX rdf: PREFIX xml: SELECT ?class ?label
FROM FROM WHERE { ?class rdf:type rdfs:Class . ?class rdfs:label ?
label . ?label xml:lang de}
i also tried with "de" (in quotes). but this gives me "no result"
any idea?