Fixed exception caused by faulty parsing due to wrong quotes
@@ -46,7 +46,7 @@ const mobilityUseCases = {
const baseFilter = {
prefixes: {
won: won.defaultContext["won"],
- s: "http://schema.org/",
+ s: won.defaultContext["s"],
},
operations: [
`${resultName} a won:Need.`,
@@ -89,7 +89,7 @@ const mobilityUseCases = {
`${resultName} a <http://dbpedia.org/resource/Ridesharing>. ${resultName} won:travelAction/s:fromLocation ?fromLocation. `,
fromLocation && fromLocationFilter.operations.join(" "),
toLocation &&
- "${resultName} won:travelAction/s:toLocation ?toLocation.",
+ `${resultName} won:travelAction/s:toLocation ?toLocation.`,
toLocation && toLocationFilter.operations.join(" "),
],
" "
