Exploring the Ontology: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
|||
Line 5: | Line 5: | ||
* Search for props that explicitly connect to a class (rdfs:range is that <class> but no superclasses): | * Search for props that explicitly connect to a class (rdfs:range is that <class> but no superclasses): | ||
** '''"range <class>"''' (note the quotes!) | ** '''"range <class>"''' (note the quotes!) | ||
** Eg http://mappings.dbpedia.org/index.php?search= | ** Eg http://mappings.dbpedia.org/index.php?search=range+place | ||
* Search for class use in templates | * Search for class use in templates | ||
** '''"maptoclass <class>"''' (note the quotes!) | ** '''"maptoclass <class>"''' (note the quotes!) |
Revision as of 12:43, 7 September 2020
Tools you can use to explore the DBpedia ontology:
- Class Hierarchy View: overview of the ontology's current shape
- Click on <class> to see all props applicable to it (rdfs:domain is <class> or a superclass thereof).
- Search for props that explicitly connect to a class (rdfs:range is that <class> but no superclasses):
- "range <class>" (note the quotes!)
- Eg http://mappings.dbpedia.org/index.php?search=range+place
- Search for class use in templates
- "maptoclass <class>" (note the quotes!)
- eg http://mappings.dbpedia.org/index.php?search="maptoclass+place"
- Search for property use in templates
- "ontologyproperty <prop>" (note the quotes!)
- eg http://mappings.dbpedia.org/index.php?search="ontologyproperty+location"
- Query the ontology as deployed (http://dbpedia.org/sparql). But it's already outdated (last update Aug 2014). Eg
SELECT DISTINCT * {?prop rdfs:domain|rdfs:range dbo:Place}
Browser Shortcuts
You could also make search shortcuts for your browser. On Chrome go to about://settings/searchEngines and make searches like:
- Match anything. You can use a wildcard at the end
db -> http://mappings.dbpedia.org/index.php?search=%s
- Text match in Classes only
dbc -> http://mappings.dbpedia.org/index.php?ns200=1&advanced=1&search=%s
- Text match in Properties only
dbp -> http://mappings.dbpedia.org/index.php?ns202=1&advanced=1&search=%s
- Class use in tempates
dbcu -> http://mappings.dbpedia.org/index.php?search="maptoclass+%s"
- Property use in templates
dbpu -> http://mappings.dbpedia.org/index.php?search="ontologyproperty+%s"