69 lines
2.2 KiB
SPARQL
69 lines
2.2 KiB
SPARQL
DEFINE input:inference 'ariadneplus_rules'
|
|
|
|
CONSTRUCT {
|
|
<${subjectURL}> rdfs:label ?label .
|
|
<${subjectURL}> a ?type .
|
|
<${subjectURL}> crm:P2_has_type ?e55TypeLabel .
|
|
|
|
<${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}> crm:P76_has_contact_point ?contactpoint .
|
|
?contactpoint crm:P2_has_type ?contactpointType .
|
|
?contactpoint rdfs:label ?contactpointLabel .
|
|
?contactpointType rdfs:label ?contactpointTypeLabel .
|
|
|
|
<${subjectURL}> crm:P107_has_current_or_former_member ?member1 .
|
|
<${subjectURL}> crm:P107i_is_current_or_former_member_of ?team .
|
|
<${subjectURL}> crmpe:PP2i_provides ?service .
|
|
|
|
<${subjectURL}> crmpe:PP44i_is_maintaining_team_of ?maintained .
|
|
}
|
|
WHERE {
|
|
<${subjectURL}> a crm:E39_Actor .
|
|
<${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{
|
|
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
}
|
|
UNION{
|
|
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
?contactpoint rdfs:label ?contactpointLabel .
|
|
}
|
|
UNION{
|
|
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
?contactpoint crm:P2_has_type ?contactpointType .
|
|
?contactpointType rdfs:label ?contactpointTypeLabel .
|
|
}
|
|
UNION{ <${subjectURL}> crm:P107_has_current_or_former_member ?member1 .}
|
|
UNION{ ?member1 crm:P107_has_current_or_former_member <${subjectURL}> .}
|
|
UNION{ <${subjectURL}> crm:P107i_is_current_or_former_member_of ?team .}
|
|
UNION{ ?team crm:P107_has_current_or_former_member <${subjectURL}> .}
|
|
|
|
UNION{ <${subjectURL}> crmpe:PP2i_provides ?service .}
|
|
UNION{ ?service crmpe:PP2_provided_by <${subjectURL}> .}
|
|
|
|
UNION{ <${subjectURL}> crmpe:PP44i_is_maintaining_team_of ?maintained .}
|
|
UNION{ ?maintained crmpe:PP44_has_maintaining_team <${subjectURL}> .}
|
|
}
|