Ruben Verborgh, Ghent University – imec
API Platform Conference, 15 September 2022
Based on my blog post Reflections of knowledge
Ruben Verborgh
Ghent University – imec
How can Web clients interact with
decentralized knowledge graphs?
The sum of multiple knowledge graphs
is an even bigger knowledge graph.
The sum of multiple Web APIs
is an even bigger mess.
# List 10 people and their names
{
person(first:10) {
name
}
}
# List 10 people and their names
{
users(first:10) {
fullName
}
}
# List 10 people and their names
{
friends(first:10) {
displayName
}
}
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# List 10 people and their names
SELECT * {
?person a dbo:Person;
rdfs:label ?name.
}
LIMIT 10
GraphQLmeans actually 2 things:
query APIis meaningless:
/orders?id=5787
/graphql?query={order(id:5787){product}}