Example #1
0
 /// <summary>
 /// Removes a <em>owl:priorVersion</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemovePriorVersion(OntologyResource resource)
 {
     return this.RemovePriorVersion(resource.Resource);
 }
Example #2
0
 /// <summary>
 /// Adds a new super-class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddSuperClass(OntologyResource resource)
 {
     return this.AddSuperClass(resource.Resource);
 }
Example #3
0
 /// <summary>
 /// Removes a <em>owl:incompatibleWith</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveIncompatibleWith(OntologyResource resource)
 {
     return this.RemoveIncompatibleWith(resource.Resource);
 }
Example #4
0
 /// <summary>
 /// Removes a <em>owl:imports</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveImports(OntologyResource resource)
 {
     return this.RemoveImports(resource.Resource);
 }
Example #5
0
 /// <summary>
 /// Removes an equivalent property for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveEquivalentProperty(OntologyResource resource)
 {
     return this.RemoveEquivalentProperty(resource.Resource);
 }
Example #6
0
 /// <summary>
 /// Removes a super-class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveSuperClass(OntologyResource resource)
 {
     return(this.RemoveSuperClass(resource.Resource));
 }
 /// <summary>
 /// Removes a <em>rdfs:isDefinedBy</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveIsDefinedBy(OntologyResource resource)
 {
     return(RemoveIsDefinedBy(resource.Resource));
 }
Example #8
0
 /// <summary>
 /// Adds a new domain for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddDomain(OntologyResource resource)
 {
     return this.AddDomain(resource.Resource);
 }
Example #9
0
 /// <summary>
 /// Removes a disjoint class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveDisjointClass(OntologyResource resource)
 {
     return(this.RemoveDisjointClass(resource.Resource));
 }
 /// <summary>
 /// Adds a new <em>rdfs:isDefinedBy</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddIsDefinedBy(OntologyResource resource)
 {
     return(AddIsDefinedBy(resource.Resource));
 }
Example #11
0
 /// <summary>
 /// Adds a new disjoint class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddDisjointClass(OntologyResource resource)
 {
     return(this.AddDisjointClass(resource.Resource));
 }
Example #12
0
 /// <summary>
 /// Removes an equivalent class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveEquivalentClass(OntologyResource resource)
 {
     return(this.RemoveEquivalentClass(resource.Resource));
 }
Example #13
0
 /// <summary>
 /// Adds an equivalent class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddEquivalentClass(OntologyResource resource)
 {
     return(this.AddEquivalentClass(resource.Resource));
 }
Example #14
0
 /// <summary>
 /// Adds an equivalent class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddEquivalentClass(OntologyResource resource)
 {
     return this.AddEquivalentClass(resource.Resource);
 }
 /// <summary>
 /// Adds a new <em>rdfs:seeAlso</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddSeeAlso(OntologyResource resource)
 {
     return(AddSeeAlso(resource.Resource));
 }
Example #16
0
 /// <summary>
 /// Adds a new disjoint class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddDisjointClass(OntologyResource resource)
 {
     return this.AddDisjointClass(resource.Resource);
 }
 /// <summary>
 /// Removes a <em>rdfs:seeAlso</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveSeeAlso(OntologyResource resource)
 {
     return(RemoveSeeAlso(resource.Resource));
 }
Example #18
0
 /// <summary>
 /// Adds a new range for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddRange(OntologyResource resource)
 {
     return this.AddRange(resource.Resource);
 }
 /// <summary>
 /// Adds a new <em>rdf:type</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddType(OntologyResource resource)
 {
     return(AddType(resource.Resource));
 }
Example #20
0
 /// <summary>
 /// Adds a super-property for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddSuperProperty(OntologyResource resource)
 {
     return this.AddSuperProperty(resource.Resource);
 }
 /// <summary>
 /// Removes a <em>rdf:type</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveType(OntologyResource resource)
 {
     return(RemoveType(resource.Resource));
 }
Example #22
0
 /// <summary>
 /// Adds a new <em>owl:incompatibleWith</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddIncompatibleWith(OntologyResource resource)
 {
     return this.AddIncompatibleWith(resource.Resource);
 }
Example #23
0
 /// <summary>
 /// Adds a new domain for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddDomain(OntologyResource resource)
 {
     return(this.AddDomain(resource.Resource));
 }
Example #24
0
 /// <summary>
 /// Adds a new <em>owl:imports</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddImports(OntologyResource resource)
 {
     return this.AddImports(resource.Resource);
 }
Example #25
0
 /// <summary>
 /// Removes a domain for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveDomain(OntologyResource resource)
 {
     return(this.RemoveDomain(resource.Resource));
 }
Example #26
0
 /// <summary>
 /// Adds a new <em>owl:priorVersion</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddPriorVersion(OntologyResource resource)
 {
     return this.AddPriorVersion(resource.Resource);
 }
Example #27
0
 /// <summary>
 /// Adds a new range for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddRange(OntologyResource resource)
 {
     return(this.AddRange(resource.Resource));
 }
Example #28
0
 /// <summary>
 /// Adds a new <em>owl:backwardsCompatibleWith</em> triple for this Ontology
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddBackwardsCompatibleWith(OntologyResource resource)
 {
     return this.AddBackwardsCompatibleWith(resource.Resource);
 }
Example #29
0
 /// <summary>
 /// Removes a range for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveRange(OntologyResource resource)
 {
     return(this.RemoveRange(resource.Resource));
 }
Example #30
0
 /// <summary>
 /// Removes a super-class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveSuperClass(OntologyResource resource)
 {
     return this.RemoveSuperClass(resource.Resource);
 }
Example #31
0
 /// <summary>
 /// Removes a <em>owl:differentFrom</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 /// <remarks>
 /// This overload also removes this resource as different from the given resource
 /// </remarks>
 public bool RemoveDifferentFrom(OntologyResource resource)
 {
     bool a = this.RemoveDifferentFrom(resource.Resource);
     bool b = resource.RemoveDifferentFrom(this._resource);
     return (a || b);
 }
Example #32
0
 /// <summary>
 /// Removes an equivalent class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveEquivalentClass(OntologyResource resource)
 {
     return this.RemoveEquivalentClass(resource.Resource);
 }
Example #33
0
 /// <summary>
 /// Adds a new <em>rdfs:isDefinedBy</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddIsDefinedBy(OntologyResource resource)
 {
     return this.AddIsDefinedBy(resource.Resource);
 }
Example #34
0
 /// <summary>
 /// Removes a disjoint class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveDisjointClass(OntologyResource resource)
 {
     return this.RemoveDisjointClass(resource.Resource);
 }
Example #35
0
 /// <summary>
 /// Removes a <em>rdfs:isDefinedBy</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveIsDefinedBy(OntologyResource resource)
 {
     return this.RemoveIsDefinedBy(resource.Resource);
 }
Example #36
0
 /// <summary>
 /// Removes a domain for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveDomain(OntologyResource resource)
 {
     return this.RemoveDomain(resource.Resource);
 }
Example #37
0
 /// <summary>
 /// Removes a <em>owl:sameAs</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 /// <remarks>
 /// This overload also removes the <em>owl:sameAs</em> triple for the given resource
 /// </remarks>
 public bool RemoveSameAs(OntologyResource resource)
 {
     bool a = this.RemoveSameAs(resource.Resource);
     bool b = resource.RemoveSameAs(this._resource);
     return (a || b);
 }
Example #38
0
 /// <summary>
 /// Removes a range for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveRange(OntologyResource resource)
 {
     return this.RemoveRange(resource.Resource);
 }
Example #39
0
 /// <summary>
 /// Adds a new <em>rdfs:seeAlso</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddSeeAlso(OntologyResource resource)
 {
     return this.AddSeeAlso(resource.Resource);
 }
Example #40
0
 /// <summary>
 /// Adds an inverse property for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddInverseProperty(OntologyResource resource)
 {
     return this.AddInverseProperty(resource.Resource);
 }
Example #41
0
 /// <summary>
 /// Removes a <em>rdfs:seeAlso</em> triple for the resource
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveSeeAlso(OntologyResource resource)
 {
     return this.RemoveSeeAlso(resource.Resource);
 }
Example #42
0
 /// <summary>
 /// Removes a super-property for the property
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool RemoveSuperProperty(OntologyResource resource)
 {
     return this.RemoveSuperProperty(resource.Resource);
 }
Example #43
0
 /// <summary>
 /// Adds a new super-class for this class
 /// </summary>
 /// <param name="resource">Resource</param>
 /// <returns></returns>
 public bool AddSuperClass(OntologyResource resource)
 {
     return(this.AddSuperClass(resource.Resource));
 }