/// <summary> /// Gets a graph representation of this target /// </summary> internal override RDFGraph ToRDFGraph(RDFShape shape) { var result = new RDFGraph(); //sh:targetSubjectsOf if (shape != null) { result.AddTriple(new RDFTriple(shape, RDFVocabulary.SHACL.TARGET_SUBJECTS_OF, this.TargetValue)); } return(result); }
/// <summary> /// Gets a graph representation of this target /// </summary> internal override RDFGraph ToRDFGraph(RDFShape shape) { var result = new RDFGraph(); //sh:targetClass if (shape != null) { result.AddTriple(new RDFTriple(shape, RDFVocabulary.SHACL.TARGET_CLASS, this.TargetValue)); } return(result); }
/// <summary> /// Gets a graph representation of this target /// </summary> internal abstract RDFGraph ToRDFGraph(RDFShape shape);