Re: PROV-ISSUE-142 (Tlebo): Can roles only be Literals? [Data Model]

On 12/01/2011 02:17 PM, Stian Soiland-Reyes wrote:
> On Thu, Dec 1, 2011 at 11:39, Luc Moreau<L.Moreau@ecs.soton.ac.uk>  wrote:
>
>    
>>> In the PROV-ASN syntax:
>>>        
>>>> typedLiteral ::= quotedString %% datatype
>>>> datatype ::= IRI
>>>> IRI ::= an IRI compatible with production IRI in [IRI]
>>>>          
>>> However most examples here and elsewhere in the document use QNames or
>>> CURIEs for the datatype - which are not covered by [IRI]:
>>>        
>> I don't follow you, what do you mean not covered by IRI?
>>      
> prov:blah is not an IRI - although it might look like one - it's a QName.
>    
Yes, indeed, it's a QName.
> The syntax defined does not allow QNames as the datatype - but that's
> what is used. Perhaps it should only specify datatype as a QName
> instead?
>
>    
OK, I see what you mean. The grammar in the document is incorrect,
and I have not updated it to reflect my testing parser.

Luc

-- 
Professor Luc Moreau
Electronics and Computer Science   tel:   +44 23 8059 4487
University of Southampton          fax:   +44 23 8059 2865
Southampton SO17 1BJ               email: l.moreau@ecs.soton.ac.uk
United Kingdom                     http://www.ecs.soton.ac.uk/~lavm

Received on Thursday, 1 December 2011 14:27:43 UTC