From: Markus S. <m.s...@hi...> - 2006-03-08 17:25:33
|
Hi all, first i have to say, RAP is a good work! But now i run into a problem with a sparql query on a dataset. This is my query: $q1_ = " PREFIX map: <http://intranet/sitemap#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT * FROM NAMED </graph1> WHERE { ?y map:contains ?x } LIMIT 20 "; The named graph "/graph1" exists and has up to 41.000 entries. The result i got is as follows: $r = $dataset1->sparqlQuery($q1_); SPARQLEngine::writeQueryResultAsHtmlTable($r); No. ?y ?x 1. unbound unbound 2. unbound unbound 3. unbound unbound 4. unbound unbound 5. unbound unbound 6. unbound unbound 7. unbound unbound ... and so on till the 20th entry because of LIMIT 20. (Without the limit clause i would have more than 20.000 entries in the result). The problem is obvious, i get ?unbound results for each subject and object. Is this a "normal" behavior of sparql or is here a bug in the RAP sparql engine or better should i clean my eyeglasses? Any notes to this are very welcome! markus |