DEFINE input:inference 'ariadneplus_rules'

CONSTRUCT {
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crm:P1_is_identified_by ?title .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crm:P3_has_note ?description .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> a ?type .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
?provider crm:P1_is_identified_by ?providerTitle .
?provider crm:P3_has_note ?providerDescr .
?provider crm:P76_has_contact_point ?contactpoint .
?contactpoint crm:P2_has_type ?contactpointType .
?contactpoint rdfs:label ?contactpointLabel .
?contactpointType rdfs:label ?contactpointTypeLabel .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP28_has_designated_access_point ?accesspoint .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP1i_is_currently_offered_by ?offerer .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP45_has_competency ?competency .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP4_hosts_object ?object .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP31_uses_curation_plan ?curationplan .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP32_curates ?object2 .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP6_hosts_digital_object ?object3 .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP7_hosts_software_object <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP8_hosts_dataset ?dataset .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP29_uses_access_protocol ?protocol .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP47_has_protocol_type ?protocoltype .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP48_uses_protocol_parameter ?protocolparam .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP46_brokers_access_to ?brokered .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP11_curates_volatile_digital_object ?curatedObj .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP12_curates_volatile_software ?curatedSw .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP13_curates_volatile_dataset ?curatedData .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP15_delivers_on_request ?delivered .

}
WHERE {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> a crmpe:PE1_Service .
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> a ?type .
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crm:P1_is_identified_by ?titleRes .
 ?titleRes rdfs:label ?title .
}
OPTIONAL{
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crm:P3_has_note ?description .
}
 OPTIONAL{
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
}
OPTIONAL {
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
 ?provider crm:P1_is_identified_by ?providerTitleRes .
 ?providerTitleRes rdfs:label ?providerTitle .
}
OPTIONAL {
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
 ?provider crm:P3_has_note ?providerDescr .
}
OPTIONAL {
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
 ?provider crm:P76_has_contact_point ?contactpoint .
?contactpoint rdfs:label ?contactpointLabel .
}
OPTIONAL {
<http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP2_provided_by ?provider .
 ?provider crm:P76_has_contact_point ?contactpoint .
 ?contactpoint crm:P2_has_type ?contactpointType .
?contactpointType rdfs:label ?contactpointTypeLabel .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP28_has_designated_access_point ?accesspoint .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP1i_is_currently_offered_by ?offerer .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP45_has_competency ?competency .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP4_hosts_object ?object .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP31_uses_curation_plan ?curationplan .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP32_curates ?object2 .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP6_hosts_digital_object ?object3 .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP7_hosts_software_object <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP8_hosts_dataset ?dataset .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP29_uses_access_protocol ?protocol .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP47_has_protocol_type ?protocoltype .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP48_uses_protocol_parameter ?protocolparam .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP46_brokers_access_to ?brokered .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP11_curates_volatile_digital_object ?curatedObj .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP12_curates_volatile_software ?curatedSw .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP13_curates_volatile_dataset ?curatedData .}
OPTIONAL {
 <http://ariadneplus.d4science.org/handle/AriadnePlus/REG/Service/ARIADNE%20Visual%20Media%20Service> crmpe:PP15_delivers_on_request ?delivered .}

}