Skip to content

Instantly share code, notes, and snippets.

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/7455d3abdb16134e9f4b07caba9a3d85 to your computer and use it in GitHub Desktop.
Save crssnky/7455d3abdb16134e9f4b07caba9a3d85 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#>
SELECT ?ユニット名 (group_concat(?名前;separator=", ")as ?メンバー)
WHERE {
?s rdf:type imas:Unit;
schema:name ?ユニット名;
schema:member/schema:name ?名前.
}group by (?ユニット名) order by(?ユニット名)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment