Skip to main content

Extra tools for rdflib

Project description

...

# Install pipx
pip3 install --user --upgrade pipx

# check version
time pipx run --spec yocho.rdflib-xtl rdflib-xtl --version

# Run SPARQL without reasoning ...
time pipx run --spec yocho.rdflib-xtl rdflib-xtl sparql -q 'SELECT * WHERE { ?s rdfs:subClassOf owl:Thing. }' http://xmlns.com/foaf/spec/index.rdf

# Run SPARQL with reasoning ...
time pipx run --spec yocho.rdflib-xtl rdflib-xtl sparql --reason -q 'SELECT * WHERE { ?s rdfs:subClassOf owl:Thing. }' http://xmlns.com/foaf/spec/index.rdf

# Run reasoning ...
time pipx run --spec yocho.rdflib-xtl rdflib-xtl reason http://xmlns.com/foaf/spec/index.rdf
pipx run --spec yocho.rdflib-xtl rdflib-xtl sparql -q 'SELECT * WHERE { ?s rdfs:subClassOf owl:Thing. }' http://xmlns.com/foaf/spec/index.rdf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yocho.rdflib-xtl-0.3.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

yocho.rdflib_xtl-0.3.0-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page