-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79f0a05
commit ad06ccf
Showing
5 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> | ||
PREFIX sherlock: <http://data-iremus.huma-num.fr/ns/sherlock#> | ||
PREFIX dcterms: <http://purl.org/dc/terms/> | ||
PREFIX iremus: <http://data-iremus.huma-num.fr/id/> | ||
|
||
SELECT ?individual (GROUP_CONCAT(DISTINCT ?name; SEPARATOR=", ") AS ?authors) (GROUP_CONCAT(DISTINCT ?note; SEPARATOR=", ") AS ?notes) | ||
FROM <http://data-iremus.huma-num.fr/graph/sherlock> | ||
FROM <http://data-iremus.huma-num.fr/graph/users> | ||
WHERE { | ||
|
||
iremus:{ID DU PROJET} crm:P9_consists_of ?assignment. | ||
?assignment crm:P177_assigned_property_of_type crm:P2_has_type. | ||
?assignment crm:P140_assigned_attribute_to ?individual. | ||
|
||
?link crm:P141_assigned ?individual. | ||
|
||
?link crm:P140_assigned_attribute_to ?noteUri. | ||
BIND(STRAFTER(STR(?noteUri), "#") AS ?note) | ||
|
||
?assignment dcterms:creator ?creator. | ||
|
||
?creator crm:P1_is_identified_by ?identifier. | ||
?identifier crm:P2_has_type iremus:73ea8d74-3526-4f6a-8830-dd369795650d. | ||
?identifier crm:P190_has_symbolic_content ?name. | ||
} | ||
GROUP BY ?individual | ||
HAVING (COUNT(DISTINCT ?creator) > 1) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
### Select annotations with concepts and/or comments from more than 1 contributor | ||
|
||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> | ||
PREFIX sherlock: <http://data-iremus.huma-num.fr/ns/sherlock#> | ||
PREFIX dcterms: <http://purl.org/dc/terms/> | ||
PREFIX iremus: <http://data-iremus.huma-num.fr/id/> | ||
|
||
SELECT ?individual (GROUP_CONCAT(DISTINCT ?name; SEPARATOR=",") AS ?authors) (GROUP_CONCAT(DISTINCT ?note; SEPARATOR=",") AS ?notes) (GROUP_CONCAT(DISTINCT ?conceptOrComment; SEPARATOR="$") AS ?conceptsOrComments) | ||
FROM <http://data-iremus.huma-num.fr/graph/sherlock> | ||
FROM <http://data-iremus.huma-num.fr/graph/users> | ||
WHERE { | ||
|
||
iremus:{PROJECT} crm:P9_consists_of ?assignment. | ||
?assignment crm:P177_assigned_property_of_type crm:P2_has_type. | ||
?assignment crm:P140_assigned_attribute_to ?individual. | ||
?assignment crm:P141_assigned ?conceptOrComment. | ||
|
||
?link crm:P141_assigned ?individual. | ||
|
||
?link crm:P140_assigned_attribute_to ?noteUri. | ||
BIND(STRAFTER(STR(?noteUri), "#") AS ?note) | ||
|
||
?assignment dcterms:creator ?creator. | ||
|
||
?creator crm:P1_is_identified_by ?identifier. | ||
?identifier crm:P2_has_type iremus:73ea8d74-3526-4f6a-8830-dd369795650d. | ||
?identifier crm:P190_has_symbolic_content ?name. | ||
} | ||
GROUP BY ?individual | ||
HAVING (COUNT(DISTINCT ?creator) > 1) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> | ||
PREFIX iremus: <http://data-iremus.huma-num.fr/id/> | ||
PREFIX sherlock: <http://data-iremus.huma-num.fr/ns/sherlock#> | ||
PREFIX cadences: <https://w3id.org/polifonia/ontology/modal-tonal/Cadences_FilaberGuillotelGurrieri_2023/> | ||
|
||
SELECT ?E13 (GROUP_CONCAT(DISTINCT ?docContext; SEPARATOR=",") AS ?scoreURI) (GROUP_CONCAT(DISTINCT ?E7; SEPARATOR=",") AS ?projectID) (GROUP_CONCAT(DISTINCT ?note; SEPARATOR=",") AS ?notes) (GROUP_CONCAT(DISTINCT ?concept; SEPARATOR=",") AS ?concepts) | ||
|
||
|
||
FROM <http://data-iremus.huma-num.fr/graph/sherlock> | ||
FROM <http://data-iremus.huma-num.fr/graph/users> | ||
WHERE { | ||
?project crm:P9_consists_of ?E13. | ||
?E13 sherlock:has_document_context ?docContext. | ||
?E13 crm:P177_assigned_property_of_type crm:P2_has_type. | ||
?E13 crm:P141_assigned cadences:Bassizans_P. | ||
?E13 crm:P141_assigned ?concept. | ||
?E7 crm:P9_consists_of ?E13. | ||
|
||
?E13 crm:P140_assigned_attribute_to ?E28. | ||
?E13_P67 crm:P141_assigned ?E28. | ||
|
||
?E13_P67 crm:P140_assigned_attribute_to ?noteUri. | ||
BIND(STRAFTER(STR(?noteUri), "#") AS ?note) | ||
|
||
} | ||
GROUP BY ?E13 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> | ||
PREFIX iremus: <http://data-iremus.huma-num.fr/id/> | ||
PREFIX sherlock: <http://data-iremus.huma-num.fr/ns/sherlock#> | ||
PREFIX cadences: <https://w3id.org/polifonia/ontology/modal-tonal/Cadences_FilaberGuillotelGurrieri_2023/> | ||
|
||
SELECT DISTINCT ?project ?docContext ?concept | ||
FROM <http://data-iremus.huma-num.fr/graph/sherlock> | ||
FROM <http://data-iremus.huma-num.fr/graph/users> | ||
WHERE { | ||
?project crm:P9_consists_of ?E13. | ||
?E13 sherlock:has_document_context ?docContext. | ||
?E13 crm:P177_assigned_property_of_type crm:P2_has_type. | ||
?E13 crm:P141_assigned cadences:Bassizans_P. | ||
?E13 crm:P141_assigned ?concept. | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> | ||
PREFIX iremus: <http://data-iremus.huma-num.fr/id/> | ||
PREFIX sherlock: <http://data-iremus.huma-num.fr/ns/sherlock#> | ||
|
||
SELECT DISTINCT ?project ?docContext | ||
FROM <http://data-iremus.huma-num.fr/graph/sherlock> | ||
FROM <http://data-iremus.huma-num.fr/graph/users> | ||
WHERE { | ||
VALUES ?project {iremus:{PROJECT}}. | ||
?project crm:P9_consists_of ?E13. | ||
?E13 sherlock:has_document_context ?docContext | ||
|
||
} |