This article outlines the mapping of ODS data to the FOAF ontology for the purpose of constructing SPARQL Queries against OpenLink? Data Spaces ODS Data.
You can actually create you own Data Spaces and then experiment with these queries by opening accounts at: http://demo.openlinksw.com/ods (for very temporary and volatile usage) or http://myopenlink.net:8890/ods (for less volatile usage)
You can run most (if not all) of the queries with minimal modification using the following SPARQL Query Services: http://demo.openlinksw.com/sparql/ (using the 'demo' user account) and http://myopenlink.net:8890/sparql/ (assuming you have an account with this service)
Note: Default Graph URI value used in the queries below is: http://demo.openlinksw.com/dataspace