Skip to content

Commit

Permalink
updated demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan committed Aug 26, 2024
1 parent a0d5d7e commit b71558d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/demos/leaflet-graphql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ <h3>Edit GraphQL Query</h3>
norse: "https://w3id.org/aksw/norse#",
coy: "https://schema.coypu.org/global#"})
{
locations(limit: 10) @pattern(of: "?s a coy:Country", from: "s", to: "s") {
locations(limit: 10) @pattern(of: "?s a coy:Country") {
type @bind(of: "'Feature'")
properties {
style {
color @bind(of: "'blue'")
fillColor @bind(of: "'green'")
opacity @bind(of: "0.65")
}
label @one @pattern(of: "?s rdfs:label ?o . FILTER(langMatches(lang(?o), 'en'))", from: "s", to: "o")
label @one @pattern(of: "?s rdfs:label ?o . FILTER(langMatches(lang(?o), 'en'))")
}
geometry @one
@pattern(of: """
Expand All @@ -153,7 +153,7 @@ <h3>Edit GraphQL Query</h3>
coy: "https://schema.coypu.org/global#",
afn: "http://jena.apache.org/ARQ/function#"})
{
locations(limit: 1000) @pattern(of: "?s a coy:Country", from: "s", to: "s") {
locations(limit: 1000) @pattern(of: "?s a coy:Country") {
type @bind(of: "'Feature'")
properties {
style {
Expand All @@ -164,7 +164,7 @@ <h3>Edit GraphQL Query</h3>
}
id @bind(of: "?s")
label @one @pattern(of: "?s rdfs:label ?o . FILTER(langMatches(lang(?o), 'en'))", from: "s", to: "o")
label @one @pattern(of: "?s rdfs:label ?o . FILTER(langMatches(lang(?o), 'en'))")
features
@index(by: "afn:localname(?p)", oneIf: "?pc = 1")
Expand Down

0 comments on commit b71558d

Please sign in to comment.