Personal Knowledge Graphs, Ontology, Datalog, AI.
for abstract edges or nodes or do something in a more polymorphic way. gedge(f,t,r) :- edge(f,t,r), gnode(f), gnode(t). gedge(f,t,"friend") :- efriend(f,t). gedge(f,t,"has") :- ehas(f,t). gedge(f,t,"love") :- elove(f,t). gedge(f,t,"livein") :- elivein(f,t). Now it is time to ask all relations for