|
From: <tob...@we...> - 2006-07-28 11:09:36
|
Hi Ian, sorry for the delay and thanks for this report. Richard is on holiday. I think i fixed the problem with the missing query results. Try to download the new version of the SparqlEngine which is now in the CVS repository. Regards, Tobias > Hi Richard, > > Today we were using RAP and realized that our query does not > seem to be returning all of the (combinatorial) results in XML > that we expect. Here's the test: > > * In our data [1], something may have more than one type > (defined here [2]). For instance, a document may be both > a "FirstEdition" and a "REC". > > [1] http://www.w3.org/2002/01/tr-automation/tr.rdf > [2] http://www.w3.org/2001/02pd/rec54.rdf > > * The query below should return results that show that the resource > identified by this URI: > > http://www.w3.org/TR/REC-html40-971218 > > is both a rec:FirstEdition and a rec:REC. Instead the query results > only attest to it being a rec:REC. > > Note: You can probably construct a much simpler query to test this... > > * As an aside, we have encountered a similar issue of not getting > back all of the results we expect in the rasqal library; see > this bug report: > http://bugs.librdf.org/mantis/view.php?id=77 > > I mention this only because the issue of "getting back all the > combinatorial possibilities in XML" seems to be the same; not that > the implementation issue is in any way related. > > I hope this report is useful. > > _ Ian > > ---------------------------------------------------------- > PREFIX : <http://www.w3.org/2000/10/swap/pim/contact#> > PREFIX doc: <http://www.w3.org/2000/10/swap/pim/doc#> > PREFIX mat: <http://www.w3.org/2002/05/matrix/vocab#> > PREFIX org: <http://www.w3.org/2001/04/roadmap/org#> > PREFIX rec: <http://www.w3.org/2001/02pd/rec54#> > PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> > PREFIX dc: <http://purl.org/dc/elements/1.1/> > SELECT ?doc ?editor ?title ?date ?versionOf ?type ?supersedes > ?previous WHERE {?doc rdf:type ?type; dc:title ?title; dc:date ?date; > doc:versionOf ?versionOf. OPTIONAL {?doc rec:supersedes ?supersedes} > OPTIONAL {?doc rec:previousEdition ?previous} OPTIONAL {?versionOf > rec:supersedes ?supersedes} OPTIONAL {?doc rec:editor > [:fullName ?editor ] .}} ORDER BY DESC(?date) > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |