Testing the /kb
API of the MODAClouds Tower 4Clouds Data Analyzer. The following query counting the number of friendships is run multiple times while increasing the size of the knowledge base with randomly generated persons and friendships relations:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://example.org#>
SELECT (COUNT (*) as ?count)
WHERE
{
?s rdf:type ex:Person ;
ex:friendOf ?p .
?p rdf:type ex:Person .
}
Query execution time as well as jvm memory consumption is recorded.
Run docker-compose up -d
.
Results in folder results
.