Reasonator for monuments
hatnote / monumental Goto Github PK
View Code? Open in Web Editor NEWReasonator for monuments
Home Page: http://tools.wmflabs.org/monumental/
License: BSD 3-Clause "New" or "Revised" License
Reasonator for monuments
Home Page: http://tools.wmflabs.org/monumental/
License: BSD 3-Clause "New" or "Revised" License
I was wondering, if there is an option to use monumental as an API?
Portugal showing up as not taking part on WLM 2019 (but we are!) - please fix this ASAP, as the map would be extremely useful for us (we're entirely on Wikidata now)
When navigating to https://monumental.toolforge.org/#/ and trying to log in with the button in the top right, the following error message appears:
Internal server error
<ExceptionInfo [requests.exceptions.SSLError: HTTPSConnectionPool(host='commons.wikimedia.org', port=443): Max retries exceeded with url: /w/index.php?title=Special%3AOAuth%2Finitiate (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))] (16 frames, last=Callpoint('send', 514, 'requests.adapters', '/data/project/monumental/www/python/venv/local/lib/python2.7/site-packages/requests/adapters.py', 1014, ' raise SSLError(e, request=request)'))>
The tool appears to still think that submitting for the 2018 WLM contest is appropriate. Please see https://commons.wikimedia.org/wiki/Commons:Help_desk#Wiki_Loves_Monument_2019 for details.
Is it possible to have WLM-IT monuments on https://maps.wikilovesmonuments.org/ ? They're identified by the presence of a P2186 statement, more precisely the query you find at https://www.wikidata.org/?curid=30576438#Statistics
7000 of them have coordinates, you can get a glimpse at
https://umap.openstreetmap.fr/it/map/monumenti-wlm-it-2019_351889
(For which I used a hand-made KML file with a very basic regex (.*)+\t(.*)+\t(.*)+\t(.*)+$
→ <Placemark>\n<name>\2</name>\n<description>\3\n\1</description>\n<Point>\n<coordinates>\4</coordinates>\n</Point>\n</Placemark>
, shame on me.)
E.g there are 1000s of monuments in Paris without an English language label because there is no English name for the site. English uses the French name for the buildings, with some exceptions for very famous places like Eiffel Tower rather than Tour Eiffel. It is not correct to add the French name to the English label in Wikidata because it isn't an English name, so if Wikidata stores data correctly the sites will never have an English label. This is true for a lot of monuments in a lot of cities.
One way to address this in Monumental would be to provide a language fallback to the label or labels for the official language or languages for that country. This gets a bit messy in places like Belgium, India or South Africa where there are more than one official language. One solution to this would be to fallback to show the language with the most speakers for that region and then fallback again to second most spoken if that is not available, etc etc.
How to translate the website? I can do itnin Italian and Esperanto
Hi,
For France, I see on the map that some monument appears that doesn't fit the scope of WLM FR 2018. This year the rule is simple : we accept all monuments with the property P380 and only those. Could we only have those on the map?
For instance https://maps.wikilovesmonuments.org/object/23297286 is not in WLM 2018 for France (I guess you choose to have all monuments with a P1435 which is very similar set to P380 but not exactly the same)
For now an data issue
In Sweden only a limited subset of items that can have P1435 heritage designation stated is used in WLM, Monumental currently queries all of them.
Example:
The church "Floda Kyrka" has in Wikidata two items with P1435 one is the facility and one is the actual building, in Sweden only facilities has previously been used in WLM. Both items have heritage designation specified.
Other types of heritage sites are limited to other types of subset filters.
@lokal-profil Wikidata items needs some type of additional statement so we can distinguish items that should be a part of WLM and those which shouldn't.
Geolocate the user via HTML5 geolocation automatically.
Feature request
Have a feature (in the URL I guess) that allows you to display a map using other properties, not just 'instance of'. This would allow you to only display items from certain databases or other interesting things. E.g I would like to show a map that was only Biosphere Reserves.
Add {{object location}} in file description by retrieving the location from Wikidata item.
Please can you add an external identifiers section to the page for each site. This allow people to see the knowledge about the site on different websites.
Feature request:
There are many many items that do not have images in their Commons category because all images are added to subcategories. Please can Monumental display images from the subcategories as well as the main category? This may help to show different aspects of the item and provide more images where there are none/few.
Thanks
Copy of my email to Paweł, 4 September 2018. Repeating it here, as the issue still needs looking at. Another example from later on in the contest is is File:Scotland - St Clement's Church - 20180410131840.jpg
We still seem to have a problem with some UK uploads, separate from the date issue. Monumental is using an incorrect parameter gb in the {{Wiki Loves Monuments 2018}} template which it adds to each page. It always seems to be using {{Wiki Loves Monuments 2018|gb}} which gives the error message No or incorrect country code indicated in the {{Wiki Loves Monuments 2018}} template, and adds the category Images from Wiki Loves Monuments 2018 in an unknown country.
gb on its own is not a valid parameter, and one of the following needs to be used depending on which of the four UK campaigns is relevant:
gb-wls (Wales)
gb-nir (Northern Ireland)
gb-eng (England)
gb-sct (Scotland)
Here are three recent examples from Northern Ireland:
Regards
Michael
Enhancement request
It would be really great if I could produce a map that showed monuments from two or more areas in one map. I guess the easiest way to do this would be to allow users to add two Q numbers to the URL in some way (in bold)
https://tools.wmflabs.org/monumental/#/list/**156990**?c=51.8100:-2.7200:7&heritage=1
Hi,
Would it be possible to have a page France https://maps.wikilovesmonuments.org/france like their is Ireland : https://maps.wikilovesmonuments.org/ireland ?
The best would probably to divide by regions (see https://en.wikipedia.org/wiki/Regions_of_France )
Add country specific monument ID in the file description retrieving from Wikidata item.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.