58 Downloads Updated 1 month ago
ollama run mobr/cap
Updated 1 month ago
1 month ago
8cb3d3b4b4f1 · 9.3GB ·
This model is part of the Cardano Analytics Platform powered by LLM, a project funded by Project Catalyst Fund 13.
ollama pull mobr/cap
ollama run mobr/cap
Prompt: What is an epoch?
Response:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?def
WHERE {
?x rdfs:label "Epoch" .
?x rdfs:comment ?def .
}
Prompt: How many transactions in the Cardano network?
Response:
PREFIX blockchain: <http://www.mobr.ai/ontologies/blockchain#>
SELECT (COUNT(?s) AS ?count)
WHERE {
?s a blockchain:Transaction .
}
Prompt: What is the average of transactions per block in the last week?
Response:
PREFIX blockchain: <http://www.mobr.ai/ontologies/blockchain#>
SELECT
(COUNT(DISTINCT ?block) AS ?totalBlocks)
(COUNT(?transaction) AS ?txCount)
(?totalTransactions / ?totalBlocks AS ?avgTransactionsPerBlock)
WHERE {
?block a blockchain:Block ;
blockchain:hasTimestamp ?timestamp ;
blockchain:hasTransaction ?transaction .
FILTER (?timestamp >= NOW() - "P7D"^^xsd:duration)
}
FILTER and NOW().</s>OpenAI CC-BY-NC-4.0 (non-commercial use). Ontology under Apache 2.0.
For integration with Cardano data pipelines, see the project repo.