- From: <helen.chen@agfa.com>
- Date: Tue, 14 Oct 2008 18:21:10 -0400
- To: public-semweb-lifesci@w3.org
- Message-ID: <OFE41E6C13.CE23F8CF-ON852574E2.007AA77A-852574E2.007ACB30@agfa.com>
Upon Eric's suggestion, I am forwarding this correspondence to the list. Eric's code is used in COI demo, and can be accessed at http://www.w3.org/2008/04/SPARQLfed/ Helen ----- Forwarded by Helen Chen/AMPJB/AGFA on 10/14/2008 06:19 PM ----- Eric Prud'hommeaux <eric@w3.org> 10/14/2008 05:55 PM To Helen Chen/AMPJB/AGFA@AGFA cc holger.stenzhorn@deri.org Subject Re: running SWObjects in cygwin - result output corrupted * helen.chen@agfa.com <helen.chen@agfa.com> [2008-10-14 16:44-0400] > Hi, Holger > > I try to compile and run Eric's code in cygwin (windows XP). Things went > well except some warnings and a part of the query results are not > displayed properly, see below. I wonder if you have windows environment > and it has the same problem? That's utf-8 output. Can you make your terminal window render utf-8? Alternatively, if you recompile with CFLAGS=-DASCII_BOX_CHARS=1 , the box cars will be '-', '|' and '+'s. PS. If we CC public-hcls-coi, we can share this wisdom with anyone else who choses to collaborate. I didn't CC them because I don't do that without the permission of those quoted, but feel free to bounce it if you wish. > [ > /cygdrive/d/project2008/W3C/SWObjects_0.1/SQLizer.hpp:530: warning: > passing `flo > at' for converting 2 of `void > w3c_sw::SQLizer::Join::addConstantJoinConstraint(s > td::string, int)' > /cygdrive/d/project2008/W3C/SWObjects_0.1/SQLizer.hpp: In member function > `void > w3c_sw::SQLizer::SQLQuery::constrain(w3c_sw::SQLizer::AliasAttr, double)': > /cygdrive/d/project2008/W3C/SWObjects_0.1/SQLizer.hpp:534: warning: > passing `dou > ble' for converting 2 of `void > w3c_sw::SQLizer::Join::addConstantJoinConstraint( > std::string, int)' > tests/execute_HealthCare1 tests/query_HealthCare1.rq > tests/ruleMap_HealthCare1.r > q -s http://someClinic.exampe/DB/ > HealthCare1_test.results && cat > HealthCare1 > _test.results > Results: > â"Oâ"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"¬â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"¬â"?â"?â"?â" > ?â"?â"?â"?â"?â"?â"?â"?â"¬â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"? > â", _:SUBaDM â", ?PATIENT â", _:Z â", ?FOOP â", > â", -- â", -- â", ?someTest â", ?somePerson â", > â""â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"'â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"'â"?â"?â"?â" > ?â"?â"?â"?â"?â"?â"?â"?â"'â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"~ > > Results: > â"Oâ"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"¬â"?â"?â"?â"?â"?â"?â"?â" > ?â"?â"?â"?â"?â"?â"¬â"?â"?â"?â"?â"?â"? > â", _:SUBaDM â", ?PATIENT â", _:Z â", > â", _:someTestBNode â", ?somePerson â", -- â", > â""â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"?â"'â"?â"?â"?â"?â"?â"?â"?â" > ?â"?â"?â"?â"?â"?â"'â"?â"?â"?â"?â"?â"~ > > post-rule query (SPARQL): > SELECT ?somePerson > WHERE > { > { > { > _:ADMINISTRATION <http://someClinic.exampe/DB/Patient#name> > _:PATIENT_name > . > } > { > _:HAS_attr1 <http://someClinic.exampe/DB/baz#attr1> ?somePerson . > } > { > _:PATIENT_name <http://someClinic.exampe/DB/Names#patient> > ?PATIENT_gen0 . > > ?PATIENT_gen0 <http://someClinic.exampe/DB/bar#attr2> ?somePerson . > } > { > _:HAS_attr1 <http://someClinic.exampe/DB/bar#attr3> ?somePerson . > } > } > UNION > { > { > _:ADMINISTRATION <http://someClinic.exampe/DB/Patient#name> > _:PATIENT_name > . > } > { > _:PATIENT_name <http://someClinic.exampe/DB/Names#patient> > ?somePerson . > ?somePerson <http://someClinic.exampe/DB/bar#attr2> ?FOOP_gen0 . > } > } > } > ] > -- -eric office: +1.617.258.5741 32-G528, MIT, Cambridge, MA 02144 USA mobile: +1.617.599.3509 (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution.
Attachments
- application/octet-stream attachment: signature.asc
Received on Tuesday, 14 October 2008 22:22:02 UTC