-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathngt.ttl
52 lines (45 loc) · 1.46 KB
/
ngt.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@base <https://www.w3.org/ns/ldt/named-graphs/templates> .
@prefix : <#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix ldt: <https://www.w3.org/ns/ldt#> .
@prefix ct: <https://www.w3.org/ns/ldt/core/templates#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
: a ldt:Ontology, owl:Ontology ;
owl:imports ct:, sp: ;
owl:versionInfo "1.1.4" ;
rdfs:label "Named graph LDT templates" ;
dct:created "2017-11-30T23:43:00+01:00"^^xsd:dateTime ;
vann:preferredNamespaceUri "https://www.w3.org/ns/ldt/named-graphs/templates#" ;
dct:license <http://www.opendatacommons.org/licenses/pddl/1.0/> .
# TEMPLATES
:Document a ldt:Template ;
ldt:extends ct:Document ;
ldt:query :Describe ;
ldt:update :Delete ;
rdfs:label "Document" ;
rdfs:comment "Named graph document resource" ;
rdfs:isDefinedBy : .
# COMMANDS
:Describe a sp:Describe, sp:Query ;
sp:text """DESCRIBE ?this
WHERE
{ GRAPH ?g
{ ?this ?p ?o }
}""" ;
rdfs:label "Describe" ;
rdfs:isDefinedBy : .
:Delete a sp:DeleteWhere, sp:Update ;
sp:text """DELETE WHERE
{
GRAPH ?g {
?this ?p ?o
}
}""" ;
rdfs:label "Delete" ;
rdfs:isDefinedBy : .