Skip to content

Commit

Permalink
Use S2Cell_Level13
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasThelen committed Sep 5, 2024
1 parent 49f0111 commit 61924dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/services/query.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export class QueryService {
) {
placeQuery += `
?entity kwg-ont:sfWithin ?s2cell.
?s2cell rdf:type kwg-ont:KWGCellLevel13;
?s2cell rdf:type kwg-ont:S2Cell_Level13;
kwg-ont:spatialRelation ?placesConnectedToS2.
?placesConnectedToS2 kwg-ont:sfWithin ?superPlacesConnectedToS2.
`
Expand Down Expand Up @@ -713,7 +713,7 @@ export class QueryService {

placeSearchQuery += `
?entity kwg-ont:sfWithin ?s2Cell .
?s2Cell rdf:type kwg-ont:KWGCellLevel13;
?s2Cell rdf:type kwg-ont:S2Cell_Level13;
kwg-ont:spatialRelation ?gnisEntity.
?gnisEntity kwg-ont:sfWithin ?s2cellGNIS;
rdf:type ?gnisPlaceType.
Expand All @@ -724,7 +724,7 @@ export class QueryService {
.map((uri) => `<${uri}>`)
.join(' ')
placeSearchQuery += `
?s2cellGNIS rdf:type kwg-ont:KWGCellLevel13 .
?s2cellGNIS rdf:type kwg-ont:S2Cell_Level13 .
values ?placesConnectedToS2 { ${placeEntitiesConnected} }
?s2cellGNIS kwg-ont:spatialRelation ?placesConnectedToS2.
`
Expand All @@ -735,7 +735,7 @@ export class QueryService {
.join(' ')
placeSearchQuery += `
?entity kwg-ont:spatialRelation ?s2Cell .
?s2Cell rdf:type kwg-ont:KWGCellLevel13 .
?s2Cell rdf:type kwg-ont:S2Cell_Level13 .
values ?placesConnectedToS2 { ${placeEntitiesConnected} }
?s2Cell kwg-ont:spatialRelation+ ?placesConnectedToS2.
`
Expand Down

0 comments on commit 61924dd

Please sign in to comment.