How about this (in N3)?

_:distance123 a geo:Distance ;
    geo:endPoint place:Chicago ;
    geo:endPoint place:NewYork ;
    geo:value [
        a physic:Length ;
        physic:scalar "1000"^xsd:Integer ;
        physic:unit "mile"
    ] .



Kelly Jones wrote:
> What's the natural way to model "The distance between Chicago and New
> York is 1000 miles" in RDF?
>
> The only way I could come up with is ugly and really models "Chicago
> is 1000 miles distant from New York" (same semantic meaning, but makes
> Chicago seem more important, instead of indicating a symmetric relation).
>
> My ugly model:
>
> Chicago has_property DistanceRelation#1
> DistanceRelation#1 has_target "New York"
> DistanceRelation#1 has_distance "1000 miles"
>
> In other words, Chicago has a property called "DistanceRelation#1",
> and DistanceRelation#1 is an object that represents a distance of 1000
> miles from New York. Of course,
>
> Miami has_property DistanceRelation#1
>
> might hold as well, so DistanceRelation#1 doesn't really seem to
> encapsulate what I want.
>
> Is there a cleaner way to do this in RDF?
>
> (I realize Chicago/Miami aren't 1000 miles from New York-- this is
> just an example).
>
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to