Project

General

Profile

« Previous | Next » 

Revision 51607

The availability type must be taken explicitly by URI prefix on types

View differences:

PE1_Service.sparql
10 10
<${subjectURL}> crm:P3_has_note ?description .
11 11
<${subjectURL}> rdfs:label ?label .
12 12
<${subjectURL}> a ?type .
13
<${subjectURL}> crm:P2_has_type ?activityTypeLabel .
13
<${subjectURL}> crm:P2_has_type ?atypeLabel .
14 14

  
15

  
16 15
<${subjectURL}> crmpe:PP2_provided_by ?provider .
17 16
?provider crm:P1_is_identified_by ?providerTitle .
18 17
?provider crm:P3_has_note ?providerDescr .
......
45 44
<${subjectURL}> crmpe:PP15_delivers_on_request ?delivered .
46 45
<${subjectURL}> crmpe:PP42_has_declarative_time ?declTime .
47 46

  
47
<${subjectURL}> <availability> ?availabilityLabel .
48 48

  
49 49
}
50 50
WHERE {
......
61 61
 <${subjectURL}> rdfs:label ?label .
62 62
}
63 63
 UNION{
64
 <${subjectURL}> crm:P2_has_type ?activityType .
65
 ?activityType rdfs:label ?activityTypeLabel .
64
 <${subjectURL}> crm:P2_has_type ?atype .
65
 ?atype rdfs:label ?atypeLabel .
66 66
}
67
UNION{
68
 <${subjectURL}> crm:P2_has_type ?availability .
69
 ?availability rdfs:label ?availabilityLabel .
70
 FILTER(STRSTARTS(STR(?availability), "http://parthenos.d4science.org/handle/Parthenos/REG/Concept/availabilitytype"))
71
}
67 72
UNION {
68 73
<${subjectURL}> crmpe:PP2_provided_by ?provider .
69 74
 ?provider crm:P1_is_identified_by ?providerTitleRes .

Also available in: Unified diff