Project

General

Profile

« Previous | Next » 

Revision 51789

included custodialhistory in sparql template

View differences:

modules/dnet-parthenos-publisher/trunk/src/main/resources/eu/dnetlib/parthenos/sparql/PE18_Dataset.sparql
33 33
	<${subjectURL}> <creator> ?creator .
34 34
	<${subjectURL}> <creationtime> ?creationtime .
35 35
	<${subjectURL}> <updatetime> ?updatetime .
36
	<${subjectURL}> <custodytime> ?custodytime .
37
	<${subjectURL}> <custodialhistorynote> ?custodialhistoryNote .
36 38
}
37 39
WHERE {
38 40
 <${subjectURL}> a crmpe:PE18_Dataset .
......
105 107
   ?updateEvent crm:P4_has_time-span ?timespanUpdate .
106 108
   ?timespanUpdate crm:P82_at_some_time_within ?updatetime .
107 109
}
110
UNION{
111
   <${subjectURL}> crm:P94i_was_created_by ?custodialhistory .
112
   ?custodialhistory crm:P2_has_type <http://parthenos.d4science.org/handle/Parthenos/REG/Concept/eventtype/custodialhistory> .
113
   ?custodialhistory crm:P3_has_note ?custodialhistoryNote .
114
}
115
UNION{
116
   <${subjectURL}> crm:P94i_was_created_by ?custodialhistory .
117
   ?custodialhistory crm:P2_has_type <http://parthenos.d4science.org/handle/Parthenos/REG/Concept/eventtype/custodialhistory> .
118
   ?custodialhistory crm:P4_has_time-span ?timespanCustody .
119
   ?timespanCustody crm:P82_at_some_time_within ?custodytime .
120
}
108 121
}

Also available in: Unified diff