sparql-examples

A set of SPARQL examples that are used in test resources

View the Project on GitHub mxenoph/sparql-examples

Statistics for SPARQL algebra features in use

Some basic statisics on SPARQL algebra features, as determined after parsing with RDF4j.

Statitics are collected over 1198 queries. Using 6.65 statement patterns per query.

Type Count Queries
Statement patterns 7965 1195
Filter 795 579
Optional 138 72
Property path 144 109
Service 121 98
Union 148 96
Minus 1 1
Exists 188 129
Group 177 167
Order 202 201
Aggregate 519 167
- Average 8 4
- Count 400 141
- GroupConcat 60 26
- Max 4 2
- Min 4 2
- Sample 33 10
- Sum 10 3

Note describe queries may have zero statement patterns.

Statistics for SPARQL variables and constants

This is distinct constants and variables. Two uses of the same IRI predicate in multiple triple patterns count as one constant.

Count Avg
Variables 16011 13.36
Constants 8868 7.4