public static OWLAnnotationProperty RDFSComment() { return DF.getRDFSComment(); }
public static OWLAnnotationProperty RDFSComment() { return DF.getRDFSComment(); }
public static OWLAnnotationProperty RDFSComment() { return DF.getRDFSComment(); }
public static OWLAnnotationProperty RDFSComment() { return DF.getRDFSComment(); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value) { return getOWLAnnotation(getRDFSComment(), value); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value) { return getOWLAnnotation(getRDFSComment(), value); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value) { return getOWLAnnotation(getRDFSComment(), value); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), value, annotations); } }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), value, annotations); } }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(OWLAnnotationValue value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), value, annotations); } }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value)); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value)); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)} * * @param value The annotation value. * @param annotations annotations * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value, Stream<OWLAnnotation> annotations) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations); }
/** * Shorthand for * {@code getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))} * * @param value The annotation value. * @return an rdfs:comment annotation with provided value */ default OWLAnnotation getRDFSComment(String value) { return getOWLAnnotation(getRDFSComment(), getOWLLiteral(value)); }
xrefDescriptions.add(df.getRDFSComment(xrefQuotedString));
xrefDescriptions.add(df.getRDFSComment(xrefQuotedString));
if (xrefQuotedString != null) { xrefDescriptions = new HashSet<OWLAnnotation>(); xrefDescriptions.add(df.getOWLAnnotation(df.getRDFSComment(), df.getOWLLiteral(xrefQuotedString)));
@NonNull public Set<@NonNull OWLAnnotation> generateRuleAnnotations(@NonNull String ruleName, @NonNull String comment, boolean isRuleEnabled) { OWLAnnotation labelAnnotation = getOWLDataFactory() .getOWLAnnotation(getOWLDataFactory().getRDFSLabel(), getOWLDataFactory().getOWLLiteral(ruleName)); OWLAnnotation commentAnnotation = getOWLDataFactory() .getOWLAnnotation(getOWLDataFactory().getRDFSComment(), getOWLDataFactory().getOWLLiteral(comment)); OWLAnnotationProperty isRuleEnabledAnnotationProperty = getOWLDataFactory() .getOWLAnnotationProperty(IRI.create("http://swrl.stanford.edu/ontologies/3.3/swrla.owl#isRuleEnabled")); OWLAnnotation isRuleEnabledAnnotation = getOWLDataFactory() .getOWLAnnotation(isRuleEnabledAnnotationProperty, getOWLDataFactory().getOWLLiteral(isRuleEnabled)); Set<@NonNull OWLAnnotation> annotations = new HashSet<>(); annotations.add(labelAnnotation); annotations.add(commentAnnotation); annotations.add(isRuleEnabledAnnotation); return annotations; }