- lib
- semweb
- rdf_label.pl -- Generate labels for RDF objects
- rdf_optimise.pl
- rdf_file_type.pl -- Load RDF data from unknown file-type
- rdf_json.pl -- JSON Representation for RDF graphs
- rdf_describe.pl -- RDF Bounded descriptions
- rdf_bnode.pl -- RDF graph operations on bnodes
- rdf_schema.pl
- rdf_graphviz.pl -- Interface to graphviz for RDF graphs
- rdf_abstract.pl -- Abstract RDF graphs
- rdf_description.pl -- Deal with descriptive nodes in RDF models
- semweb
- bnode_vars(+RDF, -RDFWithVars, -Vars) is det
- Consistently replace bnodes in RDF with Prolog variable and
unify Vars with a list of the variables found. Note that, if we
perform matches with such graphs, multiple variables may unify
to the same concrete resource. One might consider adding
constraints such as dif/2.
- Arguments:
-
RDF - is a list rdf(S,P,O)
Resolved - is a list rdf(S,P,O)
, where resources may be a variableNodeIDs - is a list of variables representing the bnodes.