Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Add file for https://interledger.org/ns#... #47

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions src/ns.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
layout: page
title: Interledger RDF Ontology
---

<div class="container"><div class="row ||"><div class="col-12 col-lg-6 text-center text-md-start"><div class="editable">

<section id="#introduction" onclick="window.location='/ns#introduction';">
<h2 class="text-bold editable">Introduction</h2>
<div>Some machine-readable <a href="https://en.wikipedia.org/wiki/Linked_data">linked data</a> documents,
like for instance <a href="https://github.com/solid/solid-spec/blob/aefe0c3/solid-webid-profiles.md">Solid profile documents</a>,
may want to link to an Interledger <a href="https://paymentpointers.org">payment pointer</a> in a machine-readable way.
Here are an RDF class and two predicates that make that possible.</div>
</section>

<section id="#hasPaymentPointer" onclick="window.location='/ns#hasPaymentPointer';">
<h2 class="text-bold editable">#hasPaymentPointer</h2>
<div>Predicate to link from a WebID to a node of type InterledgerPaymentPointer.</div>
</section>

<section id="#paymentPointerValue" onclick="window.location='/ns#paymentPointerValue';">
<h2 class="text-bold editable">#paymentPointerValue</h2>
<div>Predicate to link from a node of type InterledgerPaymentPointer to a payment pointer string value.</div>
</section>

<section id="#InterledgerPaymentPointer" onclick="window.location='/ns#InterledgerPaymentPointer';">
<h2 class="text-bold editable">#InterledgerPaymentPointer</h2>
<div>RDF class to describe Interledger Pointer Pointers in RDF.</div>
</section>

<section id="#InterledgerPaymentPointer" onclick="window.location='/ns#InterledgerPaymentPointer';">
<h2 class="text-bold editable">Example</h2>
<div><pre><code>
@prefix ilp: &lt;https://interledger.org/ns#&gt;.
<#me> ilp:hasPaymentPointer [
a ilp:InterledgerPaymentPointer;
ilp:paymentPointerValue "$example.com".
].
</code></pre></div>
</section>

</div></div></div></div>