From melvincarvalho at gmail.com Tue Jan 22 14:22:40 2019 From: melvincarvalho at gmail.com (Melvin Carvalho) Date: Tue, 22 Jan 2019 15:22:40 +0100 Subject: [Lightning-dev] Lightning and the semantic web In-Reply-To: <3fa01f4e-6481-5cd9-539f-d63cb3119cac@hivemind.net> References: <3fa01f4e-6481-5cd9-539f-d63cb3119cac@hivemind.net> Message-ID: On Mon, 21 Jan 2019 at 11:08, Bretton Vine wrote: > On 2019/01/21 08:17, Melvin Carvalho wrote: > > The first step towards integration would be to port some of the lightning > > concepts to the semantic web. This is done by creating an ontology. > > How do we do that? Build a list of relevant concepts and create possible > attributes and links between? i.e. > Exactly! It's what is known as a vocabulary. You define terms and link them to other terms. Normally is starts from a use case, and then basically you come up with a naming system that people agree on the names and store it somewhere. > > node > pubkey > ipaddress > numberchannels > channel > stateactive/stateclosed > > channel > fundingtx > localbalance > remotebalance > closingfee > stateopen/stateclosed > > fundingtx > datetime > amount > fee > > transaction > invoice > amount > destination > validtime > > channelbreach > datetime > error > result > Really good start, I'll try and go through these terms. As I say, often we start with small common use cases then build up the set of terms. I have a couple of use cases in mind that others are interested in 1) sending satoshis to an inbox 2) the pay wall use case (like yalls) over ajax and maybe also on a normal URL > > -- > regards, Bretton > openpgp: http://bretton.hivemind.net/bretton_vine.asc > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: