-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #5: Add --timeout option to change or turn off httpx reques…
…t timeouts.
- Loading branch information
Showing
4 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#title: Recent events | ||
SELECT ?event ?eventLabel ?date ?location | ||
WITH { | ||
SELECT DISTINCT ?event ?date ?location | ||
WHERE { | ||
# find events | ||
wd:Q1227 wdt:P625 ?nevada. | ||
?event wdt:P31/wdt:P279* wd:Q1190554. | ||
# wdt:P17 wd:Q30; | ||
# with a point in time or start date | ||
OPTIONAL { ?event wdt:P585 ?date. } | ||
OPTIONAL { ?event wdt:P580 ?date. } | ||
?event wdt:P625 ?location. | ||
FILTER(geof:distance(?location, ?nevada) < 400). | ||
} | ||
LIMIT 1000 | ||
} AS %i | ||
WHERE { | ||
INCLUDE %i | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters