ARPANET Again
Learn additional DQL features using the ARPANET graph in Dgraph.
We'll cover the following...
Here, we’ll revisit the ARPANET graph and also look at some additional DQL features: inverses, paths, and recursion.
Dgraph schema for the ARPANET
Here’s the DGraph schema for the ARPANET graph:
import GraphCommons
import RDFGraph
import RDF.Sigils
alias RDFGraph.Vocab.{DC, BIBO, DCTERMS, EVENT, FOAF, PRISM, SCHEMA, STATUS}
import GraphCommons.Utils ; alias GraphCommons.Utils
rdf_store :local
DGraph schema for ARPANET
Note the @reverse directive set on the H_LINK predicate. Also note the ~ syntax used to indicate an inverse predicate ...
Ask