1
|
# NOTE: includes software, dataset
|
2
|
|
3
|
DEFINE input:inference 'parthenos_rules'
|
4
|
|
5
|
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
|
6
|
PREFIX crmdig: <http://www.ics.forth.gr/isl/CRMdig/>
|
7
|
PREFIX crmpe: <http://parthenos.d4science.org/CRMext/CRMpe.rdfs/>
|
8
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
9
|
|
10
|
CONSTRUCT {
|
11
|
<${subjectURL}> crm:P1_is_identified_by ?title .
|
12
|
<${subjectURL}> crm:P3_has_note ?description .
|
13
|
<${subjectURL}> a ?type .
|
14
|
<${subjectURL}> rdfs:label ?label .
|
15
|
|
16
|
<${subjectURL}> crm:P129_is_about ?about .
|
17
|
?about a ?aboutType .
|
18
|
?about rdfs:label ?aboutLabel .
|
19
|
|
20
|
<${subjectURL}> crm:P2_has_type ?e55Type .
|
21
|
?e55Type rdfs:label ?e55Type .
|
22
|
|
23
|
|
24
|
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
25
|
?provider crm:P1_is_identified_by ?providerTitle .
|
26
|
?provider crm:P3_has_note ?providerDescr .
|
27
|
|
28
|
<${subjectURL}> crmpe:PP8i_is_dataset_hosted_by ?host .
|
29
|
<${subjectURL}> crmpe:PP32i_is_curated_by ?curator .
|
30
|
|
31
|
<${subjectURL}> crmpe:PP23i_is_dataset_part_of ?container .
|
32
|
<${subjectURL}> crmpe:PP23_has_dataset_part ?d3 .
|
33
|
|
34
|
<${subjectURL}> crmpe:PP20_has_persistent_dataset_part ?d1 .
|
35
|
<${subjectURL}> crmpe:PP39_is_metadata_for ?d2 .
|
36
|
|
37
|
<${subjectURL}> crmpe:PP24_has_dataset_snapshot ?d4 .
|
38
|
<${subjectURL}> crmpe:PP41_is_index_of ?d5 .
|
39
|
<${subjectURL}> crmpe:PP31_uses_curation_plan ?curationplan .
|
40
|
}
|
41
|
WHERE {
|
42
|
<${subjectURL}> a crmpe:PE18_Dataset .
|
43
|
<${subjectURL}> a ?type .
|
44
|
{
|
45
|
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
46
|
?titleRes rdfs:label ?title .
|
47
|
}
|
48
|
UNION{
|
49
|
<${subjectURL}> crm:P3_has_note ?description .
|
50
|
}
|
51
|
UNION{
|
52
|
<${subjectURL}> rdfs:label ?label .
|
53
|
}
|
54
|
UNION{
|
55
|
<${subjectURL}> crm:P129_is_about ?about .
|
56
|
?about a ?aboutType .
|
57
|
?about rdfs:label ?aboutLabel .
|
58
|
}
|
59
|
UNION {
|
60
|
<${subjectURL}> crm:P2_has_type ?e55Type .
|
61
|
?e55Type rdfs:label ?e55Type .
|
62
|
}
|
63
|
UNION {
|
64
|
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
65
|
?provider crm:P1_is_identified_by ?providerTitleRes .
|
66
|
?providerTitleRes rdfs:label ?providerTitle .
|
67
|
}
|
68
|
UNION {
|
69
|
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
70
|
?provider crm:P3_has_note ?providerDescr .
|
71
|
}
|
72
|
UNION{ <${subjectURL}> crmpe:PP8i_is_dataset_hosted_by ?host . }
|
73
|
UNION{ <${subjectURL}> crmpe:PP32i_is_curated_by ?curator .}
|
74
|
|
75
|
UNION{<${subjectURL}> crmpe:PP23i_is_dataset_part_of ?container .}
|
76
|
UNION{<${subjectURL}> crmpe:PP20_has_persistent_dataset_part ?d1 .}
|
77
|
UNION{<${subjectURL}> crmpe:PP39_is_metadata_for ?d2 .}
|
78
|
UNION{<${subjectURL}> crmpe:PP23_has_dataset_part ?d3 .}
|
79
|
UNION{<${subjectURL}> crmpe:PP24_has_dataset_snapshot ?d4 .}
|
80
|
UNION{<${subjectURL}> crmpe:PP41_is_index_of ?d5 .}
|
81
|
UNION{<${subjectURL}> crmpe:PP31_uses_curation_plan ?curationplan .}
|
82
|
}
|