3.3.5 Type checking predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog Semantic Web Library 3.0
Two RDF APIs
library(semweb/rdf_db): The RDF database
Type checking predicates
rdf_is_resource/1
rdf_is_bnode/1
rdf_is_literal/1
Availability:
:- use_module(
library(semweb/rdf_db)
).
[semidet]
rdf_is_resource
(
@Term
)
True if
Term
is an RDF resource. Note that this is merely a type-test; it does not mean this resource is involved in any triple. Blank nodes are also considered resources.
See also
rdf_is_bnode/1