syntheticPatients/Makefile
changeset 35 c46e908fef9b
parent 30 d5cb0312ef53
child 36 1e3b9b02d90e
equal deleted inserted replaced
34:c1cef20da460 35:c46e908fef9b
    48 Q6S := $(subst AD_PCHR_, q6_, $(INPUTLIST))
    48 Q6S := $(subst AD_PCHR_, q6_, $(INPUTLIST))
    49 Q8S := $(subst AD_PCHR_, q8_, $(INPUTLIST))
    49 Q8S := $(subst AD_PCHR_, q8_, $(INPUTLIST))
    50 #$(error TMOLIST: $(TMOLIST))
    50 #$(error TMOLIST: $(TMOLIST))
    51 
    51 
    52 mbox_%: AD_PCHR_%-tmo.trig tests/email_%.srt
    52 mbox_%: AD_PCHR_%-tmo.trig tests/email_%.srt
    53 	$(SPARQL) -qd $(word 1, $^) -e 'PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?mbox { ?s foaf:mbox ?mbox }' --compare $(word 2, $^) || echo $<\(0\): error !mbox
    53 	@$(SPARQL) -qd $(word 1, $^) -e 'PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?mbox { ?s foaf:mbox ?mbox }' --compare $(word 2, $^) || echo $<\(0\): error !mbox
    54 
    54 
    55 q1_%: AD_PCHR_%-tmo.trig tests/q1.rq tests/q1_%.srt
    55 q1_%: AD_PCHR_%-tmo.trig tests/q1.rq tests/q1_%.srt
    56 	$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    56 	@$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    57 
    57 
    58 q4_%: AD_PCHR_%-tmo.trig tests/q4.rq tests/q4_%.srt
    58 q4_%: AD_PCHR_%-tmo.trig tests/q4.rq tests/q4_%.srt
    59 	$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    59 	@$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    60 
    60 
    61 q6_%: AD_PCHR_%-tmo.trig tests/q6.rq tests/q6_%.srt
    61 q6_%: AD_PCHR_%-tmo.trig tests/q6.rq tests/q6_%.srt
    62 	$(SPARQL) -qd $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    62 	@$(SPARQL) -qd $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    63 
    63 
    64 q8_%: AD_PCHR_%-tmo.trig tests/q8.rq tests/q8_%.srt
    64 q8_%: AD_PCHR_%-tmo.trig tests/q8.rq tests/q8_%.srt
    65 	$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    65 	@$(SPARQL) -qg pchr $(word 1, $^) $(word 2, $^) --compare $(word 3, $^) || echo $<:0: error: data\\n$(word 2, $^):0: note: query\\n$(word 3, $^):0: note: expected results
    66 
    66 
    67 test: all $(MBOXES) $(Q1S) $(Q4S) $(Q6S)
    67 test: all $(MBOXES) $(Q1S) $(Q4S) $(Q6S) $(Q8S)
    68 
    68 
    69 clean:
    69 clean:
    70 	rm -f *-indivo.xml *-tmo.trig
    70 	rm -f *-indivo.xml *-tmo.trig
    71 
    71