@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
@prefix q: <http://www.w3.org/2004/ql#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix : <http://yosi.us/math#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (0 1). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (1 1). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (2 2). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (3 6). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (4 24). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (5 120). 
<http://eulersharp.sourceforge.net/2004/04test/factorialQ.n3> q:answer (6 720). 

