salgo60 / StorsthlmWIkidata

Saker StotSthlm vill göra
1 stars 0 forks source link

AllTrails #6

Open salgo60 opened 2 years ago

salgo60 commented 2 years ago

image

image

Request id All Trails 352123

Email AllTrails if we can connect with them....

My issue https://github.com/salgo60/StorsthlmWIkidata/issues/6

Hi we are looking into add Swedish Trails to Wikidata and would like to link you

E.g. Sörmlandsleden

How do we create an entry in AllTrails?

AllTrails is a Wikidata property Property:P7127 --> Map what WD has Regards Magnus Sälgö

salgo60 commented 2 years ago
image
salgo60 commented 2 years ago

Your request (352123) has been updated. To add additional comments, reply to this email.

image
salgo60 commented 2 years ago

FYI @dpriskorn

salgo60 commented 2 years ago
image
salgo60 commented 2 years ago

Test SPARQL queries to easier do the match

SELECT ?item ?label (URI(CONCAT("https://www.alltrails.com/sweden/",replace(lcase(?label),"county",""))) AS ?allt) WHERE {
  ?item wdt:P31 wd:Q200547.
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" . 
    ?item rdfs:label ?label
  }
  minus {?item wdt:P7127 ?xx}
}