- From: Chimezie Ogbuji <ogbujic@ccf.org>
- Date: Tue, 10 Jul 2007 10:35:54 -0400
- To: "public-rdf-dawg" <public-rdf-dawg@w3.org>
- Message-ID: <1184078154.14454.13.camel@otherland>
Attached is a first shot at a script which serializes parsed SPARQL back into Algebra expressions similar to the (informative) syntax used in the specification. I have only eyeballed it, but some caveats: * It doesn't serialize FILTERs * The parser breaks up triple patterns in a BGP into Joins against each triple pattern So: BGP([(?s,?p,?o),(?s2,?p2,?o2)] becomes: Join(BGP([(?s,?p,?o),]),BGP([(?s2,?p2,?o2)]) Otherwise, everything else should be okay. I wanted to make sure this is what we have in mind and that the expressions being generated are not malformed before turning it loose on the entire test collection. -- Chimezie Ogbuji Lead Systems Analyst Thoracic and Cardiovascular Surgery Cleveland Clinic Foundation 9500 Euclid Avenue/ W26 Cleveland, Ohio 44195 Office: (216)444-8593 ogbujic@ccf.org =================================== Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
Attachments
- text/plain attachment: data-r2-algebra-expressions.txt
Received on Tuesday, 10 July 2007 14:37:46 UTC