Exploring the Ontology: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
* Search for class use in templates
* Search for class use in templates
** '''"maptoclass <class>"''' (note the quotes!)
** '''"maptoclass <class>"''' (note the quotes!)
** eg http://mappings.dbpedia.org/index.php?search="maptoclass+place"
** eg http://mappings.dbpedia.org/index.php?search=maptoclass+place
* Search for property use in templates
* Search for property use in templates
** '''"ontologyproperty <prop>"''' (note the quotes!)
** '''"ontologyproperty <prop>"''' (note the quotes!)
** eg http://mappings.dbpedia.org/index.php?search="ontologyproperty+location"
** 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
* 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}
       SELECT DISTINCT * {?prop rdfs:domain|rdfs:range dbo:Place}

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"