This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { QueryEngine } = require("@comunica/query-sparql"); | |
const { Store, Parser } = require("n3"); | |
const rdfData = ` | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix ex: <http://example.org/> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
ex:personA a ex:Person. | |
#ex:personA ex:hasName "Homer". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { QueryEngine } = require("@comunica/query-sparql"); | |
const { Store, Parser } = require("n3"); | |
const rdfData = ` | |
@prefix : </#>. | |
@prefix ont: <http://example.org/ontology#>. | |
@prefix m: <http://openmath.org/vocab/math#>. | |
ont:myApplication_equals | |
a m:Application; |