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/ee2a9c6474ea1f8f707cfafef6cef144 to your computer and use it in GitHub Desktop.
Save crssnky/ee2a9c6474ea1f8f707cfafef6cef144 to your computer and use it in GitHub Desktop.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX schema: <http://schema.org/>
PREFIX imas: <https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#>
PREFIX haiku: <https://sparql.crssnky.xyz/SeasonWordsRDF/SeasonWord-schema.ttl#>
SELECT ?季語 ?季節 ?ユニット名{
service<https://sparql.crssnky.xyz/spql/SeasonWords/query>{
?ss haiku:SeasonWord ?季語;
haiku:Season ?季節.
}
?s schema:name ?ユニット名;
rdf:type imas:Unit.
filter(contains(str(?ユニット名),?季語))
}offset 15 limit 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment