3.1.6 Accessing RDF collections
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog Semantic Web Library 3.0
Two RDF APIs
library(semweb/rdf11): The RDF database
Accessing RDF collections
rdf_last/2
rdf_list/1
rdf_list/2
rdf_length/2
rdf_member/2
rdf_nth0/3
rdf_nth1/3
rdf_assert_list/2
rdf_assert_list/3
rdf_retract_list/1
Availability:
:- use_module(
library(semweb/rdf11)
).
[det]
rdf_last
(
+RDFList, -Last
)
True when
Last
is the last element of
RDFList
. Note that if the last cell has multiple rdf:first triples, this predicate becomes nondet.