Package org.topbraid.spin.model

Examples of org.topbraid.spin.model.NamedGraph


    public InsertDataBuilder data(URI graphUri, RDFList dataList)
    {
  if (graphUri == null) throw new IllegalArgumentException("INSERT DATA graph resource cannot be null");
  if (dataList == null) throw new IllegalArgumentException("INSERT DATA data List cannot be null");

  NamedGraph graph = getModel().createResource().
      addProperty(RDF.type, SP.NamedGraph).
      addProperty(SP.graphNameNode, getModel().createResource(graphUri.toString())).
      as(NamedGraph.class);
 
  return data(graph, dataList);
View Full Code Here

TOP

Related Classes of org.topbraid.spin.model.NamedGraph

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.