Interface RdfSubject

    • Method Detail

      • has

        default TriplePattern has​(RdfPredicate predicate,
                                  RdfObject... objects)
        Create a triple pattern from this subject and the given predicate and object
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
        See Also:
        Triple pattern syntax
      • has

        default TriplePattern has​(IRI predicate,
                                  RdfObject... objects)
        Create a triple pattern from this subject and the given predicate and object
        Parameters:
        predicate - the predicate IRI of the triple pattern
        objects - the object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
        See Also:
        Triple pattern syntax
      • has

        default TriplePattern has​(RdfPredicate predicate,
                                  Value... values)
        Create a triple pattern from this subject and the given predicate and object
        Parameters:
        predicate - the predicate of the triple pattern
        values - the object value(s) of the triple pattern.
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
        See Also:
        Triple pattern syntax
      • has

        default TriplePattern has​(IRI predicate,
                                  Value... values)
        Create a triple pattern from this subject and the given predicate and object
        Parameters:
        predicate - the predicate IRI of the triple pattern
        values - the object value(s) of the triple pattern.
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
        See Also:
        Triple pattern syntax
      • has

        default TriplePattern has​(RdfPredicate predicate,
                                  java.lang.String... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts String objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the String object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • has

        default TriplePattern has​(IRI predicate,
                                  java.lang.String... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts String objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the String object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • has

        default TriplePattern has​(RdfPredicate predicate,
                                  java.lang.Number... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts Number objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the Number object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • has

        default TriplePattern has​(IRI predicate,
                                  java.lang.Number... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts Number objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the Number object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • has

        default TriplePattern has​(RdfPredicate predicate,
                                  java.lang.Boolean... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts Boolean objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the Boolean object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • has

        default TriplePattern has​(IRI predicate,
                                  java.lang.Boolean... objects)
        Wrapper for has(RdfPredicate, RdfObject...) that converts Boolean objects into RdfLiteral instances
        Parameters:
        predicate - the predicate of the triple pattern
        objects - the Boolean object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate and object(s)
      • isA

        default TriplePattern isA​(RdfObject... objects)
        Use the built-in shortcut "a" for rdf:type to build a triple with this subject and the given objects
        Parameters:
        objects - the objects to use to describe the rdf:type of this subject
        Returns:
        a TriplePattern object with this subject, the "a" shortcut predicate, and the given objects
        See Also:
        RDF Type abbreviation
      • isA

        default TriplePattern isA​(IRI... objects)
        Use the built-in shortcut "a" for rdf:type to build a triple with this subject and the given objects
        Parameters:
        objects - the objects to use to describe the rdf:type of this subject
        Returns:
        a TriplePattern object with this subject, the "a" shortcut predicate, and the given objects
        See Also:
        RDF Type abbreviation
      • has

        default TriplePattern has​(java.util.function.Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer,
                                  RdfObject... objects)
        Create a triple pattern from this subject, predicate path and object.
        Parameters:
        propertyPathConfigurer - an object that accepts an EmptyPropertyPathBuilder
        objects - the object(s) of the triple pattern
        Returns:
        a new TriplePattern with this subject, and the given predicate path and object(s)