sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/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 1219 queries. Using 6.75 statement patterns per query.

Type Count Queries
Statement patterns 8228 1216
Filter 816 595
Optional 142 74
Property path 149 112
Service 129 104
Union 140 92
Minus 2 2
Exists 187 128
Group 171 161
Order 203 202
Aggregate 502 161
- Average 8 4
- Count 388 136
- GroupConcat 58 25
- Max 4 2
- Min 4 2
- Sample 30 9
- 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 paterns count as one constant.

Count Avg
Variables 16455 13.5
Constants 9141 7.5