Exploring the Ontology: Difference between revisions

From DBpedia Mappings
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="range+place"
** 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:

     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"