MatVoc:SPARQL

From matvoc.nims.go.jp
Revision as of 08:12, 21 November 2019 by MediaWiki default (talk | contribs)
Jump to navigation Jump to search

This vocabulary can be queried by SPARQL at the query service.

See /batch for the queries designed for the batch export system.

Examples

# Sample query: Narrower concepts of `material types` where both enlabel and jalabel exist
SELECT ?item ?enlabel ?jalabel
WHERE {
  ?item wdt:P8 wd:Q26.
  ?item rdfs:label ?enlabel FILTER (LANG(?enlabel) = "en") .
  ?item rdfs:label ?jalabel FILTER (LANG(?jalabel) = "ja") .
}
ORDER BY ?enlabel

▶️ Try it!