The OPAL data selection component uses patterns in SPARQL format to extract subsets of knowledge graphs.
To extract all dataset statements, use the Slicer class and the following parameters:
-source input.ttl
-patterns "Select * where {?d a <http://www.w3.org/ns/dcat#Dataset>}"
-out datasets.ttl
- This component is mainly based on RDFSlice
- See also the documentation wiki
Data Science Group (DICE) at Paderborn University
This work has been supported by the German Federal Ministry of Transport and Digital Infrastructure (BMVI) in the project Open Data Portal Germany (OPAL) (funding code 19F2028A).