[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-19 Thread Smalyshev
Smalyshev added a comment.
@daniel Sorry, I misunderstood you.

But WDQS should link to the machine readable shape data, not the HTML page

Yes, completely agree, the link URL should point to a machine-readable representation of the data in a standard format (or at the very least content-negotiated URL that can return one).TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Lydia_Pintscher, daniel, mkroetzsch, Smalyshev, Jonas, Aklapper, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-19 Thread daniel
daniel added a comment.
@Smalyshev I'm not proposing to import the shape data into WDQS. But WDQS should link to the machine readable shape data, not the HTML page. If all I have is the URL of the HTML page, there is no obvious way to get the blob.TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: Lydia_Pintscher, daniel, mkroetzsch, Smalyshev, Jonas, Aklapper, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-18 Thread Smalyshev
Smalyshev added a comment.
The URL of the page?

Yes.

But that doesn't provide machine readable output. We'd want the raw data.

Importing commons data into RDF may be pretty slow. And make RDF database hold huge blobs (that Avignon one is 20K+, and probably there are even bigger), which would probably be rather inefficient. And these blobs would be pretty useless, since you can't do much with them unless you have code that specifically knows how to parse this specific type of blobs - in which case it's probably not hard for the same code to also download the blob from the URL. So I'm not sure what is the advantage of copying these huge blobs into the RDF database.TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Lydia_Pintscher, daniel, mkroetzsch, Smalyshev, Jonas, Aklapper, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-18 Thread daniel
daniel added a comment.
This URL will return the actual shape data: https://commons.wikimedia.org/w/index.php?title=Data:Avignon_City_Wall.map&action="">

Very ugly. Is it stable? We should set up a rewrite for this. A nice canonical URI would be https://commons.wikimedia.org/data/Data:Avignon_City_Wall.map. Content negotiation would be nice, but not a must-have.TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: Lydia_Pintscher, daniel, mkroetzsch, Smalyshev, Jonas, Aklapper, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-18 Thread daniel
daniel added a comment.
@Smalyshev which URL? The URL of the page? But that doesn't provide machine readable output. We'd want the raw data. Do we even have have a good URL for the raw data?TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: daniel, mkroetzsch, Smalyshev, Jonas, Aklapper, QZanden, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T159517: [RFC] RDF mapping for geo-shape

2017-03-03 Thread Smalyshev
Smalyshev added a comment.
As it is now, I think the URL would be the only option for RDF. I don't see how we could plausibly put anything else in RDF.TASK DETAILhttps://phabricator.wikimedia.org/T159517EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: mkroetzsch, Smalyshev, Jonas, Aklapper, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Luke081515, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, fbstj, MaxSem, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs