Created
May 13, 2019 14:11
-
-
Save crssnky/4dee8a0ccba81b9075a21e5868b6393f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 (sample(?n)as ?公演名) (sample(?sD)as ?公演日) (group_concat(?a)as ?出演者) | |
WHERE { | |
?s rdf:type imas:Live; | |
schema:startDate ?sD; | |
schema:name ?n; | |
schema:actor ?a | |
filter(?sD>"2019-05-13"^^<http://www.w3.org/2001/XMLSchema#date>) | |
}group by ?s order by ?sD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment