Hi
How can I query on fields? For example “schema:addressLocality” = “Karlstad” or “schema:latitude” > “59.3772841638403”. Is it at all possible?
What I want to accomplish is to only get items from a certain region in Sweden.
Gives me this result:
{ "offset": 1, "resource": {"children": [{ "metadata": { "@graph": [{ "schema:alternateName": [ { "@value": "Välkommen in för att småhandla, storhandla eller bara strosa runt.", "@language": "sv" }, { "@value": "Welcome in to shop small, wholesale or just stroll around.", "@language": "en" } ], "dcterms:spatial": {"@id": "http://data.visitsweden.com/region/varmland"}, "schema:openingHoursSpecification": [ { "schema:closes": "20:00", "schema:dayOfWeek": [ {"@id": "schema:Monday"}, {"@id": "schema:Tuesday"}, {"@id": "schema:Wednesday"}, {"@id": "schema:Thursday"}, {"@id": "schema:Friday"} ], "@type": "schema:OpeningHoursSpecification", "schema:opens": "10:00", "@id": "_:5cdf8c1a13014b42b9bb843b9e75f9073327" }, { "schema:closes": "18:00", "schema:dayOfWeek": [ {"@id": "schema:Saturday"}, {"@id": "schema:Sunday"} ], "@type": "schema:OpeningHoursSpecification", "schema:opens": "10:00", "@id": "_:5cdf8c1a13014b42b9bb843b9e75f9073328" } ], "@type": "schema:Store", "schema:description": [ { "@value": "Bergvik är en skön och hållbar mötesplats med 80 butiker, generösa öppettider och gratis parkering. Här hittar du inspirerande butiker, service, härliga caféer/restauranger och ett gym under ett och samma tak.", "@language": "sv" }, { "@value": "Bergvik is a pleasant and sustainable meeting place with 80 shops, generous opening hours and free parking. Here you will find inspiring shops, service, lovely cafes/restaurants and a gym under one roof.", "@language": "en" } ], "schema:image": {"@id": "store:9/resource/19"}, "schema:additionalType": {"@id": "schema:DepartmentStore"}, "schema:address": { "@type": "schema:PostalAddress", "schema:addressCountry": "sweden", "schema:addressLocality": "Karlstad", "schema:streetAddress": "Frykmans väg 1, 653 46 Karlstad", "@id": "_:5cdf8c1a13014b42b9bb843b9e75f9073329" }, "@id": "store:9/resource/20", "schema:name": { "@value": "Bergviks köpcenter", "@language": "sv" }, "dcterms:abstract": [ { "@value": "Att bygga och verka på ett sätt som minskar människans miljötryck på jorden är en självklarhet för oss. Därför är Bergvik ett miljöcertifierat handelsområde där varje detalj är planerad utifrån ett långsiktigt hållbarhetsperspektiv.", "@language": "sv" }, { "@value": "Building and operating in a way that reduces man's environmental pressure on the earth is a matter of course for us. Therefore, Bergvik is an environmentally certified trading area where every detail is planned based on a long-term sustainability perspective.", "@language": "en" } ], "schema:geo": { "schema:latitude": "59.3772841638403", "@type": "schema:GeoCoordinates", "@id": "_:5cdf8c1a13014b42b9bb843b9e75f9073326", "schema:longitude": "13.425880578429952" } }], "@id": "store:9/metadata/20", "@context": { "schema": "http://schema.org/", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "dcterms": "http://purl.org/dc/terms/", "store": "https://data.visitsweden.com/store/" } }, "rights": [ "readresource", "readmetadata" ], "contextId": "9", "relations": {}, "entryId": "20", "info": { "@graph": [{ "es:relation": {"@id": "store:9/relations/20"}, "dcterms:creator": {"@id": "store:_principals/resource/29"}, "dcterms:created": { "@value": "2023-03-07T16:19:01.058+01:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }, "@id": "store:9/entry/20", "dcterms:modified": { "@value": "2023-05-11T23:02:08.563+02:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }, "dcterms:contributor": [ {"@id": "store:_principals/resource/_admin"}, {"@id": "store:_principals/resource/29"} ], "es:metadata": {"@id": "store:9/metadata/20"}, "es:resource": {"@id": "store:9/resource/20"} }], "@id": "store:9/entry/20", "@context": { "dcterms": "http://purl.org/dc/terms/", "store": "https://data.visitsweden.com/store/", "es": "http://entrystore.org/terms/" } } }]}, "limit": 1, "results": 4245, "facetFields": [] }
I would like to query on certain localities or certain coordinates.
Regards Hans