Paste number 49011: CIFP Rules for CWM

Paste number 49011: CIFP Rules for CWM
Pasted by: sbp
When:1 year, 8 months ago
Share:Tweet this! | http://paste.lisp.org/+11TF
Channel:#swhack
Paste contents:
Raw Source | XML | Display As
{ ?IFP a owl:InverseFunctionalProperty; 
       :productProperty ?LIST .
  ?P :distributes (?LIST ?ARGS) .
  ?Q :distributes (?LIST ?ARGS) }
 => { ?P owl:sameAs ?Q } .

{ ?S ?P ?O . 
  ?PPLIST a :PPList; 
     rdf:first ?P; rdf:rest rdf:nil }
 => { ?S :distributes (?PPLIST (?O)) } .

{ ?S ?P ?O .
  ?PPLIST a :PPList; 
     rdf:first ?P; rdf:rest ?REST .
  ?S :distributes (?REST ?ARGS) }
 => { ?S :distributes (?PPLIST [ rdf:first ?O; rdf:rest ?ARGS ]) } .

{ ?IFP :productProperty ?LIST }
 => { ?LIST a :PPList } .
 
{ ?LIST a :PPList; rdf:rest ?REST }
 => { ?REST a :PPList } .

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.