Skip to main content

RDF Visualization for SPARQL Endpoint and local file

Project description

JoyVis

RDF Visualization

For SPARQL Endpoint

from JoyVis import Vis

v = Vis('http://localhost:3030/publicdata/query')
nw = v.vis(limit=50)
result = 'html/sample1.html'
nw.show(result)

sample1 result

For Local File

from JoyVis import Vis

v = Vis(filepath='/Users/joyhong/sample_result.ttl')
nw = v.vis_file(limit=200)
result = 'html/sample8.html'
nw.show(result)

sample1 result

For Jupyter Notebook

from JoyVis import Vis

v = Vis('http://localhost:3030/publicdata/query', notebook = True)
nw = v.vis(limit=50)
result = 'html/sample_notebook.html'
nw.show(result)

Requirements

  • pyvis
  • RDFLib
  • SPARQLWrapper

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

joyvis-1.1.0-py3-none-any.whl (5.3 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