From: Marco R. <cre...@go...> - 2007-08-21 13:44:17
|
Ok, the space between : and < seems to work. The SparqlParser doesn't complain anymore. But now I have the problem, that no results are returned, although there should be... Trying to select all triples works just fine: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT * WHERE { ?res ?blah ?more } But as soon as I try to select a specific triple using the properties rdfs:label and rdf:type, the result is false: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?userstory WHERE { ?res rdfs:label ?userstory ?res rdf:type ?type } Could it be, that the rdf-export from the wiki (it's the rdf-export from semantic media wiki) is not compatible with RAP? Or is my query still messed up? |