[rdfweb-dev] referencing external rdf resources. Was:- question:-howto:distanceFrom.....nearestAirpot???

Ian Davis iand at internetalchemy.org
Wed Feb 5 16:44:57 UTC 2003


On Wednesday, 05 February 2003 at 16:35, Niki Dinsey - CSW wrote:
> This is what I want to say:

> <contact:nearestAirport>
>  <wn:Airport air:icao="EGVN" air:iata="BZZ"/>
>  <rdfs:seeAlso rdf:resource="http://www.daml.org/cgi-bin/airport?EGVN"/>
>  <rdfs:seeAlso rdf:resource="http://jibbering.com/rdf/airports.1?BZZ"/>
> </contact:nearestAirport>
You've got properties (seeAlso) nested within a property
(nearestAirport). RDF has a concept of striping, a property contains a
class which contains properties which contain classes...etc

I think what you're looking for is:

<contact:nearestAirport>
 <wn:Airport>
   <air:icao>EGVN</air:icao>
   <air:iata>BZZ</air:iata>
   <rdfs:seeAlso rdf:resource="http://www.daml.org/cgi-bin/airport?EGVN"/>
   <rdfs:seeAlso rdf:resource="http://jibbering.com/rdf/airports.1?BZZ"/>
 </wn:Airport>
</contact:nearestAirport>


Ian




More information about the foaf-dev mailing list