Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saknas i grillplatser.nu #24

Open
salgo60 opened this issue Aug 17, 2023 · 4 comments
Open

Saknas i grillplatser.nu #24

salgo60 opened this issue Aug 17, 2023 · 4 comments

Comments

@salgo60
Copy link
Collaborator

salgo60 commented Aug 17, 2023

Wikidata är enormt "spretigt" ett mönster är att ange "saknas i P9660 --> SPARQL ?item wdt:P9660 wd:Q120778083. -> grillplatser.nu

image

Finns nu i E408 - Skillnad se #3

Video hur man hämtar data från WD

@salgo60
Copy link
Collaborator Author

salgo60 commented Aug 17, 2023

Snyggt vore att om vi kunde "få tillbaka" id:t som sätts i grillplatser.nu när det skapas så vi kan uppdatera Wikidata...

@salgo60
Copy link
Collaborator Author

salgo60 commented Aug 17, 2023

Finns grillplatser vid en viss koordinat

Kolla matchning med en koordinat sparql för punkt 59.411 17.9837

SELECT DISTINCT ?distance ?grillplats ?grillplatsLabel ?location WHERE {

   # Use the around service
   SERVICE wikibase:around { 
     # Looking for items with coordinate locations(P625)
     ?grillplats wdt:P625 ?location . 

     # That are in a circle with a centre of with a point
     bd:serviceParam wikibase:center "Point(17.9837,59.411)"^^geo:wktLiteral   . 
     # Where the circle has a radius of 10km
     bd:serviceParam wikibase:radius "10" . 
     bd:serviceParam wikibase:distance ?distance .
   } .

   ?grillplats wdt:P31 wd:Q119621476. #grillplats

   # Use the label service to get the Swedish label
   SERVICE wikibase:label {
   bd:serviceParam wikibase:language "sv" . 
   }
}
ORDER BY ?distance)

@salgo60
Copy link
Collaborator Author

salgo60 commented Aug 17, 2023

dotNetRDF is a powerful and flexible API for working with RDF and SPARQL in .NET environments

Hämta en post kan du göra med

@salgo60
Copy link
Collaborator Author

salgo60 commented Sep 11, 2024

  • SPARQL Beskrivs av Grillplatser.nu och har Mapillary
image
  • SPARQL saknas i Grillplatser.nu och har Mapillary
image

se #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant