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

Niki Dinsey - CSW niki.dinsey at csw.co.uk
Wed Feb 5 16:51:27 UTC 2003


A classic mistake I'm sure *blush*

Thanks Ian

-----Original Message-----
From: rdfweb-dev-bounces at vapours.rdfweb.org
[mailto:rdfweb-dev-bounces at vapours.rdfweb.org] On Behalf Of Ian Davis
Sent: 05 February 2003 16:45
To: RDFWeb and FOAF developer discussions.
Subject: Re: [rdfweb-dev] referencing external rdf resources.
Was:-question:-howto:distanceFrom.....nearestAirpot???

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


_______________________________________________
rdfweb-dev mailing list
rdfweb-dev at vapours.rdfweb.org
http://rdfweb.org/mailman/listinfo/rdfweb-dev





More information about the foaf-dev mailing list