semantic web - Modeling geographic co-ordinates in OWL -
i developing ontology , need model geographic co-ordinates (lat/long) part of address of person. geo names obvious choice, it's big , verbose use, led me w3c geo vocabulary (http://www.w3.org/2003/01/geo/).
it has point class, , lat/long/alt properties should suffice need. however, not able find it, allow lone set properties in protege. farther investigation reveaved “point” rdfs:class , "lat/long/alt" rdf:properties. guessing reason why not showing in protege.
is there way utilize these properties in owl ontology? or there other vocabularies allow me specify geographic points, lines etc?
thanks,
assuming trying open file wgs84_pos nowadays on page http://www.w3.org/2003/01/geo/, appears properties using format not understood protege 4.1 (plain rdf). @ line 143, see that:
<rdf:property rdf:about="http://www.w3.org/2003/01/geo/wgs84_pos#lat"> <rdfs:domain rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#spatialthing" /> <rdfs:label>latitude</rdfs:label> <rdfs:comment>the wgs84 latitude of spatialthing (decimal degrees).</rdfs:comment> </rdf:property>
rdf:property
not in scope of owl (too generic, in owl properties either object or info properties), hence not displayed protege 4.1.
i advise re-create ontology scratch next documentation on web page , looking @ rdf file. add together properties need (should quick), save, open saved file , compare 1 downloaded see differences.
the rough construction of ontology made protege looks this:
<?xml version="1.0"?> <!doctype rdf:rdf [ <!entity owl "http://www.w3.org/2002/07/owl#" > <!entity xsd "http://www.w3.org/2001/xmlschema#" > <!entity rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!entity wgs84_pos "http://www.w3.org/2003/01/geo/wgs84_pos#" > <!entity rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > ]> <rdf:rdf xmlns="http://www.w3.org/2003/01/geo/wgs84_pos#" xml:base="http://www.w3.org/2003/01/geo/wgs84_pos" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:wgs84_pos="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/xmlschema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <owl:ontology rdf:about="http://www.w3.org/2003/01/geo/wgs84_pos#"/> <owl:datatypeproperty rdf:about="&wgs84_pos;lat"> <rdfs:domain rdf:resource="&wgs84_pos;spatialthing"/> </owl:datatypeproperty> <owl:datatypeproperty rdf:about="&wgs84_pos;long"> <rdfs:domain rdf:resource="&wgs84_pos;spatialthing"/> </owl:datatypeproperty> <owl:class rdf:about="&wgs84_pos;point"> <rdfs:subclassof rdf:resource="&wgs84_pos;spatialthing"/> </owl:class> <owl:class rdf:about="&wgs84_pos;spatialthing"/>
semantic-web owl
No comments:
Post a Comment