W3C home > Mailing lists > Public > www-archive@w3.org > October 2006

2 e:bayesian test cases

From: <jos.deroo@agfa.com>
Date: Thu, 19 Oct 2006 01:36:16 +0200
To: www-archive@w3.org
Message-ID: <OF38A52519.5C978C15-ONC125720B.00804BAB-C125720B.0081A91E@agfa.com>

GIVEN http://eulersharp.sourceforge.net/2004/04test/alarm.n3
QUERY http://eulersharp.sourceforge.net/2004/04test/alarmF,n3
euler5 with e:bayesian builtin says

#Processed by Id: euler.yap,v 1.92 2006/10/18 23:14:10 josd Exp 

@prefix str: <http://www.w3.org/2000/10/swap/string#>.
@prefix var: <http://localhost/var#>.
@prefix q: <http://www.w3.org/2004/ql#>.
@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix : <http://eulersharp.sourceforge.net/2004/04test/alarm#>.
@prefix time: <http://www.w3.org/2000/10/swap/time#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix r: <http://www.w3.org/2000/10/swap/reason#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

(:earthquake) e:bayesian ((:t 0.5) (:f 0.5)).
(:burglary) e:bayesian ((:t 0.5) (:f 0.5)).
(:alarm) e:bayesian ((:t 0.425) (:f 0.575)).
(:marycalls) e:bayesian ((:t 0.285) (:f 0.715)).
(:johncalls) e:bayesian ((:t 0.285) (:f 0.715)).

#ENDS 10 msec.


GIVEN http://eulersharp.sourceforge.net/2004/04test/gene.n3
QUERY http://eulersharp.sourceforge.net/2004/04test/geneF.n3
euler5 with e:bayesian builtin says

#Processed by Id: euler.yap,v 1.92 2006/10/18 23:14:10 josd Exp 

@prefix str: <http://www.w3.org/2000/10/swap/string#>.
@prefix var: <http://localhost/var#>.
@prefix q: <http://www.w3.org/2004/ql#>.
@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix : <http://eulersharp.sourceforge.net/2004/04test/gene#>.
@prefix time: <http://www.w3.org/2000/10/swap/time#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix r: <http://www.w3.org/2000/10/swap/reason#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

(:has_gene :apollo) e:bayesian ((:t 0.5) (:f 0.5)).
(:has_gene :dexter) e:bayesian ((:t 0.5) (:f 0.5)).
(:has_gene :chloe) e:bayesian ((:t 0.425) (:f 0.575)).
(:has_gene :blaze) e:bayesian ((:t 0.5) (:f 0.5)).
(:has_gene :flash) e:bayesian ((:t 0.425) (:f 0.575)).
(:has_gene :galaxy) e:bayesian ((:t 0.3730625) (:f 0.6269375)).
(:has_gene :ember) e:bayesian ((:t 0.5) (:f 0.5)).

#ENDS 0 msec.


thanks so much for
http://www.cs.kuleuven.ac.be/cgi-bin-dtai/publ_info.pl?id=40881


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Wednesday, 18 October 2006 23:36:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:58 UTC