-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I have a bunch (12 ATM) of uncomplicated rules and a fairly small input dataset (12 MB). I want to produce a trig file containing multiple graphs.
For that, I tried to wrap the output of each rule in a graph statement like
{
?brochure lib:brochureId ?brochureId .
?brochure Source:FolderName ?title .
} => {
+ ?brochureId sem:quotedGraph {
?brochureId a wikibus:Brochure .
?brochureId schema:name ?title .
+ }
} .I noticed that the process becomes increasingly slow with each rule modified in this way and the CPU usage of swipl skyrockets.
Without sem:quotedGraph - 11s
1 rule with sem:quotedGraph - 22s
2 rules - 52s
3 rules - 57s
4 rules - 109s
...
I changed my rules top-down. Seems like each rule has a different impact but the overall trend is clear.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels