From fba7e467647dc301b2d0b4bfbc5ff4e2b599af57 Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Sat, 22 Jul 2023 09:49:39 +0200 Subject: [PATCH] WDQS-compatible titles --- scholia/app/templates/chemical_identifiers.sparql | 2 +- scholia/app/templates/chemical_physchem-properties.sparql | 2 +- scholia/app/templates/chemical_publications-per-year.sparql | 2 +- scholia/app/templates/chemical_recent-literature.sparql | 2 +- scholia/app/templates/chemical_related.sparql | 2 +- scholia/app/templates/chemical_relates.sparql | 2 +- scholia/app/templates/chemical_structural-identifiers.sparql | 2 +- .../clinical-trial-index_recent-clinical-trials.sparql | 2 +- scholia/app/templates/country_co-organizations.sparql | 2 +- scholia/app/templates/country_locations-as-topics.sparql | 2 +- scholia/app/templates/country_narrative-locations.sparql | 2 +- scholia/app/templates/country_organizations.sparql | 2 +- scholia/app/templates/event-series_events.sparql | 2 +- scholia/app/templates/gene_identifiers.sparql | 2 +- scholia/app/templates/location-topic_nearby-researchers.sparql | 2 +- scholia/app/templates/location_nearby-organizations.sparql | 2 +- .../app/templates/organization_employees-and-affiliated.sparql | 2 +- scholia/app/templates/project_statistics.sparql | 2 +- scholia/app/templates/sponsor_authors-on-sponsored-works.sparql | 2 +- scholia/app/templates/sponsor_co-sponsors.sparql | 2 +- scholia/app/templates/sponsor_project-budgets.sparql | 2 +- scholia/app/templates/topics_authors.sparql | 2 +- scholia/app/templates/topics_list-of-topics.sparql | 2 +- scholia/app/templates/topics_list-of-works.sparql | 2 +- scholia/app/templates/uses_authors.sparql | 2 +- scholia/app/templates/uses_list-of-uses.sparql | 2 +- scholia/app/templates/uses_list-of-works.sparql | 2 +- .../templates/venue_articles-citing-retracted-articles.sparql | 2 +- scholia/app/templates/venue_author-awards.sparql | 2 +- scholia/app/templates/venue_author-gender-distribution.sparql | 2 +- scholia/app/templates/venue_author-images.sparql | 2 +- scholia/app/templates/venue_authors.sparql | 2 +- .../app/templates/venue_authorship-gender-distribution.sparql | 2 +- scholia/app/templates/venue_citation-distribution.sparql | 2 +- scholia/app/templates/venue_cited-venues.sparql | 2 +- scholia/app/templates/venue_citing-venues.sparql | 2 +- scholia/app/templates/venue_co-author-graph.sparql | 2 +- scholia/app/templates/venue_most-cited-articles.sparql | 2 +- scholia/app/templates/venue_most-cited-authors.sparql | 2 +- scholia/app/templates/venue_topics.sparql | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/scholia/app/templates/chemical_identifiers.sparql b/scholia/app/templates/chemical_identifiers.sparql index f773c2338..9ca856c5f 100644 --- a/scholia/app/templates/chemical_identifiers.sparql +++ b/scholia/app/templates/chemical_identifiers.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: identifiers for this chemical +#title: identifiers for this chemical SELECT ?Identifier ?IdentifierLabel ?Value (SAMPLE(?idUrls) as ?ValueUrl) diff --git a/scholia/app/templates/chemical_physchem-properties.sparql b/scholia/app/templates/chemical_physchem-properties.sparql index 0add6083f..1e761989f 100644 --- a/scholia/app/templates/chemical_physchem-properties.sparql +++ b/scholia/app/templates/chemical_physchem-properties.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: physicochemical properties of this chemical +#title: physicochemical properties of this chemical SELECT DISTINCT ?propEntity ?propEntityLabel ?value ?units ?unitsLabel ?qualifiers ?source ?sourceLabel ?doi WITH { SELECT DISTINCT ?propEntity ?value ?units ?source ?doi (GROUP_CONCAT(?qualifierStr; separator=", ") AS ?qualifiers) WHERE { diff --git a/scholia/app/templates/chemical_publications-per-year.sparql b/scholia/app/templates/chemical_publications-per-year.sparql index 29b6108c8..b0da96a20 100644 --- a/scholia/app/templates/chemical_publications-per-year.sparql +++ b/scholia/app/templates/chemical_publications-per-year.sparql @@ -1,7 +1,7 @@ #defaultView:BarChart PREFIX target: -# title: publications per year for this chemical +#title: publications per year for this chemical # Inspired from LEGOLAS - http://abel.lis.illinois.edu/legolas/ # Shubhanshu Mishra, Vetle Torvik select ?year (count(?work) as ?number_of_publications) where { diff --git a/scholia/app/templates/chemical_recent-literature.sparql b/scholia/app/templates/chemical_recent-literature.sparql index ef27b53a3..bf5bddef4 100644 --- a/scholia/app/templates/chemical_recent-literature.sparql +++ b/scholia/app/templates/chemical_recent-literature.sparql @@ -1,4 +1,4 @@ -# title: recent literature about this chemical +#title: recent literature about this chemical PREFIX target: SELECT ?date ?work ?workLabel ?type ?via ?topics diff --git a/scholia/app/templates/chemical_related.sparql b/scholia/app/templates/chemical_related.sparql index 2957c37cf..892adf51a 100644 --- a/scholia/app/templates/chemical_related.sparql +++ b/scholia/app/templates/chemical_related.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: related chemical structures +#title: related chemical structures SELECT ?mol ?molLabel ?InChIKey ?CAS ?ChemSpider ?PubChem_CID WITH { SELECT ?queryKey ?srsearch ?filter WHERE { target: wdt:P235 ?queryKey . diff --git a/scholia/app/templates/chemical_relates.sparql b/scholia/app/templates/chemical_relates.sparql index 934871553..8ffb13380 100644 --- a/scholia/app/templates/chemical_relates.sparql +++ b/scholia/app/templates/chemical_relates.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: related chemical structures +#title: related chemical structures SELECT ?mol ?molLabel ?InChIKey ?CAS ?ChemSpider ?PubChem_CID WHERE { target: wdt:P235 ?queryKey . ?mol wdt:P235 ?InChIKey . diff --git a/scholia/app/templates/chemical_structural-identifiers.sparql b/scholia/app/templates/chemical_structural-identifiers.sparql index aebf3b92c..1044a40e2 100644 --- a/scholia/app/templates/chemical_structural-identifiers.sparql +++ b/scholia/app/templates/chemical_structural-identifiers.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: structural identifiers for this chemical structure +#title: structural identifiers for this chemical structure SELECT ?Structural_identifier ?Structural_identifierLabel ?idLit (SAMPLE(?idUrls) as ?idUrl) diff --git a/scholia/app/templates/clinical-trial-index_recent-clinical-trials.sparql b/scholia/app/templates/clinical-trial-index_recent-clinical-trials.sparql index 1d762af6f..187068d87 100644 --- a/scholia/app/templates/clinical-trial-index_recent-clinical-trials.sparql +++ b/scholia/app/templates/clinical-trial-index_recent-clinical-trials.sparql @@ -1,4 +1,4 @@ -# title: Clinical trials sorted according to date +#title: Clinical trials sorted according to date SELECT ?start_date ?trial ?trialLabel WITH { SELECT * WHERE { diff --git a/scholia/app/templates/country_co-organizations.sparql b/scholia/app/templates/country_co-organizations.sparql index 5dcf635f1..78c528c88 100644 --- a/scholia/app/templates/country_co-organizations.sparql +++ b/scholia/app/templates/country_co-organizations.sparql @@ -1,4 +1,4 @@ -# title: Co-organizations for a specific country +#title: Co-organizations for a specific country PREFIX target: #defaultView:Map diff --git a/scholia/app/templates/country_locations-as-topics.sparql b/scholia/app/templates/country_locations-as-topics.sparql index 2fc3373ea..2e243aed5 100644 --- a/scholia/app/templates/country_locations-as-topics.sparql +++ b/scholia/app/templates/country_locations-as-topics.sparql @@ -1,4 +1,4 @@ -# title: Locations as topics for a specific country +#title: Locations as topics for a specific country PREFIX target: #defaultView:Map{"markercluster":true}. diff --git a/scholia/app/templates/country_narrative-locations.sparql b/scholia/app/templates/country_narrative-locations.sparql index f3edf470e..cad0b4cc2 100644 --- a/scholia/app/templates/country_narrative-locations.sparql +++ b/scholia/app/templates/country_narrative-locations.sparql @@ -1,4 +1,4 @@ -# title: Narrative locations for a specific country +#title: Narrative locations for a specific country PREFIX target: #defaultView:Map{"markercluster":true}. diff --git a/scholia/app/templates/country_organizations.sparql b/scholia/app/templates/country_organizations.sparql index 904b3cc23..677f6b661 100644 --- a/scholia/app/templates/country_organizations.sparql +++ b/scholia/app/templates/country_organizations.sparql @@ -1,4 +1,4 @@ -# title: Organizations for a specific country +#title: Organizations for a specific country PREFIX target: SELECT diff --git a/scholia/app/templates/event-series_events.sparql b/scholia/app/templates/event-series_events.sparql index 556e15c5f..4efd486cc 100644 --- a/scholia/app/templates/event-series_events.sparql +++ b/scholia/app/templates/event-series_events.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: List of event and proceedings for a specific event series +#title: List of event and proceedings for a specific event series SELECT DISTINCT (SAMPLE(?years) AS ?year) (SAMPLE(?ordinal) AS ?ordinal) diff --git a/scholia/app/templates/gene_identifiers.sparql b/scholia/app/templates/gene_identifiers.sparql index 0517243a7..48327648e 100644 --- a/scholia/app/templates/gene_identifiers.sparql +++ b/scholia/app/templates/gene_identifiers.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: identifiers for this gene +#title: identifiers for this gene SELECT ?Identifier ?IdentifierLabel ?Value (SAMPLE(?idUrls) as ?ValueUrl) diff --git a/scholia/app/templates/location-topic_nearby-researchers.sparql b/scholia/app/templates/location-topic_nearby-researchers.sparql index a3dd646cb..db5d6bd6a 100644 --- a/scholia/app/templates/location-topic_nearby-researchers.sparql +++ b/scholia/app/templates/location-topic_nearby-researchers.sparql @@ -1,7 +1,7 @@ PREFIX target1: PREFIX target2: -# title: Nearby researchers that work with a specific topic and near a specified geographical entity +#title: Nearby researchers that work with a specific topic and near a specified geographical entity SELECT ?score ?author ?authorLabel (CONCAT("/author/", SUBSTR(STR(?author), 32)) AS ?authorUrl) diff --git a/scholia/app/templates/location_nearby-organizations.sparql b/scholia/app/templates/location_nearby-organizations.sparql index 96425c361..61bcd2402 100644 --- a/scholia/app/templates/location_nearby-organizations.sparql +++ b/scholia/app/templates/location_nearby-organizations.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Nearby academic institutions around a specified geographic entity. +#title: Nearby academic institutions around a specified geographic entity. SELECT ?distance ?unit ?unitLabel ?organization ?organizationLabel ?organizationDescription (CONCAT("/organization/", SUBSTR(STR(?organization), 32)) AS ?organizationUrl) diff --git a/scholia/app/templates/organization_employees-and-affiliated.sparql b/scholia/app/templates/organization_employees-and-affiliated.sparql index 5cbc6b4c6..fda675f2f 100644 --- a/scholia/app/templates/organization_employees-and-affiliated.sparql +++ b/scholia/app/templates/organization_employees-and-affiliated.sparql @@ -1,4 +1,4 @@ -# title: Employees and affiliated with a specified organization +#title: Employees and affiliated with a specified organization PREFIX target: diff --git a/scholia/app/templates/project_statistics.sparql b/scholia/app/templates/project_statistics.sparql index 5a50e27c3..1124169e3 100644 --- a/scholia/app/templates/project_statistics.sparql +++ b/scholia/app/templates/project_statistics.sparql @@ -1,4 +1,4 @@ -# title: Statistics for projects identifiers +#title: Statistics for projects identifiers SELECT ?count ?description { { { SELECT (COUNT(*) AS ?count) WHERE { [] wdt:P3400 []. } } diff --git a/scholia/app/templates/sponsor_authors-on-sponsored-works.sparql b/scholia/app/templates/sponsor_authors-on-sponsored-works.sparql index 75d1fdb4d..7c196a1ef 100644 --- a/scholia/app/templates/sponsor_authors-on-sponsored-works.sparql +++ b/scholia/app/templates/sponsor_authors-on-sponsored-works.sparql @@ -1,4 +1,4 @@ -# title: Authors on works sponsored or funded from a specific entity. +#title: Authors on works sponsored or funded from a specific entity. PREFIX target: diff --git a/scholia/app/templates/sponsor_co-sponsors.sparql b/scholia/app/templates/sponsor_co-sponsors.sparql index 54b0c57c0..5cb41c2dd 100644 --- a/scholia/app/templates/sponsor_co-sponsors.sparql +++ b/scholia/app/templates/sponsor_co-sponsors.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Co-funders to a specific funder including an example funded work +#title: Co-funders to a specific funder including an example funded work SELECT ?count ?sponsor ?sponsorLabel (CONCAT("/sponsor/", SUBSTR(STR(?sponsor), 32)) AS ?sponsorUrl) ?example_work ?example_workLabel (CONCAT("/work/", SUBSTR(STR(?example_work), 32)) AS ?example_workUrl) diff --git a/scholia/app/templates/sponsor_project-budgets.sparql b/scholia/app/templates/sponsor_project-budgets.sparql index 64b64db91..e57354580 100644 --- a/scholia/app/templates/sponsor_project-budgets.sparql +++ b/scholia/app/templates/sponsor_project-budgets.sparql @@ -1,4 +1,4 @@ -# title: Scatterplot of project budgets associated with a funder +#title: Scatterplot of project budgets associated with a funder PREFIX target: diff --git a/scholia/app/templates/topics_authors.sparql b/scholia/app/templates/topics_authors.sparql index 8b71e0c71..0b3ca3a2a 100644 --- a/scholia/app/templates/topics_authors.sparql +++ b/scholia/app/templates/topics_authors.sparql @@ -1,4 +1,4 @@ -# title: Authors for specific topics +#title: Authors for specific topics SELECT ?score ?author ?authorLabel (CONCAT("/author/", SUBSTR(STR(?author), 32)) AS ?authorUrl) diff --git a/scholia/app/templates/topics_list-of-topics.sparql b/scholia/app/templates/topics_list-of-topics.sparql index be89fa2af..ac54bdf13 100644 --- a/scholia/app/templates/topics_list-of-topics.sparql +++ b/scholia/app/templates/topics_list-of-topics.sparql @@ -1,4 +1,4 @@ -# title: List of topics +#title: List of topics SELECT ?topic ?topicLabel ?topicDescription (CONCAT("/topic/", SUBSTR(STR(?topic), 32)) AS ?topicUrl) ?example_work ?example_workLabel (CONCAT("/work/", SUBSTR(STR(?example_work), 32)) AS ?example_workUrl) diff --git a/scholia/app/templates/topics_list-of-works.sparql b/scholia/app/templates/topics_list-of-works.sparql index bc4662051..8863e80af 100644 --- a/scholia/app/templates/topics_list-of-works.sparql +++ b/scholia/app/templates/topics_list-of-works.sparql @@ -1,4 +1,4 @@ -# title: List of works on any combination of specific topics +#title: List of works on any combination of specific topics SELECT ?count (MIN(?publication_date_) AS ?publication_date) diff --git a/scholia/app/templates/uses_authors.sparql b/scholia/app/templates/uses_authors.sparql index 597a43942..2adc0ab3b 100644 --- a/scholia/app/templates/uses_authors.sparql +++ b/scholia/app/templates/uses_authors.sparql @@ -1,4 +1,4 @@ -# title: Authors for specific uses +#title: Authors for specific uses SELECT ?uses ?works ?author ?authorLabel (CONCAT("/author/", SUBSTR(STR(?author), 32)) AS ?authorUrl) diff --git a/scholia/app/templates/uses_list-of-uses.sparql b/scholia/app/templates/uses_list-of-uses.sparql index 49332ba8a..bcdfb31b3 100644 --- a/scholia/app/templates/uses_list-of-uses.sparql +++ b/scholia/app/templates/uses_list-of-uses.sparql @@ -1,4 +1,4 @@ -# title: List of uses +#title: List of uses SELECT ?use ?useLabel ?useDescription (CONCAT("/use/", SUBSTR(STR(?use), 32)) AS ?useUrl) ?example_work ?example_workLabel (CONCAT("/work/", SUBSTR(STR(?example_work), 32)) AS ?example_workUrl) diff --git a/scholia/app/templates/uses_list-of-works.sparql b/scholia/app/templates/uses_list-of-works.sparql index 487a9d90d..f5f5c4205 100644 --- a/scholia/app/templates/uses_list-of-works.sparql +++ b/scholia/app/templates/uses_list-of-works.sparql @@ -1,4 +1,4 @@ -# title: List of works on any combination of specific uses +#title: List of works on any combination of specific uses SELECT ?count (MIN(?publication_date_) AS ?publication_date) diff --git a/scholia/app/templates/venue_articles-citing-retracted-articles.sparql b/scholia/app/templates/venue_articles-citing-retracted-articles.sparql index 88d61f93c..71ba0f854 100644 --- a/scholia/app/templates/venue_articles-citing-retracted-articles.sparql +++ b/scholia/app/templates/venue_articles-citing-retracted-articles.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Articles in a specific venue citing retracted articles +#title: Articles in a specific venue citing retracted articles SELECT DISTINCT ?retracted_work ?retracted_workLabel ?date diff --git a/scholia/app/templates/venue_author-awards.sparql b/scholia/app/templates/venue_author-awards.sparql index 99785ba3d..ebada9c06 100644 --- a/scholia/app/templates/venue_author-awards.sparql +++ b/scholia/app/templates/venue_author-awards.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Author awards for a specific venue +#title: Author awards for a specific venue SELECT DISTINCT ?year ?author ?authorLabel diff --git a/scholia/app/templates/venue_author-gender-distribution.sparql b/scholia/app/templates/venue_author-gender-distribution.sparql index 3482fb49d..913da3ea8 100644 --- a/scholia/app/templates/venue_author-gender-distribution.sparql +++ b/scholia/app/templates/venue_author-gender-distribution.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Author gender distribution for a specific venue +#title: Author gender distribution for a specific venue SELECT ?count ?gender ?genderLabel WITH { SELECT (COUNT(DISTINCT ?author) AS ?count) ?gender WHERE { diff --git a/scholia/app/templates/venue_author-images.sparql b/scholia/app/templates/venue_author-images.sparql index acd60e768..4bed11946 100644 --- a/scholia/app/templates/venue_author-images.sparql +++ b/scholia/app/templates/venue_author-images.sparql @@ -1,4 +1,4 @@ -# title: Author images for a specific venue +#title: Author images for a specific venue PREFIX target: diff --git a/scholia/app/templates/venue_authors.sparql b/scholia/app/templates/venue_authors.sparql index 8192ee71a..7fc154361 100644 --- a/scholia/app/templates/venue_authors.sparql +++ b/scholia/app/templates/venue_authors.sparql @@ -1,4 +1,4 @@ -# title: Prolific authors for a specific journal +#title: Prolific authors for a specific journal PREFIX target: diff --git a/scholia/app/templates/venue_authorship-gender-distribution.sparql b/scholia/app/templates/venue_authorship-gender-distribution.sparql index b46d29167..4f0ff4279 100644 --- a/scholia/app/templates/venue_authorship-gender-distribution.sparql +++ b/scholia/app/templates/venue_authorship-gender-distribution.sparql @@ -1,4 +1,4 @@ -# title: Authorship gender distribution for a specific venue +#title: Authorship gender distribution for a specific venue PREFIX target: diff --git a/scholia/app/templates/venue_citation-distribution.sparql b/scholia/app/templates/venue_citation-distribution.sparql index 7a8a5f7db..7b4009fcc 100644 --- a/scholia/app/templates/venue_citation-distribution.sparql +++ b/scholia/app/templates/venue_citation-distribution.sparql @@ -1,4 +1,4 @@ -# title: Citation distribution for a venue +#title: Citation distribution for a venue PREFIX target: diff --git a/scholia/app/templates/venue_cited-venues.sparql b/scholia/app/templates/venue_cited-venues.sparql index 523d1c179..be3a700a0 100644 --- a/scholia/app/templates/venue_cited-venues.sparql +++ b/scholia/app/templates/venue_cited-venues.sparql @@ -1,6 +1,6 @@ PREFIX target: -# title: Cited venues from specific journal +#title: Cited venues from specific journal SELECT ?count ?short_name diff --git a/scholia/app/templates/venue_citing-venues.sparql b/scholia/app/templates/venue_citing-venues.sparql index 245e6cfd8..aa066ddb3 100644 --- a/scholia/app/templates/venue_citing-venues.sparql +++ b/scholia/app/templates/venue_citing-venues.sparql @@ -1,4 +1,4 @@ -# title: Venues citing articles from this specific journal +#title: Venues citing articles from this specific journal PREFIX target: diff --git a/scholia/app/templates/venue_co-author-graph.sparql b/scholia/app/templates/venue_co-author-graph.sparql index f3742b721..e4c6293be 100644 --- a/scholia/app/templates/venue_co-author-graph.sparql +++ b/scholia/app/templates/venue_co-author-graph.sparql @@ -1,4 +1,4 @@ -# title: Co-author graph for a specific venue +#title: Co-author graph for a specific venue PREFIX target: diff --git a/scholia/app/templates/venue_most-cited-articles.sparql b/scholia/app/templates/venue_most-cited-articles.sparql index b2c7f58a1..e45f9170a 100644 --- a/scholia/app/templates/venue_most-cited-articles.sparql +++ b/scholia/app/templates/venue_most-cited-articles.sparql @@ -1,4 +1,4 @@ -# title: Most cited articles published in specific venue +#title: Most cited articles published in specific venue PREFIX target: diff --git a/scholia/app/templates/venue_most-cited-authors.sparql b/scholia/app/templates/venue_most-cited-authors.sparql index dc2891a82..7e4f7689d 100644 --- a/scholia/app/templates/venue_most-cited-authors.sparql +++ b/scholia/app/templates/venue_most-cited-authors.sparql @@ -1,4 +1,4 @@ -# title: Most cited authors published in venue +#title: Most cited authors published in venue PREFIX target: diff --git a/scholia/app/templates/venue_topics.sparql b/scholia/app/templates/venue_topics.sparql index 4e4dd4b6a..40d47ee11 100644 --- a/scholia/app/templates/venue_topics.sparql +++ b/scholia/app/templates/venue_topics.sparql @@ -1,4 +1,4 @@ -# title: Count of topics in published work in specified venue +#title: Count of topics in published work in specified venue PREFIX target: