Added elenph delete queries
This commit is contained in:
parent
272a3514db
commit
b36ec03b04
1 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
@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 .
|
||||
}
|
||||
}
|
||||
}
|
||||
""" .
|
||||
|
||||
<https://litvinovg.pro/text_structures#elenphExcerpt> display:hasDeleteQuery """
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
DESCRIBE ?individualURI ?tocElement
|
||||
WHERE
|
||||
{
|
||||
?tocElement ts:hasText ?individualURI .
|
||||
NOT EXISTS {?tocElement ts:hasTOCItem ?tocItem }
|
||||
}
|
||||
""" .
|
Loading…
Add table
Reference in a new issue