Added delete queries
This commit is contained in:
parent
bd3b2f31ea
commit
5008806a8c
1 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
<https://litvinovg.pro/text_structures#compilation> display:hasDeleteQuery """
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
DESCRIBE ?individualURI ?tocElement ?tocItem ?toc
|
||||
WHERE {
|
||||
OPTIONAL {
|
||||
?individualURI ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)* ?tocElement .
|
||||
OPTIONAL {
|
||||
?tocElement ts:hasTOCItem ?tocItem .
|
||||
}
|
||||
}
|
||||
}
|
||||
""" .
|
||||
<https://litvinovg.pro/text_structures#elenphArticle> display:hasDeleteQuery """
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
DESCRIBE ?individualURI ?tocElement ?tocItem ?toc ?excerpt
|
||||
WHERE {
|
||||
OPTIONAL {
|
||||
?individualURI ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)* ?tocElement .
|
||||
OPTIONAL {
|
||||
?tocElement ts:hasTOCItem ?tocItem .
|
||||
}
|
||||
OPTIONAL {
|
||||
?tocElement ts_:hasText ?excerpt .
|
||||
}
|
||||
}
|
||||
}
|
||||
""" .
|
Loading…
Add table
Reference in a new issue