9.1 Property Path Syntax

Hello,

I am looking at implementing a small subset of the SPARQL 1.1 Property Path
syntax in EasyRdf. Although it doesn't support SPARQL querying internally,
the property path syntax is useful for fetching values like this:
$names = $person->all('foaf:knows/foaf:name');


However I am finding the Property Path Syntax for an IRI is slightly
confusing:
"iri is either an IRI written in full or abbreviated by a prefixed name"

How should implementers distinguish between an IRI and a property path?
Shouldn't a full IRI be enclosed in angle brackets?
<http://xmlns.com/foaf/0.1/knows>

Hence property paths can only be used with prefixed names? I think an
example might help.


Thanks,

nick.


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

Received on Monday, 13 August 2012 10:10:12 UTC