Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIn list of publications on Author aspect, clarify author versus author name string distinction #874
Comments
Daniel-Mietchen
added this to To do
in 2. Redesign of the Scholia user interface for better usability, e.g. site navigation and internationalization
via automation
Oct 20, 2019
This comment has been minimized.
This comment has been minimized.
Example: https://tools.wmflabs.org/scholia/author/Q4693015 . The query from there has to be modified a bit to give the author QID, as per this: #defaultView:Table
SELECT
(MIN(?dates) AS ?date)
?work ?workLabel
(GROUP_CONCAT(DISTINCT ?type_label; separator=", ") AS ?type)
(SAMPLE(?pages_) AS ?pages)
?venue ?venueLabel
(GROUP_CONCAT(DISTINCT ?author ; separator=", ") AS ?authors)
WHERE {
?work wdt:P50 wd:Q4693015 .
?work wdt:P50 ?author .
OPTIONAL {
?author rdfs:label ?author_label_ . FILTER (LANG(?author_label_) = 'en')
}
BIND(COALESCE(?author_label_, SUBSTR(STR(?author), 32)) AS ?author_label)
OPTIONAL { ?work wdt:P31 ?type_ . ?type_ rdfs:label ?type_label . FILTER (LANG(?type_label) = 'en') }
?work wdt:P577 ?datetimes .
BIND(xsd:date(?datetimes) AS ?dates)
OPTIONAL { ?work wdt:P1104 ?pages_ }
OPTIONAL { ?work wdt:P1433 ?venue }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,da,de,es,fr,jp,no,ru,sv,zh". }
}
GROUP BY ?work ?workLabel ?venue ?venueLabel
ORDER BY DESC(?date) However, this is missing the ?authorLabel, and I cannot figure out right now how to get that into the CONCAT phrase. |
This comment has been minimized.
This comment has been minimized.
Closed by #974 . |
2. Redesign of the Scholia user interface for better usability, e.g. site navigation and internationalization
automation
moved this from To do
to Done
Dec 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Daniel-Mietchen commentedOct 20, 2019
Right now, it says "Authors" but does not link them, which is irritating.
We should perhaps write "Indentified authors" or some such, and link them.