paulovn / sparql-kernel

A Jupyter kernel to launch queries against SPARQL endpoints
BSD 3-Clause "New" or "Revised" License
98 stars 17 forks source link

How to configure number of result rows? #35

Closed jpullmann closed 5 years ago

jpullmann commented 5 years ago

Hi Paulo, the result tables are pruned by 20 items (e.g. Total: 39, Shown: 20). Is there a means enabling the display of a max. configured number of result rows (comparable to display.max_rows in pandas)?

paulovn commented 5 years ago

Indeed there is. You can use the %show magic, as in:

%show N

to show a maximum of N results. Or

%show all

to show all results. Use it in a cell on its own, or in a line at the beginning of a SPARQL cell.

jpullmann commented 5 years ago

Thanks, this hint helped!