Fixed Bug in need query
No location was selected - fixed.
@@ -890,7 +890,7 @@ import won from './won.js';
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"dct" : "http://purl.org/dc/terms/",
"dc" : "http://purl.org/dc/elements/1.1/",
- "s" : "http://schema.org/>"
+ "s" : "http://schema.org/"
},
roots: [
@@ -915,6 +915,9 @@ import won from './won.js';
{node: "dc:title"},
{node: "dc:description"},
{node: "won:hasTag"},
+ {
+ node: "won:hasLocation",
+ children: [
{
node: "s:geo",
children: [
@@ -935,7 +938,7 @@ import won from './won.js';
]
},
{
- node: "won:hasNorthWestCorner",
+ node: "won:hasSouthEastCorner",
children: [
{node: "rdf:type"},
{node: "s:latitude"},
@@ -946,6 +949,8 @@ import won from './won.js';
]
}
]
+ }
+ ]
},
{
node: "won:is",
@@ -953,6 +958,11 @@ import won from './won.js';
{node: "dc:title"},
{node: "dc:description"},
{node: "won:hasTag"},
+ {
+ node: "won:hasLocation",
+ children: [
+ {node: "s:name"},
+ {node: "rdf:type"},
{
node: "s:geo",
children: [
@@ -964,6 +974,7 @@ import won from './won.js';
{
node: "won:hasBoundingBox",
children: [
+ {node: "rdf:type"},
{
node: "won:hasNorthWestCorner",
children: [
@@ -973,7 +984,7 @@ import won from './won.js';
]
},
{
- node: "won:hasNorthWestCorner",
+ node: "won:hasSouthEastCorner",
children: [
{node: "rdf:type"},
{node: "s:latitude"},
@@ -986,6 +997,8 @@ import won from './won.js';
]
}
]
+ }
+ ]
};
/*
for (let j = 0; j < 1; j++) {
@@ -1246,7 +1259,7 @@ import won from './won.js';
return jld.promises.frame(complexJsonLd_, frame);
})
.then(framed => {
- console.log('framed: ', framed);
+ //console.log('framed: ', framed);
return framed;
})
.catch(err => {
