Project

General

Profile

« Previous | Next » 

Revision 8780

expand the sparql queries to include dcterms:identifier

View differences:

docs/user/metacat/source/ore-model-expansion.rst
210 210

  
211 211
::
212 212

  
213
	SELECT ?derived_metadata
213
	SELECT ?primary_metadata_pid ?derived_metadata_pid
214 214
	WHERE {
215
		?primary_data ore:isDocumentedBy  ?primary_metadata;
216
		              prov:wasDerivedFrom ?derived_data.
217
					  
218
		?derived_data ore:isDocumentedBy ?derived_metadata.
215
		?primary_data		ore:isDocumentedBy	?primary_metadata .
216
		?primary_metadata	dcterms:identifier 	?primary_metadata_pid .
217
		?derived_data		prov:wasDerivedFrom	?primary_data .
218
		?derived_data		ore:isDocumentedBy	?derived_metadata .
219
		?derived_metadata	dcterms:identifier 	?derived_metadata_pid .
219 220
	}
220 221
	
221 222
::

Also available in: Unified diff