All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3.banana.n3js.N3js.scala Maven / Gradle / Ivy

The newest version!
package org.w3.banana
package n3js

/** A N3.js-based implementation of the RDF model.
  * 
  * For now, only the URIs and Literal are natively handled by N3.js.
  */
trait N3js extends RDF {

  // types related to the RDF datamodel
  type Graph = plantain.model.Graph[Node, URI, Node]
  type Triple = (Node, URI, Node)
  type Node = Any
  type URI = String
  type BNode = n3js.BNode
  type Literal = String
  type Lang = String

  type MGraph = n3js.MGraph[Node, URI, Node]

  // types for the graph traversal API
  type NodeMatch = Node
  type NodeAny = Null

}

object N3js extends N3jsModule




© 2015 - 2025 Weber Informatics LLC | Privacy Policy