Revision 51231
Added by Alessia Bardi over 6 years ago
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/E55_Type.sparql | ||
---|---|---|
9 | 9 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
10 | 10 |
|
11 | 11 |
CONSTRUCT { |
12 |
?s crm:P1_is_identified_by ?title .
|
|
13 |
?s crm:P3_has_note ?description .
|
|
14 |
?s a ?type
|
|
12 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
13 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
14 |
<${subjectURL}> a ?type
|
|
15 | 15 |
} |
16 | 16 |
WHERE { |
17 | 17 |
|
18 | 18 |
{ |
19 |
?s a crm:E55_Type .
|
|
20 |
?s a ?type .
|
|
19 |
<${subjectURL}> a crm:E55_Type .
|
|
20 |
<${subjectURL}> a ?type .
|
|
21 | 21 |
} |
22 |
OPTIONAL { ?s rdfs:label ?title .}
|
|
23 |
OPTIONAL { ?s crm:P3_has_note ?description .}
|
|
22 |
OPTIONAL { <${subjectURL}> rdfs:label ?title .}
|
|
23 |
OPTIONAL { <${subjectURL}> crm:P3_has_note ?description .}
|
|
24 | 24 |
} |
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE35_Project.sparql | ||
---|---|---|
10 | 10 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
11 | 11 |
|
12 | 12 |
CONSTRUCT { |
13 |
?s crm:P1_is_identified_by ?title .
|
|
14 |
?s crm:P3_has_note ?description .
|
|
15 |
?s a ?type .
|
|
16 |
?s crmpe:PP25_has_maintaining_RI ?ri .
|
|
17 |
?s crmpe:PP43_supported_project_activity ?activity .
|
|
18 |
?s crmpe:PP44_has_maintaining_team ?team .
|
|
13 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
14 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
15 |
<${subjectURL}> a ?type .
|
|
16 |
<${subjectURL}> crmpe:PP25_has_maintaining_RI ?ri .
|
|
17 |
<${subjectURL}> crmpe:PP43_supported_project_activity ?activity .
|
|
18 |
<${subjectURL}> crmpe:PP44_has_maintaining_team ?team .
|
|
19 | 19 |
} |
20 | 20 |
WHERE { |
21 |
?s a crmpe:PE35_Project .
|
|
22 |
?s crm:P1_is_identified_by ?titleRes .
|
|
21 |
<${subjectURL}> a crmpe:PE35_Project .
|
|
22 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
23 | 23 |
?titleRes rdfs:label ?title . |
24 |
?s crm:P3_has_note ?description .
|
|
25 |
?s a ?type .
|
|
26 |
?s crmpe:PP25_has_maintaining_RI ?ri .
|
|
27 |
?s crmpe:PP43_supported_project_activity ?activity .
|
|
28 |
?s crmpe:PP44_has_maintaining_team ?team .
|
|
24 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
25 |
<${subjectURL}> a ?type .
|
|
26 |
<${subjectURL}> crmpe:PP25_has_maintaining_RI ?ri .
|
|
27 |
<${subjectURL}> crmpe:PP43_supported_project_activity ?activity .
|
|
28 |
<${subjectURL}> crmpe:PP44_has_maintaining_team ?team .
|
|
29 | 29 |
} |
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/E70_Thing.sparql | ||
---|---|---|
11 | 11 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
12 | 12 |
|
13 | 13 |
CONSTRUCT { |
14 |
?s crm:P1_is_identified_by ?title .
|
|
15 |
?s crm:P3_has_note ?description .
|
|
16 |
?s a ?type
|
|
14 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
15 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
16 |
<${subjectURL}> a ?type
|
|
17 | 17 |
} |
18 | 18 |
WHERE { |
19 |
?s a crm:E70_Thing .
|
|
20 |
?s crm:P1_is_identified_by ?titleRes .
|
|
19 |
<${subjectURL}> a crm:E70_Thing .
|
|
20 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
21 | 21 |
?titleRes rdfs:label ?title . |
22 |
?s crm:P3_has_note ?description .
|
|
23 |
?s a ?type .
|
|
22 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
23 |
<${subjectURL}> a ?type .
|
|
24 | 24 |
} |
25 | 25 |
|
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE1_Service.sparql | ||
---|---|---|
11 | 11 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
12 | 12 |
|
13 | 13 |
CONSTRUCT { |
14 |
?s crm:P1_is_identified_by ?title .
|
|
15 |
?s crm:P3_has_note ?description .
|
|
16 |
?s a ?type .
|
|
17 |
?s crmpe:PP2_provided_by ?provider .
|
|
14 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
15 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
16 |
<${subjectURL}> a ?type .
|
|
17 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
18 | 18 |
?provider crm:P1_is_identified_by ?providerTitle . |
19 | 19 |
?provider crm:P3_has_note ?providerDescr . |
20 | 20 |
?provider crm:P76_has_contact_point ?contactpoint . |
21 | 21 |
?contactpoint crm:P2_has_type ?contactpointType . |
22 | 22 |
?contactpoint rdfs:label ?contactpointLabel . |
23 | 23 |
?contactpointType rdfs:label ?contactpointTypeLabel . |
24 |
?s crmpe:PP28_has_designated_access_point ?accesspoint .
|
|
25 |
?s crmpe:PP1i_is_currently_offered_by ?offerer .
|
|
26 |
?s crmpe:PP45_has_competency ?competency .
|
|
27 |
?s crmpe:PP4_hosts_object ?object .
|
|
28 |
?s crmpe:PP31_uses_curation_plan ?curationplan .
|
|
29 |
?s crmpe:PP32_curates ?object2 .
|
|
30 |
?s crmpe:PP6_hosts_digital_object ?object3 .
|
|
31 |
?s crmpe:PP7_hosts_software_object ?sw .
|
|
32 |
?s crmpe:PP8_hosts_dataset ?dataset .
|
|
33 |
?s crmpe:PP29_uses_access_protocol ?protocol .
|
|
34 |
?s crmpe:PP47_has_protocol_type ?protocoltype .
|
|
35 |
?s crmpe:PP48_uses_protocol_parameter ?protocolparam .
|
|
36 |
?s crmpe:PP46_brokers_access_to ?brokered .
|
|
37 |
?s crmpe:PP11_curates_volatile_digital_object ?curatedObj .
|
|
38 |
?s crmpe:PP12_curates_volatile_software ?curatedSw .
|
|
39 |
?s crmpe:PP13_curates_volatile_dataset ?curatedData .
|
|
40 |
?s crmpe:PP15_delivers_on_request ?delivered .
|
|
24 |
<${subjectURL}> crmpe:PP28_has_designated_access_point ?accesspoint .
|
|
25 |
<${subjectURL}> crmpe:PP1i_is_currently_offered_by ?offerer .
|
|
26 |
<${subjectURL}> crmpe:PP45_has_competency ?competency .
|
|
27 |
<${subjectURL}> crmpe:PP4_hosts_object ?object .
|
|
28 |
<${subjectURL}> crmpe:PP31_uses_curation_plan ?curationplan .
|
|
29 |
<${subjectURL}> crmpe:PP32_curates ?object2 .
|
|
30 |
<${subjectURL}> crmpe:PP6_hosts_digital_object ?object3 .
|
|
31 |
<${subjectURL}> crmpe:PP7_hosts_software_object <${subjectURL}>w .
|
|
32 |
<${subjectURL}> crmpe:PP8_hosts_dataset ?dataset .
|
|
33 |
<${subjectURL}> crmpe:PP29_uses_access_protocol ?protocol .
|
|
34 |
<${subjectURL}> crmpe:PP47_has_protocol_type ?protocoltype .
|
|
35 |
<${subjectURL}> crmpe:PP48_uses_protocol_parameter ?protocolparam .
|
|
36 |
<${subjectURL}> crmpe:PP46_brokers_access_to ?brokered .
|
|
37 |
<${subjectURL}> crmpe:PP11_curates_volatile_digital_object ?curatedObj .
|
|
38 |
<${subjectURL}> crmpe:PP12_curates_volatile_software ?curatedSw .
|
|
39 |
<${subjectURL}> crmpe:PP13_curates_volatile_dataset ?curatedData .
|
|
40 |
<${subjectURL}> crmpe:PP15_delivers_on_request ?delivered .
|
|
41 | 41 |
|
42 | 42 |
} |
43 | 43 |
WHERE { |
44 |
?s a crmpe:PE1_Service .
|
|
45 |
?s a ?type .
|
|
44 |
<${subjectURL}> a crmpe:PE1_Service .
|
|
45 |
<${subjectURL}> a ?type .
|
|
46 | 46 |
OPTIONAL { |
47 |
?s crm:P1_is_identified_by ?titleRes .
|
|
47 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
48 | 48 |
?titleRes rdfs:label ?title . |
49 | 49 |
} |
50 | 50 |
OPTIONAL{ |
51 |
?s crm:P3_has_note ?description .
|
|
51 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
52 | 52 |
} |
53 | 53 |
OPTIONAL{ |
54 |
?s crmpe:PP2_provided_by ?provider .
|
|
54 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
55 | 55 |
} |
56 | 56 |
OPTIONAL { |
57 |
?s crmpe:PP2_provided_by ?provider .
|
|
57 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
58 | 58 |
?provider crm:P1_is_identified_by ?providerTitleRes . |
59 | 59 |
?providerTitleRes rdfs:label ?providerTitle . |
60 | 60 |
} |
61 | 61 |
OPTIONAL { |
62 |
?s crmpe:PP2_provided_by ?provider .
|
|
62 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
63 | 63 |
?provider crm:P3_has_note ?providerDescr . |
64 | 64 |
} |
65 | 65 |
OPTIONAL { |
66 |
?s crmpe:PP2_provided_by ?provider .
|
|
66 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
67 | 67 |
?provider crm:P76_has_contact_point ?contactpoint . |
68 | 68 |
?contactpoint rdfs:label ?contactpointLabel . |
69 | 69 |
} |
70 | 70 |
OPTIONAL { |
71 |
?s crmpe:PP2_provided_by ?provider .
|
|
71 |
<${subjectURL}> crmpe:PP2_provided_by ?provider .
|
|
72 | 72 |
?provider crm:P76_has_contact_point ?contactpoint . |
73 | 73 |
?contactpoint crm:P2_has_type ?contactpointType . |
74 | 74 |
?contactpointType rdfs:label ?contactpointTypeLabel .} |
75 | 75 |
OPTIONAL { |
76 |
?s crmpe:PP28_has_designated_access_point ?accesspoint .}
|
|
76 |
<${subjectURL}> crmpe:PP28_has_designated_access_point ?accesspoint .}
|
|
77 | 77 |
OPTIONAL { |
78 |
?s crmpe:PP1i_is_currently_offered_by ?offerer .}
|
|
78 |
<${subjectURL}> crmpe:PP1i_is_currently_offered_by ?offerer .}
|
|
79 | 79 |
OPTIONAL { |
80 |
?s crmpe:PP45_has_competency ?competency .}
|
|
80 |
<${subjectURL}> crmpe:PP45_has_competency ?competency .}
|
|
81 | 81 |
OPTIONAL { |
82 |
?s crmpe:PP4_hosts_object ?object .}
|
|
82 |
<${subjectURL}> crmpe:PP4_hosts_object ?object .}
|
|
83 | 83 |
OPTIONAL { |
84 |
?s crmpe:PP31_uses_curation_plan ?curationplan .}
|
|
84 |
<${subjectURL}> crmpe:PP31_uses_curation_plan ?curationplan .}
|
|
85 | 85 |
OPTIONAL { |
86 |
?s crmpe:PP32_curates ?object2 .}
|
|
86 |
<${subjectURL}> crmpe:PP32_curates ?object2 .}
|
|
87 | 87 |
OPTIONAL { |
88 |
?s crmpe:PP6_hosts_digital_object ?object3 .}
|
|
88 |
<${subjectURL}> crmpe:PP6_hosts_digital_object ?object3 .}
|
|
89 | 89 |
OPTIONAL { |
90 |
?s crmpe:PP7_hosts_software_object ?sw .}
|
|
90 |
<${subjectURL}> crmpe:PP7_hosts_software_object <${subjectURL}>w .}
|
|
91 | 91 |
OPTIONAL { |
92 |
?s crmpe:PP8_hosts_dataset ?dataset .}
|
|
92 |
<${subjectURL}> crmpe:PP8_hosts_dataset ?dataset .}
|
|
93 | 93 |
OPTIONAL { |
94 |
?s crmpe:PP29_uses_access_protocol ?protocol .}
|
|
94 |
<${subjectURL}> crmpe:PP29_uses_access_protocol ?protocol .}
|
|
95 | 95 |
OPTIONAL { |
96 |
?s crmpe:PP47_has_protocol_type ?protocoltype .}
|
|
96 |
<${subjectURL}> crmpe:PP47_has_protocol_type ?protocoltype .}
|
|
97 | 97 |
OPTIONAL { |
98 |
?s crmpe:PP48_uses_protocol_parameter ?protocolparam .}
|
|
98 |
<${subjectURL}> crmpe:PP48_uses_protocol_parameter ?protocolparam .}
|
|
99 | 99 |
OPTIONAL { |
100 |
?s crmpe:PP46_brokers_access_to ?brokered .}
|
|
100 |
<${subjectURL}> crmpe:PP46_brokers_access_to ?brokered .}
|
|
101 | 101 |
OPTIONAL { |
102 |
?s crmpe:PP11_curates_volatile_digital_object ?curatedObj .}
|
|
102 |
<${subjectURL}> crmpe:PP11_curates_volatile_digital_object ?curatedObj .}
|
|
103 | 103 |
OPTIONAL { |
104 |
?s crmpe:PP12_curates_volatile_software ?curatedSw .}
|
|
104 |
<${subjectURL}> crmpe:PP12_curates_volatile_software ?curatedSw .}
|
|
105 | 105 |
OPTIONAL { |
106 |
?s crmpe:PP13_curates_volatile_dataset ?curatedData .}
|
|
106 |
<${subjectURL}> crmpe:PP13_curates_volatile_dataset ?curatedData .}
|
|
107 | 107 |
OPTIONAL { |
108 |
?s crmpe:PP15_delivers_on_request ?delivered .}
|
|
108 |
<${subjectURL}> crmpe:PP15_delivers_on_request ?delivered .}
|
|
109 | 109 |
|
110 | 110 |
} |
111 | 111 |
|
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/D1_Digital_Object.sparql | ||
---|---|---|
11 | 11 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
12 | 12 |
|
13 | 13 |
CONSTRUCT { |
14 |
?s crm:P1_is_identified_by ?title .
|
|
15 |
?s crm:P3_has_note ?description .
|
|
16 |
?s a ?type .
|
|
14 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
15 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
16 |
<${subjectURL}> a ?type .
|
|
17 | 17 |
|
18 |
?s crmpe:PP16_has_persistent_digital_object_part ?obj1 .
|
|
19 |
?s crmpe:PP17_has_snapshot ?obj2 .
|
|
20 |
?s crmpe:PP18_has_digital_object_part ?obj3 .
|
|
18 |
<${subjectURL}> crmpe:PP16_has_persistent_digital_object_part ?obj1 .
|
|
19 |
<${subjectURL}> crmpe:PP17_has_snapshot ?obj2 .
|
|
20 |
<${subjectURL}> crmpe:PP18_has_digital_object_part ?obj3 .
|
|
21 | 21 |
|
22 |
?s crmpe:PP19_has_persistent_software_part ?sw1 .
|
|
23 |
?s crmpe:PP21_has_software_part ?sw2 .
|
|
24 |
?s crmpe:PP22_has_release ?sw3 .
|
|
22 |
<${subjectURL}> crmpe:PP19_has_persistent_software_part <${subjectURL}>w1 .
|
|
23 |
<${subjectURL}> crmpe:PP21_has_software_part <${subjectURL}>w2 .
|
|
24 |
<${subjectURL}> crmpe:PP22_has_release <${subjectURL}>w3 .
|
|
25 | 25 |
|
26 |
?s crmpe:PP23i_is_dataset_part_of ?container .
|
|
27 |
?s crm:P129_is_about ?about .
|
|
28 |
?s crmpe:PP20_has_persistent_dataset_part ?d1 .
|
|
29 |
?s crmpe:PP39_is_metadata_for ?d2 .
|
|
30 |
?s crmpe:PP23_has_dataset_part ?d3 .
|
|
31 |
?s crmpe:PP24_has_dataset_snapshot ?d4 .
|
|
32 |
?s crmpe:PP41_is_index_of ?d5 .
|
|
26 |
<${subjectURL}> crmpe:PP23i_is_dataset_part_of ?container .
|
|
27 |
<${subjectURL}> crm:P129_is_about ?about .
|
|
28 |
<${subjectURL}> crmpe:PP20_has_persistent_dataset_part ?d1 .
|
|
29 |
<${subjectURL}> crmpe:PP39_is_metadata_for ?d2 .
|
|
30 |
<${subjectURL}> crmpe:PP23_has_dataset_part ?d3 .
|
|
31 |
<${subjectURL}> crmpe:PP24_has_dataset_snapshot ?d4 .
|
|
32 |
<${subjectURL}> crmpe:PP41_is_index_of ?d5 .
|
|
33 | 33 |
|
34 | 34 |
} |
35 | 35 |
WHERE { |
36 | 36 |
{ |
37 |
?s a crmdig:D1_Digital_Object .
|
|
38 |
?s a ?type .
|
|
37 |
<${subjectURL}> a crmdig:D1_Digital_Object .
|
|
38 |
<${subjectURL}> a ?type .
|
|
39 | 39 |
} |
40 | 40 |
OPTIONAL |
41 | 41 |
{ |
42 |
?s crm:P1_is_identified_by ?titleRes .
|
|
42 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
43 | 43 |
?titleRes rdfs:label ?title . |
44 | 44 |
} |
45 | 45 |
OPTIONAL |
46 | 46 |
{ |
47 |
?s crm:P3_has_note ?description .
|
|
47 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
48 | 48 |
} |
49 | 49 |
|
50 |
OPTIONAL{?s crmpe:PP16_has_persistent_digital_object_part ?obj1 .}
|
|
51 |
OPTIONAL{?s crmpe:PP17_has_snapshot ?obj2 .}
|
|
52 |
OPTIONAL{?s crmpe:PP18_has_digital_object_part ?obj3 .}
|
|
50 |
OPTIONAL{<${subjectURL}> crmpe:PP16_has_persistent_digital_object_part ?obj1 .}
|
|
51 |
OPTIONAL{<${subjectURL}> crmpe:PP17_has_snapshot ?obj2 .}
|
|
52 |
OPTIONAL{<${subjectURL}> crmpe:PP18_has_digital_object_part ?obj3 .}
|
|
53 | 53 |
|
54 |
OPTIONAL{?s crmpe:PP19_has_persistent_software_part ?sw1 .}
|
|
55 |
OPTIONAL{?s crmpe:PP21_has_software_part ?sw2 .}
|
|
56 |
OPTIONAL{?s crmpe:PP22_has_release ?sw3 .}
|
|
54 |
OPTIONAL{<${subjectURL}> crmpe:PP19_has_persistent_software_part <${subjectURL}>w1 .}
|
|
55 |
OPTIONAL{<${subjectURL}> crmpe:PP21_has_software_part <${subjectURL}>w2 .}
|
|
56 |
OPTIONAL{<${subjectURL}> crmpe:PP22_has_release <${subjectURL}>w3 .}
|
|
57 | 57 |
|
58 |
OPTIONAL{?s crmpe:PP23i_is_dataset_part_of ?container .}
|
|
59 |
OPTIONAL{?s crm:P129_is_about ?about .}
|
|
60 |
OPTIONAL{?s crmpe:PP20_has_persistent_dataset_part ?d1 .}
|
|
61 |
OPTIONAL{?s crmpe:PP39_is_metadata_for ?d2 .}
|
|
62 |
OPTIONAL{?s crmpe:PP23_has_dataset_part ?d3 .}
|
|
63 |
OPTIONAL{?s crmpe:PP24_has_dataset_snapshot ?d4 .}
|
|
64 |
OPTIONAL{?s crmpe:PP41_is_index_of ?d5 .}
|
|
58 |
OPTIONAL{<${subjectURL}> crmpe:PP23i_is_dataset_part_of ?container .}
|
|
59 |
OPTIONAL{<${subjectURL}> crm:P129_is_about ?about .}
|
|
60 |
OPTIONAL{<${subjectURL}> crmpe:PP20_has_persistent_dataset_part ?d1 .}
|
|
61 |
OPTIONAL{<${subjectURL}> crmpe:PP39_is_metadata_for ?d2 .}
|
|
62 |
OPTIONAL{<${subjectURL}> crmpe:PP23_has_dataset_part ?d3 .}
|
|
63 |
OPTIONAL{<${subjectURL}> crmpe:PP24_has_dataset_snapshot ?d4 .}
|
|
64 |
OPTIONAL{<${subjectURL}> crmpe:PP41_is_index_of ?d5 .}
|
|
65 | 65 |
} |
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/E39_Actor.sparql | ||
---|---|---|
10 | 10 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
11 | 11 |
|
12 | 12 |
CONSTRUCT { |
13 |
?s crm:P1_is_identified_by ?title .
|
|
14 |
?s crm:P3_has_note ?description .
|
|
15 |
?s a ?type .
|
|
16 |
?s crm:P76_has_contact_point ?contactpoint .
|
|
13 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
14 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
15 |
<${subjectURL}> a ?type .
|
|
16 |
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
17 | 17 |
?contactpoint crm:P2_has_type ?contactpointType . |
18 | 18 |
?contactpoint rdfs:label ?contactpointLabel . |
19 | 19 |
?contactpointType rdfs:label ?contactpointTypeLabel . |
20 | 20 |
} |
21 | 21 |
WHERE { |
22 |
?s a crm:E39_Actor .
|
|
23 |
?s a ?type .
|
|
22 |
<${subjectURL}> a crm:E39_Actor .
|
|
23 |
<${subjectURL}> a ?type .
|
|
24 | 24 |
OPTIONAL{ |
25 |
?s crm:P1_is_identified_by ?titleRes .
|
|
25 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
26 | 26 |
?titleRes rdfs:label ?title . |
27 | 27 |
} |
28 | 28 |
OPTIONAL{ |
29 |
?s crm:P3_has_note ?description .
|
|
29 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
30 | 30 |
} |
31 | 31 |
OPTIONAL{ |
32 |
?s crm:P76_has_contact_point ?contactpoint .
|
|
32 |
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
33 | 33 |
?contactpoint rdfs:label ?contactpointLabel . |
34 | 34 |
} |
35 | 35 |
OPTIONAL{ |
36 |
?s crm:P76_has_contact_point ?contactpoint .
|
|
36 |
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
|
|
37 | 37 |
?contactpoint crm:P2_has_type ?contactpointType . |
38 | 38 |
?contactpointType rdfs:label ?contactpointTypeLabel . |
39 | 39 |
} |
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE28_Curation_Plan.sparql | ||
---|---|---|
10 | 10 |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
11 | 11 |
|
12 | 12 |
CONSTRUCT { |
13 |
?s crm:P1_is_identified_by ?title .
|
|
14 |
?s crm:P3_has_note ?description .
|
|
15 |
?s a ?type
|
|
13 |
<${subjectURL}> crm:P1_is_identified_by ?title .
|
|
14 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
15 |
<${subjectURL}> a ?type
|
|
16 | 16 |
} |
17 | 17 |
WHERE { |
18 |
?s a crmpe:PE28_Curation_Plan .
|
|
19 |
?s crm:P1_is_identified_by ?titleRes .
|
|
18 |
<${subjectURL}> a crmpe:PE28_Curation_Plan .
|
|
19 |
<${subjectURL}> crm:P1_is_identified_by ?titleRes .
|
|
20 | 20 |
?titleRes rdfs:label ?title . |
21 |
?s crm:P3_has_note ?description .
|
|
22 |
?s a ?type .
|
|
21 |
<${subjectURL}> crm:P3_has_note ?description .
|
|
22 |
<${subjectURL}> a ?type .
|
|
23 | 23 |
} |
Also available in: Unified diff
sparql queries are now freemarker templates where the subjectURL can be injected