Interface GraphToJsonMapper

All Known Subinterfaces:
GraphToJsonMapperNode
All Known Implementing Classes:
GraphToJsonEdgeMapper, GraphToJsonIndexMapper, GraphToJsonNodeMapperFragmentBody, GraphToJsonNodeMapperFragmentHead, GraphToJsonNodeMapperLiteral, GraphToJsonNodeMapperObject, GraphToJsonNodeMapperObjectLike, GraphToJsonPropertyMapper

public interface GraphToJsonMapper
Interface for mapping RDF graphs to tree structures. FIXME Should be rename to something like GraphToTreeMapper. FIXME Currently the interface is tied to JsonElement, but it should be generalized to RdfElement which is an RDF-centric superset of JSON.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gson.JsonElement
    map(org.aksw.commons.path.json.PathJson path, com.google.gson.JsonArray errors, org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node node)
     
  • Method Details

    • map

      com.google.gson.JsonElement map(org.aksw.commons.path.json.PathJson path, com.google.gson.JsonArray errors, org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node node)