This example demonstrates the ability to execute queries against the ModeShape JcrRepository,
thru Teiid, and see the results.

If you don't have any files published to the jcr repository, you can use 
the ModeShape example:  pub_unpub_using_rest
to load some files.


To execute queries, use the Teiid simple client example run script:

$./run.sh localhost 31000 ModeShape "some query"

NOTE - depending on your OS/Shell the quoting/escaping required to run the example can be
complicated.  It would be better to install a Java client, such as SQuirreL, to run the 
queries below. 

example queries:

-	SELECT * from nt_base


The following are example queries based on the files published using the ModeShape example.   To see all the possible tables to query, use a tool like SQuirreL.

text file
-	select * from nt_file
-	select * from text_column

teiid model
-	select * from xmi_model
-	select * from relational_column

other
-	select * from nt_base order by jcr_primaryType	