Fixed margin top lists on search result page.
Rename prefix
This commit is contained in:
parent
624bb10474
commit
88443e073f
2 changed files with 40 additions and 32 deletions
|
@ -10,14 +10,14 @@
|
|||
:hasTargetField "ALLTEXT" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX ts_: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
SELECT DISTINCT ?value
|
||||
WHERE {
|
||||
?uri rdf:type ts_:elenphArticle .
|
||||
?uri ts_:hasTOC ?toc .
|
||||
?toc (ts_:hasTOCItem/ts_:pointsTo)+/ts_:hasText ?elenphExcerpt .
|
||||
VALUES ?property { ts_:works ts_:bibliography ts_:htmlExcerpt ts_:keywords }
|
||||
?uri rdf:type ts:elenphArticle .
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?elenphExcerpt .
|
||||
VALUES ?property { ts:works ts:bibliography ts:htmlExcerpt ts:keywords }
|
||||
?elenphExcerpt ?property ?value .
|
||||
}
|
||||
""" .
|
||||
|
@ -43,20 +43,20 @@
|
|||
:hasTargetField "text" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX ts_: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
SELECT DISTINCT ?htmlExcerpt
|
||||
WHERE {
|
||||
{
|
||||
?uri rdf:type ts_:textExcerpt .
|
||||
?uri ts_:htmlExcerpt ?htmlExcerpt .
|
||||
?uri rdf:type ts:textExcerpt .
|
||||
?uri ts:htmlExcerpt ?htmlExcerpt .
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?uri rdf:type ts_:publication .
|
||||
?uri ts_:hasTOC ?toc .
|
||||
?toc (ts_:hasTOCItem/ts_:pointsTo)+/ts_:hasText ?artExcerpt .
|
||||
?artExcerpt ts_:htmlExcerpt ?htmlExcerpt .
|
||||
?uri rdf:type ts:publication .
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?artExcerpt .
|
||||
?artExcerpt ts:htmlExcerpt ?htmlExcerpt .
|
||||
}
|
||||
}
|
||||
""" .
|
||||
|
@ -68,21 +68,21 @@
|
|||
:hasTargetField "rubrics" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX ts_: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX pr: <https://iph.ras.ru/relationships#>
|
||||
SELECT DISTINCT ?rubric
|
||||
WHERE {
|
||||
{
|
||||
?uri rdf:type ts_:elenphExcerpt .
|
||||
?uri rdf:type ts:elenphExcerpt .
|
||||
?uri pr:belongsTo ?assignedRubric .
|
||||
?assignedRubric (pr:hasParent)* ?rubric .
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?uri rdf:type ts_:elenphArticle .
|
||||
?uri ts_:hasTOC ?toc .
|
||||
?toc (ts_:hasTOCItem/ts_:pointsTo)+/ts_:hasText ?artExcerpt .
|
||||
?uri rdf:type ts:elenphArticle .
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?artExcerpt .
|
||||
?artExcerpt pr:belongsTo ?assignedRubric .
|
||||
?assignedRubric (pr:hasParent)* ?rubric .
|
||||
}
|
||||
|
@ -111,20 +111,20 @@
|
|||
:hasTargetField "keywords" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX ts_: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
SELECT DISTINCT ?keywords
|
||||
WHERE {
|
||||
{
|
||||
?uri rdf:type ts_:elenphArticle .
|
||||
?uri ts_:hasTOC ?toc .
|
||||
?toc (ts_:hasTOCItem/ts_:pointsTo)+/ts_:hasText ?elenphExcerpt .
|
||||
?elenphExcerpt ts_:keywords ?keywords .
|
||||
?uri rdf:type ts:elenphArticle .
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?elenphExcerpt .
|
||||
?elenphExcerpt ts:keywords ?keywords .
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?uri rdf:type ts_:elenphExcerpt .
|
||||
?uri ts_:keywords ?keywords .
|
||||
?uri rdf:type ts:elenphExcerpt .
|
||||
?uri ts:keywords ?keywords .
|
||||
}
|
||||
}
|
||||
""" .
|
||||
|
@ -136,20 +136,20 @@
|
|||
:hasTargetField "bibliography" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX ts_: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
SELECT DISTINCT ?bibliography
|
||||
WHERE {
|
||||
{
|
||||
?uri rdf:type ts_:elenphArticle .
|
||||
?uri ts_:hasTOC ?toc .
|
||||
?toc (ts_:hasTOCItem/ts_:pointsTo)+/ts_:hasText ?elenphExcerpt .
|
||||
?elenphExcerpt ts_:bibliography ?bibliography .
|
||||
?uri rdf:type ts:elenphArticle .
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?elenphExcerpt .
|
||||
?elenphExcerpt ts:bibliography ?bibliography .
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?uri rdf:type ts_:elenphExcerpt .
|
||||
?uri ts_:bibliography ?bibliography .
|
||||
?uri rdf:type ts:elenphExcerpt .
|
||||
?uri ts:bibliography ?bibliography .
|
||||
}
|
||||
}
|
||||
""" .
|
||||
|
|
|
@ -2414,7 +2414,7 @@ button.collapsible.active:focus {
|
|||
font-family: IPH Astra Serif;
|
||||
font-style: italic;
|
||||
font-size: 1.2rem;
|
||||
|
||||
margin-top: 10px;
|
||||
}
|
||||
.virtualArticleWorks >div.virtualWorks >div.work {
|
||||
background-image: url(../images/bullet_icon.png);
|
||||
|
@ -2443,9 +2443,17 @@ button.collapsible.active:focus {
|
|||
font-style: normal;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.excerptSearchResult >a:hover {
|
||||
color: #8B4513;
|
||||
}
|
||||
.virtualArticleBiblio >div.virtualBibliography {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.virtualArticleSwitch >label.switch {
|
||||
font-family: IPH Astra Serif;
|
||||
font-style: normal;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.virtualArticleBiblio >div.virtualBibliography >div.bibliography {
|
||||
background-image: url(../images/bullet_icon.png);
|
||||
background-repeat: no-repeat;
|
||||
|
|
Loading…
Add table
Reference in a new issue