hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
25 stars 10 forks source link

Limit as input parameter #31

Open hsolbrig opened 5 years ago

hsolbrig commented 5 years ago

It would be really handy if we had a parameter that would limit the number of focus nodes that were tested. It would doubly handy if this limit could be used on RDF and SPARQL queries in a way where the user doesn't have to wait for, say, 10K focus nodes to be returned before processing can begin on the first

hsolbrig commented 5 years ago

Partially in latest commit -- API has two additional parameters: -se --stoponerror -- stop processing once an error is encountered --stopafter N -- stop after N focus nodes processed.

This still doesn't limit the SPARQL query, however, so I will leave the issue open