-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqueryModel.rq
34 lines (25 loc) · 1.92 KB
/
queryModel.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX mo: <http://purl.org/ontology/mo/>
SELECT ?title ?isNewYearsConcert WHERE {
GRAPH <repertoire_20220201> {
?performer mo:performed ?performance ;
foaf:name ?performerName .
?performance mo:recorded_as ?signal .
?signal mo:published_as ?track .
?track rdfs:label ?title .
?record mo:track ?track .
?release mo:publication_of ?signal .
OPTIONAL {
?track mo:musicbrainz ?trackMbz .
}
OPTIONAL {
?performer mo:musicbrainz ?performerMbz .
}
BIND(CONTAINS(STR(?track), "track/Neujahrskonzerte") as ?isNewYearsConcert) .
FILTER(CONTAINS(?title, "onau")) .
FILTER(!(CONTAINS(?title, "eibchen"))) .
}
}
ORDER BY ?track