• Places
    • Home
    • Graphs
    • Prefixes
  • Amalgame
    • Alignment interface
    • Vocabulary browser
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

11 library(semweb/rdf_compare): Compare RDF graphs
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • library(semweb/rdf_compare): Compare RDF graphs
          • rdf_equal_graphs/3
[semidet]rdf_equal_graphs(+GraphA, +GraphB, -Substition)
True if GraphA and GraphB are the same under Substition. Substition is a list of BNodeA = BNodeB, where BNodeA is a blank node that appears in GraphA and BNodeB is a blank node that appears in GraphB.
GraphA is a list of rdf(S,P,O) terms
GraphB is a list of rdf(S,P,O) terms
Substition is a list if NodeA = NodeB terms.
To be done
The current implementation is rather naive. After dealing with the subgraphs that contain no bnodes, it performs a fully non-deterministic substitution.
ClioPatria (version V3.1.1-21-gb8003bb)