public ComponentPrototypeGraph(Uri u, ReadOnlyComponentPrototype p) : base(u) { componentPrototype = p; RDFGraph.NamespaceMap.AddNamespace("eca", new Uri("http://www.dfki.de/eca#")); ECA_COMPONENT = RDFGraph.CreateUriNode("eca:component"); attributesGraph = new Graph(); attributesGraph.NamespaceMap.AddNamespace("rdf", new Uri("http://www.w3.org/1999/02/22-rdf-syntax-ns#")); attributesGraph.NamespaceMap.AddNamespace("ldp", new Uri("http://www.w3.org/ns/ldp#")); attributesGraph.NamespaceMap.AddNamespace("dct", new Uri("http://purl.org/dc/terms/")); attributesGraph.NamespaceMap.AddNamespace("rdfs", new Uri("http://www.w3.org/2000/01/rdf-schema#")); attributesGraph.NamespaceMap.AddNamespace("eca", new Uri("http://www.dfki.de/eca#")); createAttributePrototypesGraph(); BuildRDFGraph(); RDFGraph.Merge(attributesGraph, false); }
public void Extend(Graph g) { RDFGraph.Merge(g); }