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
# The MIT License (MIT) | |
# Copyright (c) 2016 Vladimir Ignatev | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the Software | |
# is furnished to do so, subject to the following conditions: | |
# |
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
import requests | |
file = open("saob2020.csv", "r") | |
def createQSurl(SAOBid): | |
# https: // quickstatements.toolforge.org / # /v1=L349183%7CP8478%7C%22A_0787-0228.n0A3%22 | |
urlbase = "https://quickstatements.toolforge.org/#/v1=LEXEME" | |
urlP8478 = f"%7CP8478%7C%22{SAOBid.strip()}%22" | |
return urlbase + urlP8478 | |
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
<?xml version="1.0"?> | |
<?mso-application progid="Excel.Sheet"?> | |
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" | |
xmlns:o="urn:schemas-microsoft-com:office:office" | |
xmlns:x="urn:schemas-microsoft-com:office:excel" | |
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" | |
xmlns:html="http://www.w3.org/TR/REC-html40"> | |
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> | |
<Author>Läkemedelsverket</Author> | |
<LastAuthor>Läkemedelsverket</LastAuthor> |
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
{ | |
"status": "ok", | |
"message-type": "work", | |
"message-version": "1.0.0", | |
"message": { | |
"indexed": { | |
"date-parts": [ | |
[ | |
2020, | |
3, |
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
;; source https://autohotkey.com/board/topic/44064-copy-on-select-implementation/ | |
cos_mousedrag_treshold := 20 ; pixels | |
#IfWinNotActive ahk_class ConsoleWindowClass | |
~lButton:: | |
MouseGetPos, cos_mousedrag_x, cos_mousedrag_y | |
keywait lbutton | |
mousegetpos, cos_mousedrag_x2, cos_mousedrag_y2 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OpenStreetMap GPX exporter"><metadata><desc>Filtered OSM data converted to GPX</desc><copyright author="Data under ODbL by OpenStreetMap Contributors"/><time>2021-04-25T11:59:20.626Z</time></metadata><wpt lat="62.3662999" lon="17.3141611"><name>way/91221193</name><desc>amenity=shelter | |
building=yes | |
id=way/91221193</desc><link href="http://osm.org/browse/way/91221193"/></wpt><wpt lat="62.3688379" lon="17.2760757"><name>way/91225695</name><desc>amenity=shelter | |
bin=yes | |
name=Värmestugan | |
shelter_type=building | |
id=way/91225695</desc><link href="http://osm.org/browse/way/91225695"/></wpt><wpt lat="62.9732399" lon="18.4437393"><name>way/107738941</name><desc>building=yes | |
name=Bredviksstugan | |
source:year=https://www.allehanda.se/artikel/harnosand/kommunen-avyttrar-b |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OpenStreetMap GPX exporter"><metadata><desc>Filtered OSM data converted to GPX</desc><copyright author="Data under ODbL by OpenStreetMap Contributors"/><time>2021-04-25T11:59:20.626Z</time></metadata> | |
<wpt lat="62.3662999" lon="17.3141611"><name>way/91221193</name><desc>amenity=shelter | |
building=yes | |
id=way/91221193</desc><link href="http://osm.org/browse/way/91221193"/></wpt> | |
<wpt lat="62.3688379" lon="17.2760757"><name>way/91225695</name><desc>amenity=shelter | |
bin=yes | |
name=Värmestugan | |
shelter_type=building | |
id=way/91225695</desc><link href="http://osm.org/browse/way/91225695"/></wpt> |
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
Presentation | |
Writing a bot | |
Start by having a good usecase | |
Talk to others about the usecase e.g. in the Wikidata Telegram Chat | |
Think about how to break down the problem in smaller steps | |
E.g. I want to enrich Wikidata items with data from OpenCitations |
We can't make this file beautiful and searchable because it's too large.
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
"Word","on site" | |
"frukt","Yes" | |
"grönsak","Yes" | |
"mobilmast","Yes" | |
"spruta","Yes" | |
"duva","Yes" | |
"bjudning","Yes" | |
"landskapsfisk","Yes" | |
"helsingforsare","No" | |
"skrivbord","Yes" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer