3.3.2 Enumerating objects
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Two RDF APIs
          • library(semweb/rdf_db): The RDF database
            • Enumerating objects
              • rdf_subject/1
              • rdf_resource/1
              • rdf_current_predicate/1
              • rdf_current_literal/1
              • rdf_graph/1
              • rdf_current_ns/2
Availability::- use_module(library(semweb/rdf_db)).
Source[nondet]rdf_current_predicate(?Predicate)
True when Predicate is a currently known predicate. Predicates are created if a triples is created that uses this predicate or a property of the predicate is set using rdf_set_predicate/2. The predicate may (no longer) have triples associated with it.

Note that resources that have rdf:type rdf:Property are not automatically included in the result-set of this predicate, while all resources that appear as the second argument of a triple are included.

See also
rdf_predicate_property/2.