Project

General

Profile

« Previous | Next » 

Revision 52221

Added Identifier to all sparql queries

View differences:

modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/E78_Collection.sparql
1 1
DEFINE input:inference 'parthenos_rules'
2 2

  
3 3
CONSTRUCT {
4
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
5
?IDRes a crm:E42_Identifier .
6
?IDRes rdfs:label ?ID_label .
7

  
4 8
	<${subjectURL}> crm:P1_is_identified_by ?title .
5 9
	<${subjectURL}> crm:P3_has_note ?description .
6 10
	<${subjectURL}> a ?type .
......
23 27
WHERE {
24 28
 <${subjectURL}> a crm:E78_Collection .
25 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
26 36
{
27 37
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
28 38
 ?titleRes a crm:E41_Appellation .
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/D14_Software.sparql
3 3
DEFINE input:inference 'parthenos_rules'
4 4

  
5 5
CONSTRUCT {
6
	<${subjectURL}> crm:P1_is_identified_by ?IDRes .
7
	?IDRes a crm:E42_Identifier .
8
	?IDRes rdfs:label ?ID_label .
9

  
6 10
	<${subjectURL}> crm:P1_is_identified_by ?title .
7 11
	<${subjectURL}> crm:P3_has_note ?description .
8 12
	<${subjectURL}> a ?type .
......
28 32
WHERE {
29 33
 <${subjectURL}> a crmdig:D14_Software .
30 34
 <${subjectURL}> a ?type .
35
  {
36
  <${subjectURL}> crm:P1_is_identified_by ?IDRes .
37
  ?IDRes a crm:E42_Identifier .
38
  ?IDRes rdfs:label ?ID_label .
39
  }
40
  UNION
31 41
{
32 42
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
33 43
 ?titleRes a crm:E41_Appellation .
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE18_Dataset.sparql
3 3
DEFINE input:inference 'parthenos_rules'
4 4

  
5 5
CONSTRUCT {
6
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
7
?IDRes a crm:E42_Identifier .
8
?IDRes rdfs:label ?ID_label .
9

  
6 10
	<${subjectURL}> crm:P1_is_identified_by ?title .
7 11
	<${subjectURL}> crm:P3_has_note ?description .
8 12
	<${subjectURL}> a ?type .
......
39 43
WHERE {
40 44
 <${subjectURL}> a crmpe:PE18_Dataset .
41 45
 <${subjectURL}> a ?type .
46
   {
47
   <${subjectURL}> crm:P1_is_identified_by ?IDRes .
48
   ?IDRes a crm:E42_Identifier .
49
   ?IDRes rdfs:label ?ID_label .
50
   }
51
   UNION
42 52
{
43 53
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
44 54
 ?titleRes a crm:E41_Appellation .
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE35_Project.sparql
1 1
DEFINE input:inference 'parthenos_rules'
2 2

  
3 3
CONSTRUCT {
4
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
5
?IDRes a crm:E42_Identifier .
6
?IDRes rdfs:label ?ID_label .
7

  
4 8
 <${subjectURL}> crm:P1_is_identified_by ?title .
5 9
 <${subjectURL}> crm:P3_has_note ?description .
6 10
 <${subjectURL}> a ?type .
......
20 24
WHERE {
21 25
 <${subjectURL}> a crmpe:PE35_Project .
22 26
 <${subjectURL}> a ?type .
27
   {
28
   <${subjectURL}> crm:P1_is_identified_by ?IDRes .
29
   ?IDRes a crm:E42_Identifier .
30
   ?IDRes rdfs:label ?ID_label .
31
   }
32
   UNION
23 33
 {
24 34
  <${subjectURL}> crm:P1_is_identified_by ?titleRes .
25 35
  ?titleRes a crm:E41_Appellation .
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE1_Service.sparql
1 1
DEFINE input:inference 'parthenos_rules'
2 2

  
3 3
CONSTRUCT {
4
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
5
?IDRes a crm:E42_Identifier .
6
?IDRes rdfs:label ?ID_label .
7

  
4 8
<${subjectURL}> crm:P1_is_identified_by ?title .
5 9
<${subjectURL}> crm:P3_has_note ?description .
6 10
<${subjectURL}> rdfs:label ?label .
......
47 51
WHERE {
48 52
 <${subjectURL}> a crmpe:PE1_Service .
49 53
 <${subjectURL}> a ?type .
54
   {
55
   <${subjectURL}> crm:P1_is_identified_by ?IDRes .
56
   ?IDRes a crm:E42_Identifier .
57
   ?IDRes rdfs:label ?ID_label .
58
   }
59
   UNION
50 60
{
51 61
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
52 62
 ?titleRes a crm:E41_Appellation .
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/E39_Actor.sparql
1 1
DEFINE input:inference 'parthenos_rules'
2 2

  
3 3
CONSTRUCT {
4
<${subjectURL}> rdfs:label ?label .
5
<${subjectURL}> a ?type .
6
<${subjectURL}> crm:P2_has_type ?e55TypeLabel .
7

  
8
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
9
?IDRes a crm:E42_Identifier .
10
?IDRes rdfs:label ?ID_label .
11

  
4 12
<${subjectURL}> crm:P1_is_identified_by ?title .
5 13
<${subjectURL}> crm:P3_has_note ?description .
6
<${subjectURL}> a ?type .
7
<${subjectURL}> rdfs:label ?label .
8 14

  
9
<${subjectURL}> crm:P2_has_type ?e55TypeLabel .
10

  
11 15
<${subjectURL}> crm:P76_has_contact_point ?contactpoint .
12 16
?contactpoint crm:P2_has_type ?contactpointType .
13 17
?contactpoint rdfs:label ?contactpointLabel .
......
22 26
WHERE {
23 27
 <${subjectURL}> a crm:E39_Actor .
24 28
 <${subjectURL}> a ?type .
29
 {
30
 <${subjectURL}> crm:P1_is_identified_by ?IDRes .
31
 ?IDRes a crm:E42_Identifier .
32
 ?IDRes rdfs:label ?ID_label .
33
 }
34
 UNION
25 35
{
26 36
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
27 37
 ?titleRes a crm:E41_Appellation .
......
33 43
 <${subjectURL}> crm:P2_has_type ?e55Type .
34 44
 ?e55Type rdfs:label ?e55TypeLabel .
35 45
}
36
UNION {
37
 <${subjectURL}> crmpe:PP2_provided_by ?provider .
38
 ?provider crm:P3_has_note ?providerDescr .
39
}
40 46
 UNION{
41 47
 <${subjectURL}> crm:P76_has_contact_point ?contactpoint .
42 48
 ?contactpoint rdfs:label ?contactpointLabel .
......
53 59

  
54 60
 UNION{ <${subjectURL}> crmpe:PP2i_provides ?service .}
55 61
 UNION{ ?service crmpe:PP2_provided_by <${subjectURL}> .}
62

  
56 63
 UNION{ <${subjectURL}> crmpe:PP44i_is_maintaining_team_of ?maintained .}
57 64
 UNION{ ?maintained crmpe:PP44_has_maintaining_team <${subjectURL}> .}
58 65
}
modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE28_Curation_Plan.sparql
1 1
DEFINE input:inference 'parthenos_rules'
2 2

  
3 3
CONSTRUCT {
4
<${subjectURL}> crm:P1_is_identified_by ?IDRes .
5
?IDRes a crm:E42_Identifier .
6
?IDRes rdfs:label ?ID_label .
7

  
4 8
<${subjectURL}> crm:P1_is_identified_by ?title .
5 9
<${subjectURL}> crm:P3_has_note ?description .
6 10
<${subjectURL}> a ?type .
......
14 18
WHERE {
15 19
 <${subjectURL}> a crmpe:PE28_Curation_Plan .
16 20
  <${subjectURL}> a ?type .
21
    {
22
    <${subjectURL}> crm:P1_is_identified_by ?IDRes .
23
    ?IDRes a crm:E42_Identifier .
24
    ?IDRes rdfs:label ?ID_label .
25
    }
26
    UNION
17 27
{
18 28
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
19 29
 ?titleRes a crm:E41_Appellation .

Also available in: Unified diff