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_iri(@IRI)
True if IRI is an RDF IRI term.

For performance reasons, this does not check for compliance to the syntax defined in RFC 3987. This checks whether the term is (1) an atom and (2) not a blank node identifier.

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