MatVoc:SPARQL

From matvoc.nims.go.jp
Revision as of 08:06, 21 November 2019 by MediaWiki default (talk | contribs) (Created page with "This vocabulary can be queried by SPARQL at [{{SERVER}}/query the query service]. == Examples == {{SPARQL | query = # Sample query: Narrower concepts of `material types` whe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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!