Project

General

Profile

1
#TODO:
2
#1. Complete retrieved information
3
#2. Title can be a literal
4
#3. Do we really need a sparql query for Thing? Digital Object, Dataset, CRM_entity are all Thing...
5

    
6
DEFINE input:inference 'parthenos_rules'
7

    
8
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
9
PREFIX crmdig: <http://www.ics.forth.gr/isl/CRMdig/>
10
PREFIX crmpe: <http://parthenos.d4science.org/CRMext/CRMpe.rdfs/>
11
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
12

    
13
CONSTRUCT {
14
<${subjectURL}> crm:P1_is_identified_by ?title .
15
<${subjectURL}> crm:P3_has_note ?description .
16
<${subjectURL}> a ?type
17
}
18
WHERE {
19
 <${subjectURL}> a crm:E70_Thing .
20
 <${subjectURL}> crm:P1_is_identified_by ?titleRes .
21
 ?titleRes rdfs:label ?title .
22
 <${subjectURL}> crm:P3_has_note ?description .
23
 <${subjectURL}> a ?type .
24
}
25

    
(4-4/8)