1
|
DEFINE input:inference 'parthenos_rules'
|
2
|
|
3
|
CONSTRUCT {
|
4
|
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
|
5
|
?IDRes a crm:E42_Identifier .
|
6
|
?IDRes rdfs:label ?ID_label .
|
7
|
|
8
|
<${subjectURL}> crm:P102_has_title ?title .
|
9
|
<${subjectURL}> crm:P3_has_note ?description .
|
10
|
<${subjectURL}> a ?type .
|
11
|
<${subjectURL}> rdfs:label ?label .
|
12
|
|
13
|
<${subjectURL}> crm:P129_is_about ?about .
|
14
|
?about a ?aboutType .
|
15
|
?about rdfs:label ?aboutLabel .
|
16
|
|
17
|
<${subjectURL}> crm:P2_has_type ?e55TypeLabel .
|
18
|
|
19
|
<${subjectURL}> crm:P46_is_composed_of ?Col_Part .
|
20
|
<${subjectURL}> crmpe:PP4i_is_object_hosted_by ?host_serv .
|
21
|
<${subjectURL}> crmpe:PP32i_is_curated_by ?curator .
|
22
|
<${subjectURL}> <creator> ?creator .
|
23
|
|
24
|
<${subjectURL}> crm:P72_has_language ?languageLabel .
|
25
|
|
26
|
}
|
27
|
WHERE {
|
28
|
<${subjectURL}> a crm:E78_Collection .
|
29
|
<${subjectURL}> a ?type .
|
30
|
{
|
31
|
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
|
32
|
?IDRes a crm:E42_Identifier .
|
33
|
?IDRes rdfs:label ?ID_label .
|
34
|
}
|
35
|
UNION
|
36
|
{
|
37
|
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
38
|
?titleRes a crm:E41_Appellation .
|
39
|
?titleRes rdfs:label ?title .
|
40
|
}
|
41
|
UNION{
|
42
|
<${subjectURL}> crm:P3_has_note ?description .
|
43
|
}
|
44
|
UNION{
|
45
|
<${subjectURL}> rdfs:label ?label .
|
46
|
}
|
47
|
UNION{
|
48
|
<${subjectURL}> crm:P129_is_about ?about .
|
49
|
?about a ?aboutType .
|
50
|
?about rdfs:label ?aboutLabel .
|
51
|
}
|
52
|
UNION {
|
53
|
<${subjectURL}> crm:P2_has_type ?e55Type .
|
54
|
?e55Type rdfs:label ?e55TypeLabel .
|
55
|
}
|
56
|
UNION{ <${subjectURL}> crm:P46_is_composed_of ?Col_Part .}
|
57
|
UNION{ <${subjectURL}> crmpe:PP4i_is_object_hosted_by ?host_serv .}
|
58
|
UNION{ <${subjectURL}> crmpe:PP32i_is_curated_by ?curator .}
|
59
|
UNION {
|
60
|
<${subjectURL}> crm:P94i_was_created_by ?Creation_event .
|
61
|
?Creation_event crm:P14_carried_out_by ?creator .
|
62
|
}
|
63
|
UNION {
|
64
|
<${subjectURL}> crm:P72_has_language ?language .
|
65
|
?language rdfs:label ?languageLabel .
|
66
|
}
|
67
|
|
68
|
} LIMIT 30000
|