Hi, Suppose I'm having a statement like:
"Product A has capacitance of 7uF if (conditions) x=some value and y=some value.Same product A has power 5W if x1=some value and y=some value" I want to construct RDF data from the above statement. Here is what I tried. <http://www.example.com/ProductA> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Product>. <http://www.example.com/ProductA> <http://www.example.com/hasParamatrix> < http://www.example.com/Capacitance>. <http://www.example.com/ProductA> <http://www.example.com/hasParamatrix> < http://www.example.com/Power>. <http://www.example.com/Capacitance> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Paramatrix>. <http://www.example.com/Capacitance> <http://www.example.com/hasConditions> <http://www.example.com/condition1>. <http://www.example.com/Capacitance> <http://www.example.com/hasConditions> <http://www.example.com/condition2>. <http://www.example.com/Capacitance> <http://www.example.com/hasValue> "7uF". <http://www.example.com/condition1> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Condition>. <http://www.example.com/condition1> <http://www.example.com/hasValue> "x=some value". <http://www.example.com/condition2> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Condition>. <http://www.example.com/condition2> <http://www.example.com/hasValue> "y=some value". <http://www.example.com/Power> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Paramatrix>. <http://www.example.com/Power> <http://www.example.com/hasConditions> < http://www.example.com/condition3>. <http://www.example.com/Power> <http://www.example.com/hasConditions> < http://www.example.com/condition4>. <http://www.example.com/Power> <http://www.example.com/hasValue> "5W". <http://www.example.com/condition3> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Condition>. <http://www.example.com/condition3> <http://www.example.com/hasValue> "x1=some value". <http://www.example.com/condition4> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Condition>. <http://www.example.com/condition4> <http://www.example.com/hasValue> "y1=some value". Other approach what I'm thinking is to directly map capacitance, power with a product A like : <http://www.example.com/ProductA> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://www.example.com/Product>. <http://www.example.com/ProductA> <http://www.example.com/hasCapacitance> "7uF". <http://www.example.com/ProductA> <http://www.example.com/hasPower> "5W". And in ontology some how I will relate the predicate to corresponding conditions.[Dont know how to do it- Need Help.] I want to confirm whether I'm going in right direction or not and which approach to follow. Is their any other way to construct rdf data for the given statements? Please share your thoughts. Thanks
