
There are two ways to access data stored as part of the Wine Agent:
| agent.rdf | Ontology describing recommendations, users, actions, and responses. This ontology is the basis for interacting with the Wine Agent through its API. |
|---|---|
| food.rdf | Food ontology and instance data for describing dishes, extension of W3C OWL Guide Food Ontology. |
| interaction.rdf | Interaction records for users, recommendations, dish, wines, and restaurants. |
| recommend.rdf | Recommendations made by Wine Agent users. |
| wine.rdf | Wine ontology and instance data for describing wines, extension of W3C OWL Guide Wine Ontology. |
Wine Agent clients can use the Wine Agent's RESTful server API for retreiving and reasoning over the core Wine Agent ontologies (described above). You will need to register an account via the Wine Agent application for iPhone and iPod touch. Commands are sent as RDF files via HTTP POST to http://wineagent.tw.rpi.edu/agent2/. When processing completes, the Wine Agent will return an RDF containing either an instance of a subclass of agent:Response with the rdf:ID "Response" or a subclass of agent:Error with the rdf:ID "Error".