UNPKG

deep-taxonomy-benchmark

Version:

Generate the Deep Taxonomy Benchmark for testing RDF Reasoners

19 lines (18 loc) 985 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRdfs = exports.getOwl = exports.getTimblAndFoaf = exports.getFoaf = exports.getTimbl = void 0; const n3_1 = require("n3"); const foaf_1 = require("./data/foaf"); const owl_1 = require("./data/owl"); const rdfs_1 = require("./data/rdfs"); const timbl_1 = require("./data/timbl"); const getTimbl = () => new n3_1.Store(new n3_1.Parser().parse(timbl_1.data)); exports.getTimbl = getTimbl; const getFoaf = () => new n3_1.Store(new n3_1.Parser().parse(foaf_1.data)); exports.getFoaf = getFoaf; const getTimblAndFoaf = () => new n3_1.Store([...new n3_1.Parser().parse(timbl_1.data), ...new n3_1.Parser().parse(foaf_1.data)]); exports.getTimblAndFoaf = getTimblAndFoaf; const getOwl = () => new n3_1.Store(new n3_1.Parser({ format: 'n3' }).parse(owl_1.data)); exports.getOwl = getOwl; const getRdfs = () => new n3_1.Store(new n3_1.Parser({ format: 'n3' }).parse(rdfs_1.data)); exports.getRdfs = getRdfs;