From 819aa166a26b7d135726112b13b334199b11e5c8 Mon Sep 17 00:00:00 2001 From: Timo Date: Fri, 19 Jan 2024 21:50:10 +0100 Subject: [PATCH] more collection mappings --- src/sparqlunicorn_ontdoc/doc/docconfig.py | 112 ++++++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/src/sparqlunicorn_ontdoc/doc/docconfig.py b/src/sparqlunicorn_ontdoc/doc/docconfig.py index 23d48340..2b10462e 100644 --- a/src/sparqlunicorn_ontdoc/doc/docconfig.py +++ b/src/sparqlunicorn_ontdoc/doc/docconfig.py @@ -46,19 +46,85 @@ class DocConfig: "http://www.opengis.net/ont/geosparql#SpatialObject": { "class": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://www.geonames.org/ontology#GeonamesFeature": { + "class": "http://www.opengis.net/ont/geosparql#FeatureCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://www.geonames.org/ontology#Feature": { + "class": "http://www.opengis.net/ont/geosparql#FeatureCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://www.opengis.net/ont/geosparql#Feature": { "class": "http://www.opengis.net/ont/geosparql#FeatureCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://www.opengis.net/ont/geosparql#Geometry": { "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#Geometry": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#BoundingBox": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#LineString": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#MultiLineString": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#MultiPoint": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#MultiPolygon": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://geovocab.org/geometry#Polygon": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://www.w3.org/2003/01/geo/wgs84_pos#Point": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#Point": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#LineString": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#Polygon": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#MultiPoint": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#MultiLineString": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://purl.org/geojson/vocab#MultiPolygon": { + "class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/cartCoord#Point": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", + "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://www.opengis.net/ont/sf#Point": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://www.opengis.net/ont/sf#Envelope": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://www.opengis.net/ont/sf#Geometry": {"class": "http://www.opengis.net/ont/geosparql#GeometryCollection", "super": "http://www.opengis.net/ont/geosparql#SpatialObjectCollection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, @@ -109,6 +175,9 @@ class DocConfig: "prop": "http://www.w3.org/2006/vcard/ns#hasMember"}, "http://xmlns.com/foaf/0.1/Person": {"class": "http://www.w3.org/2006/vcard/ns#Group", "prop": "http://www.w3.org/2006/vcard/ns#hasMember"}, + "https://dblp.org/rdf/schema/Person": {"class": "http://www.w3.org/2006/vcard/ns#Group", + "prop": "http://www.w3.org/2006/vcard/ns#hasMember"}, + "http://www.w3.org/ns/lemon/ontolex#LexicalEntry": {"class": "http://www.w3.org/ns/lemon/lime#Lexicon", "prop": "http://www.w3.org/ns/lemon/lexicog#entry"}, "http://www.w3.org/ns/dcat#Dataset": {"class": "http://www.w3.org/ns/dcat#Catalog", @@ -117,10 +186,36 @@ class DocConfig: "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Document": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://xmlns.com/foaf/0.1/Document": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://dblp.org/rdf/schema/Publication": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://dblp.org/rdf/schema/Article": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Article": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Article": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://www.wikidata.org/entity/Q13442814": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/AcademicArticle": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://dblp.org/rdf/schema/Inproceedings": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Inproceedings": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Inbook": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Booklet": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Manual": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Phdthesis": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Misc": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Proceedings": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Thesis": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/BookSection": {"class": "http://purl.org/ontology/bibo/Collection", @@ -129,6 +224,23 @@ class DocConfig: "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Report": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Techreport": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://dblp.org/rdf/schema/Incollection": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Incollection": { + "class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://dblp.org/rdf/schema/Book": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://purl.org/net/nknouf/ns/bibtex#Book": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "https://schema.org/Book": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "http://schema.org/Book": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, + "wd:Q571": {"class": "http://purl.org/ontology/bibo/Collection", + "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Book": {"class": "http://purl.org/ontology/bibo/Collection", "prop": "http://www.w3.org/2000/01/rdf-schema#member"}, "http://purl.org/ontology/bibo/Proceedings": {"class": "http://purl.org/ontology/bibo/Collection",