Project

General

Profile

« Previous | Next » 

Revision 51231

sparql queries are now freemarker templates where the subjectURL can be injected

View differences:

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