Package n10s.endpoint

Class RDFEndpoint

java.lang.Object
n10s.endpoint.RDFEndpoint

public class RDFEndpoint extends Object
Created by jbarrasa on 08/09/2016. Imported RDF ( graph config present ) * ignore -> apply default schema namespacing and use ids prefixed with default base for uris * map -> apply mapping when present and for unmapped elements apply 'ignore' logic * shorten -> namespaces present (apply) * keep -> no namespaces present. Just serialise (eventually generate them dynamically) Not imported RDF (no GraphConfig) * apply default schema namespacing and use ids prefixed with default base for uris [behavior is very similar to the 'IGNORE'] Mixed cases. Imported RDF (ignore or map) on existing graph: Some nodes will have uris, others won't Requests by uri? or by nodeid? maybe always by uri. in case of not imported, still generate it with the prefix on the requester side?
  • Constructor Details

    • RDFEndpoint

      public RDFEndpoint()
  • Method Details

    • ping

      public javax.ws.rs.core.Response ping() throws IOException
      Throws:
      IOException
    • nodebyIdOrUri

      public javax.ws.rs.core.Response nodebyIdOrUri(@Context org.neo4j.dbms.api.DatabaseManagementService gds, String dbNameParam, String nodeIdentifier, String namedGraphId, String excludeContextParam, String onlyMappedInfo, String format, @HeaderParam("accept") String acceptHeaderParam)
    • nodefind

      public javax.ws.rs.core.Response nodefind(@Context org.neo4j.dbms.api.DatabaseManagementService gds, String dbNameParam, String label, String property, String propVal, String valType, String excludeContextParam, String onlyMappedInfo, String format, @HeaderParam("accept") String acceptHeaderParam)
    • cypher

      public javax.ws.rs.core.Response cypher(@Context org.neo4j.dbms.api.DatabaseManagementService gds, String dbNameParam, @HeaderParam("accept") String acceptHeaderParam, String body)
    • exportOnto

      public javax.ws.rs.core.Response exportOnto(@Context org.neo4j.dbms.api.DatabaseManagementService gds, String dbNameParam, String format, @HeaderParam("accept") String acceptHeaderParam)