Skip to content

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.

  1. 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.

  2. 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.

  3. 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.

  4. Or call the API. The passcode is your API key: send it as a bearer token.

    Terminal window
    export PASSCODE=OWL-XXXX-XXXX
    curl -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"}'
  5. 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.