• Jump To … +
    IRIs.js N3DataFactory.js N3Lexer.js N3Parser.js N3Store.js N3StreamParser.js N3StreamWriter.js N3Util.js N3Writer.js index.js
  • IRIs.js

  • §
    const RDF  = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
        XSD  = 'http://www.w3.org/2001/XMLSchema#',
        SWAP = 'http://www.w3.org/2000/10/swap/';
    
    export default {
      xsd: {
        decimal: `${XSD}decimal`,
        boolean: `${XSD}boolean`,
        double:  `${XSD}double`,
        integer: `${XSD}integer`,
        string:  `${XSD}string`,
      },
      rdf: {
        type:       `${RDF}type`,
        nil:        `${RDF}nil`,
        first:      `${RDF}first`,
        rest:       `${RDF}rest`,
        langString: `${RDF}langString`,
      },
      owl: {
        sameAs: 'http://www.w3.org/2002/07/owl#sameAs',
      },
      r: {
        forSome: `${SWAP}reify#forSome`,
        forAll:  `${SWAP}reify#forAll`,
      },
      log: {
        implies: `${SWAP}log#implies`,
      },
    };