Improved article delete query
This commit is contained in:
parent
1b04a58afc
commit
88244a461d
1 changed files with 8 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
""" .
|
""" .
|
||||||
<https://litvinovg.pro/text_structures#elenphArticle> display:hasDeleteQuery """
|
<https://litvinovg.pro/text_structures#elenphArticle> display:hasDeleteQuery """
|
||||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||||
DESCRIBE ?individualURI ?tocElement ?tocItem ?toc ?excerpt
|
DESCRIBE ?individualURI ?tocElement ?tocItem ?toc ?excerpt ?author ?organization
|
||||||
WHERE {
|
WHERE {
|
||||||
OPTIONAL {
|
OPTIONAL {
|
||||||
?individualURI ts:hasTOC ?toc .
|
?individualURI ts:hasTOC ?toc .
|
||||||
|
@ -23,7 +23,13 @@
|
||||||
?tocElement ts:hasTOCItem ?tocItem .
|
?tocElement ts:hasTOCItem ?tocItem .
|
||||||
}
|
}
|
||||||
OPTIONAL {
|
OPTIONAL {
|
||||||
?tocElement ts_:hasText ?excerpt .
|
?tocElement ts:hasText ?excerpt .
|
||||||
|
OPTIONAL {
|
||||||
|
?excerpt ts:hasAuthor ?author .
|
||||||
|
OPTIONAL {
|
||||||
|
?author ts:affiliatedWith ?organization .
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue