Re: The RDF 1.1 Literal Quiz

On May 19, 2011, at 17:13 , Lee Feigenbaum wrote:

> On 5/19/2011 11:01 AM, Ivan Herman wrote:
>>> Q27. Does the following query give<joe>  as an answer, when asked against the previous graphs?
>>> 
>>>    SELECT ?person WHERE { ?person<nbChildren>  2 }
>> 
>> Isn't 2 a shortcut for "2"^^xs:decimal?
> 
> 2 is a shortcut for "2"^^xsd:integer .
> 

Oops:-(

Then the answer is no unless sparql has a D-entailment that also reflects the relationships among datatypes

I.


> Lee


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 19 May 2011 15:31:14 UTC