Quickstart
Pick how you want to run it.
The demo is a live server loaded with a synthetic dairy cooperative: farms, milk lots, quality tests, production batches and retail sales. Access is by passcode, from a booked time slot.
-
Get a passcode. Go to demo.graphowl.app, enter your name and email and choose Generate my passcode. You are signed in at once and shown a passcode like
OWL-XXXX-XXXX(copy it, it is shown once; it is also emailed to you). It works for 30 minutes from that moment. Up to five people use the demo at a time, and each person can start one session every 48 hours. Want a guided tour instead? Choose the 30-minute walkthrough call with the author: times are shown as buttons you pick from (Tuesdays and Saturdays), and no passcode is needed for that. -
Open the console. When your slot starts, go to demo.graphowl.app, enter the passcode, and you are in the console with the Northfield Dairy Cooperative workspace.
-
Ask your first question in the console. Open Query in the left menu, paste this SPARQL and run it. It counts the instances of each class. Imported facts live in named graphs, so the pattern sits inside
GRAPH ?g { ... }.SELECT ?class (COUNT(?s) AS ?n)WHERE { GRAPH ?g { ?s a ?class } }GROUP BY ?class ORDER BY DESC(?n)The answer lists the classes with the most instances: cold-chain readings and quality tests at 46 each, then milk lots at 40, then batch lots at 25. The same screen takes graph patterns (openCypher), such as
MATCH (n:MilkLot) RETURN count(n) AS lots. -
Or call the API. The passcode is your API key: send it as a bearer token.
Terminal window export PASSCODE=OWL-XXXX-XXXXcurl -H "Authorization: Bearer $PASSCODE" https://demo.graphowl.app/health# {"status":"alive","version":"0.1.0"}curl -X POST https://demo.graphowl.app/sparql \-H "Authorization: Bearer $PASSCODE" -H "Content-Type: application/json" \-d '{"query": "SELECT ?class (COUNT(?s) AS ?n) WHERE { GRAPH ?g { ?s a ?class } } GROUP BY ?class ORDER BY DESC(?n) LIMIT 5"}'Install the client from its repository, then use the passcode as the key:
Terminal window pip install "git+https://github.com/graphowl/python-client"from graphowl import GraphOWLowl = GraphOWL(url="https://demo.graphowl.app", api_key="OWL-XXXX-XXXX", workspace="dairy-coop")rows = owl.query.sparql("""SELECT ?class (COUNT(?s) AS ?n)WHERE { GRAPH ?g { ?s a ?class } }GROUP BY ?class ORDER BY DESC(?n) LIMIT 5""")print(rows)const res = await fetch("https://demo.graphowl.app/sparql", {method: "POST",headers: { Authorization: "Bearer OWL-XXXX-XXXX", "Content-Type": "application/json" },body: JSON.stringify({query: "SELECT ?class (COUNT(?s) AS ?n) WHERE { GRAPH ?g { ?s a ?class } } GROUP BY ?class ORDER BY DESC(?n) LIMIT 5",}),});const { rows } = await res.json(); -
Ask it as a graph pattern.
Terminal window curl -X POST https://demo.graphowl.app/cypher \-H "Authorization: Bearer $PASSCODE" -H "Content-Type: application/json" \-d '{"query": "MATCH (n:MilkLot) RETURN count(n) AS lots"}'
A passcode works for 30 minutes from the moment you ask for it. When the 30 minutes end you are signed out, and the demo is restored to its original data, so anything you created is erased. Lost your passcode? Email [email protected].
Next: From a database to an ontology, the dairy traceability cookbook, or give an agent the same graph.
The early-access container runs on your machine with Docker. It is provided under the evaluation licence for 90 days, for evaluation only, not production.
- Request access. Email [email protected] with your name, organisation and what you want to evaluate. Include your GitHub username: you are added as a reader of the private package and sent the image tag.
- Start it. See Run it yourself: log in to the registry, then
docker compose up -dstarts a Postgres database with pgvector and the GraphOWL server. - Check it.
curl http://localhost:8080/health, then follow the steps on the demo tab againsthttp://localhost:8080.
Until you have a token, use the demo tab: the steps are the same.