Hello, I am a master student in Saarland university in Germany. I am working on my master thesis and I have to get an RDF implementation done.
I have been trying to understand Jena as well as RDF using the RDF primar. But I am not able to move forward from this point: I know how my RDF file should look like but I am not sure how to create this one using Jena. I have attached the RDF file in here. In this, for example, the tag <task:day>16</task:day> The resource task can be predefined. The property day is obtained from the application. The value 16 is obtained from my main application. I tried to create a new vocabulary class for Task with properties day,end_month and so on, so that I can enter the values for these properties during runtime. I was not successful in creating a vocabulary class. Could you please explain to me how should i go about this situation. Is creating a new vocabulary class customized to my application the right approach? If yes, how should create one and how can use it while creating the final RDF file. Hope I would get some advices to how to solve this issues. Thanks and kind regards, Soniya -- Soniya Vijayakumar M.Sc Student =============================== Computer and Communication Technology Universität des Saarlandes D-66123 Saarbücken Mob: +49 176 7383 8056 ===============================
<?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:task="http://www.alize.org/alize/task" xmlns:info="http://www.alize.org/alize/task/info" xmlns:situation="http://www.alize.org/alize/task/info/situation" xmlns:infostate="http://www.alize.org/alize/task/info/infostate" xmlns:turn="http://www.alize.org/alize/task/turn" xmlns:response="http://www.alize.org/alize/task/turn/response"> <rdf:Description rdf:about="http://www.alize.org/ALIZ-E"> <rdf:predicate rdf:resource="http://www.alize.org/alize/task/"/> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/"> <task:day>16</task:day> <task:end_time></task:end_time> <task:month>7</task:month> <task:pin>1342420597479</task:pin> <task:start_time>1342420597566</task:start_time> <task:system>alize</task:system> <task:time>8:36:37</task:time> <task:timezone>GMT</task:timezone> <task:year>2012</task:year> <task:info rdf:resource="http://www.alize.org/alize/task/info"/> <task:turn rdf:resource="http://www.alize.org/alize/task/turn"/> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/info"> <info:conversant>SYS</info:conversant> <info:time>1342420791594</info:time> <info:situation rdf:resource="http://www.alize.org/alize/task/info/situation"/> <info:infostate rdf:resource="http://www.alize.org/alize/task/info/infostate:dialogue" /> <info:infostate rdf:resource="http://www.alize.org/alize/task/info/infostate:integration" /> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/info/situation"> <situation:action>null</situation:action> <situation:state>Salutation(none)</situation:state> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/info/infostate:dialogue"> <infostate:ConfScore>null</infostate:ConfScore> <infostate:responseResult>null</infostate:responseResult> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/info/infostate:integration"> <infostate:usrID>1</infostate:usrID> <infostate:usrFamilyName>change</infostate:usrFamilyName> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/turn"> <turn:conversant>SYS</turn:conversant> <turn:time>1342420792118</turn:time> <turn:response rdf:resource="http://www.alize.org/alize/task/turn/response"/> </rdf:Description> <rdf:Description rdf:about="http://www.alize.org/alize/task/turn/response"> <response:action>Salutation(greeting)</response:action> <response:command>Hello</response:command> <response:message>hello, I am NAO.</response:message> </rdf:Description> </rdf:RDF>
