51 lines
1.3 KiB
SPARQL
51 lines
1.3 KiB
SPARQL
DEFINE input:inference 'ariadneplus_rules'
|
|
|
|
CONSTRUCT {
|
|
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
|
|
?IDRes a crm:E42_Identifier .
|
|
?IDRes rdfs:label ?ID_label .
|
|
|
|
<${subjectURL}> crm:P102_has_title ?title .
|
|
<${subjectURL}> crm:P3_has_note ?description .
|
|
<${subjectURL}> a ?type .
|
|
<${subjectURL}> rdfs:label ?label .
|
|
|
|
<${subjectURL}> crm:P2_has_type ?e55TypeLabel .
|
|
|
|
<${subjectURL}> <usedby> ?adopter .
|
|
<${subjectURL}> <creationtime> ?creationtime .
|
|
}
|
|
WHERE {
|
|
<${subjectURL}> a crm:E29_Design_or_Procedure .
|
|
<${subjectURL}> a ?type .
|
|
{
|
|
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
|
|
?IDRes a crm:E42_Identifier .
|
|
?IDRes rdfs:label ?ID_label .
|
|
}
|
|
UNION
|
|
{
|
|
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
?titleRes a crm:E41_Appellation .
|
|
?titleRes rdfs:label ?title .
|
|
}
|
|
UNION{
|
|
<${subjectURL}> crm:P3_has_note ?description .
|
|
}
|
|
UNION{
|
|
<${subjectURL}> rdfs:label ?label .
|
|
}
|
|
UNION {
|
|
<${subjectURL}> crm:P2_has_type ?e55Type .
|
|
?e55Type rdfs:label ?e55TypeLabel .
|
|
}
|
|
UNION {
|
|
?adopter crmpe:PP31_uses_curation_plan <${subjectURL}> .
|
|
}
|
|
UNION{
|
|
<${subjectURL}> crm:P94i_was_created_by ?event1 .
|
|
?event1 crm:P2_has_type <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Concept/eventtype/creation> .
|
|
?event1 crm:P4_has_time-span ?timespan .
|
|
?timespan crm:P81_ongoing_throughout ?creationtime .
|
|
}
|
|
} |