Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upFor deadlines, specify type #636
Comments
Daniel-Mietchen
added
SPARQL
panels
P793-significant-event
labels
Jan 24, 2019
Daniel-Mietchen
added this to To do
in Events
via automation
Jan 24, 2019
This comment has been minimized.
This comment has been minimized.
Here is a query that does that: SELECT
?date
?short_name
?event ?eventLabel
?location ?locationLabel
?key_event ?key_eventLabel
WITH {
SELECT
?datetime ?event ?key_event
(SAMPLE(?location_) AS ?location)
(SAMPLE(?short_name_) AS ?short_name)
WHERE {
?event p:P793 ?key_event_statement .
?key_event_statement ps:P793 ?key_event ;
pq:P585 ?datetime .
?key_event wdt:P279 wd:Q2404808 ;
FILTER (NOW() < ?datetime)
OPTIONAL { ?event wdt:P276 ?location_ }
OPTIONAL { ?event wdt:P1813 ?short_name_ }
}
GROUP BY ?datetime ?event ?key_event
ORDER BY(?datetime)
LIMIT 200
} AS %events
WHERE {
INCLUDE %events
BIND(xsd:date(?datetime) AS ?date)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,da,de,es,fr,jp,nl,no,ru,sv,zh". }
}
ORDER BY(?date) |
Daniel-Mietchen
added
the
usability
label
Jul 4, 2019
Daniel-Mietchen
added this to To do
in 1. Back-end development and testing with pilot corpora
via automation
Jul 4, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Daniel-Mietchen commentedJan 24, 2019
e.g. session submission, abstract submission, paper submission etc.