3.1.2 Enumerating and testing objects
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Two RDF APIs
          • library(semweb/rdf11): The RDF database
            • Enumerating and testing objects
              • rdf_subject/1
              • rdf_predicate/1
              • rdf_object/1
              • rdf_node/1
              • rdf_graph/1
              • rdf_literal/1
              • rdf_bnode/1
              • rdf_iri/1
              • rdf_name/1
              • rdf_term/1
              • rdf_is_iri/1
              • rdf_is_bnode/1
              • rdf_is_literal/1
              • rdf_is_name/1
              • rdf_is_object/1
              • rdf_is_predicate/1
              • rdf_is_subject/1
              • rdf_is_term/1
Availability::- use_module(library(semweb/rdf11)).
Source[semidet]rdf_is_predicate(@Term)
True if Term can appear in the predicate position of a triple.

Success of this goal does not imply that the predicate term is present in the database (see rdf_predicate/1 for that).

Since only IRIs can appear in the predicate position, this is equivalent to rdf_is_iri/1.