Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 701 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 701 Bytes

Data Analyzer Test

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.

How to run

Run docker-compose up -d.

Results in folder results.