Skip to content

Instantly share code, notes, and snippets.

@crssnky
Last active July 25, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crssnky/24b7e95f8232eac57ce310faebaf1fe9 to your computer and use it in GitHub Desktop.
Save crssnky/24b7e95f8232eac57ce310faebaf1fe9 to your computer and use it in GitHub Desktop.
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX imas: <https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#>
PREFIX imasrdf: <https://sparql.crssnky.xyz/imasrdf/RDFs/detail/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX math: <http://www.w3.org/2005/xpath-functions/math#>
PREFIX xsd: <https://www.w3.org/TR/xmlschema11-2/#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT distinct ?クラス ?クラス名 ?説明
WHERE {
?主語 rdf:type ?クラス.
optional{?クラス rdfs:label ?クラス名;
rdfs:comment ?説明.
}
}order by ?クラス
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment