EnvironmentOntology / gaz

An open source gazetteer constructed on ontological principles
Other
7 stars 5 forks source link

Request GAZ class "State (United States of America)" #9

Open ddooley opened 5 years ago

ddooley commented 5 years ago

GAZ has state classes for Mexico, Australia etc. Can we get this for the US to provide easy menu selection? Wikipedia def seem fine:

label: "State (United States of America)" definition: "In the United States, a state is a constituent political entity, of which there are currently 50. Bound together in a political union, each state holds governmental jurisdiction over a separate and defined geographic territory and shares its sovereignty with the federal government." definition source: https://en.wikipedia.org/wiki/U.S._state

If helpful, SPARQL query is in "insert USAstate" query in https://github.com/GenEpiO/genepio/blob/master/src/ontology/gazetteer2.py , although I see a few american protectorates in there too, and it uses GenEpiO's "US state" class.

Also, there is one discrepancy in Gazetteer right now: It had adopted the practice of having owl:NamedIndividual with same id's as owl:Class for a number of items (punning), but not for states in the USA.

ddooley commented 5 years ago

Also note this thread: https://github.com/EnvironmentOntology/envo/issues/514 Basically, a text mining script is being run on OBOFoundry / Ontobee version of GAZ which is associating any label that has "state" in it to ENVO "national geopolitical entity" http://www.ontobee.org/ontology/GAZ?iri=http://purl.obolibrary.org/obo/ENVO_00000009

Hence the one extra line above in adjustment SPARQL query: DELETE {?USAstate rdf:type obo:ENVO_00000009} The text mining script needs to be disengaged for the term "state".