Ivan,

Looks like you're the first user who knows about BASE :)
I'll fix this tomorrow.

Best Regards,
IvAn.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ivan
Herman
Sent: Tuesday, May 29, 2007 7:41 PM
To: [email protected]
Subject: [Virtuoso-devel] Problem with BASE?

Kingsley, Orri

I think I have asked that before: where should I send these types of bug
reports? Is there a mailing list for this?

Bug seems to be with BASE. Consider the following query:

BASE <http://www.fosi.org/projects/powder/multiple_examples.rdf>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX owl:
<http://www.w3.org/2002/07/owl#> PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX wdr: <http://www.w3.org/2007/05/powder#>
PREFIX ex: <http://example.org#>

SELECT ?maker ?rs ?setProp ?setValue ?ds ?dsProp ?dsValue ?issued
?validUntil FROM <http://www.fosi.org/projects/powder/multiple_examples.rdf>
WHERE {
  <#DR3> foaf:hasMaker ?maker .
  <#DR3> wdr:hasScope ?rs.
  <#DR3> wdr:hasDescription ?ds .

  OPTIONAL {?rs ?setProp ?setValue} .
  OPTIONAL {?ds ?dsProp ?dsValue} .
  OPTIONAL
{<http://www.fosi.org/projects/powder/multiple_examples.rdf#DR3>
dcterms:issued ?issued} .
  OPTIONAL
{<http://www.fosi.org/projects/powder/multiple_examples.rdf#DR3>
wdr:validUntil ?validUntil}
}

It returns an empty result set. If the <#DR3> above are replaced by
<http://www.fosi.org/projects/powder/multiple_examples.rdf#DR3> then there
are explicit results.

Note that the two queries (both using and not using BASE) work correctly on
Joseki with identical results.

Ivan
-- 

Ivan Herman, W3C Semantic Web Activity Lead
URL: http://www.w3.org/People/Ivan/
PGP Key: http://www.cwi.nl/%7Eivan/AboutMe/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf


Reply via email to