# PxButton | e   | bash .euler http://www.w3.org/2001/sw/DataAccess/tests/data/survey/survey-sample.ttl http://eulersharp.sourceforge.net/2003/03swap/rdfs-rules.n3 --nope --think --query query-survey-2.n3

@prefix ex: <http://example.org/survey-sample/ontology/>.
@prefix q: <http://www.w3.org/2004/ql#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

[]
q:select {<> q:answer (?n [])};
q:where {?y ex:author ?a. ?a rdfs:member ?who. ?who ex:name ?n}.

[]
q:select {<> q:answer (?n ?addr)};
q:where {?y ex:author ?a. ?a rdfs:member ?who. ?who ex:name ?n. ?who ex:email ?addr}.
