Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 925 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 925 Bytes

ubergraph-viz

Example workflow for rendering SPARQL query results from Ubergraph using obographviz

Requirements

You will need the following tools on your PATH:

Queries

Add SPARQL queries to the sparql folder, using file extension .rq. Each query should be a SELECT query which projects these variables: ?s, ?slabel, ?p, ?plabel, ?o, ?olabel.

Running

Run a make target based on the name of the SPARQL query to run, replacing .rq with .pdf, e.g.: make two-hop-neighborhood.pdf.

Styling

Change the styling by editing ubergraph-style.json. Color names are defined here: https://graphviz.org/doc/info/colors.html.