Wow, there are probably a million ways, but B-Nodes comes to mind:
ilove:NewYork a ontology:City;
ontology:Distance [
ilove:Miami 1000;
ilove:LA 4000
].
... and then the links of the referring cities can be links to more
information for that city, and New york (as a distance) should show that it
links to those cities...
Anyway... I'm no expert, and there's probably a million ways to do this. Try
looking at an RSS 1.0 / RDF newsfeed, as stories appear as collections (try
converting the feed to N3 using Babel, Jena, etc... )...
On 1/31/07, Kelly Jones <[EMAIL PROTECTED]> 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).
--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general