- From: <MDaconta@aol.com>
- Date: Sat, 2 Nov 2002 13:49:38 EST
- To: www-rdf-interest@w3.org
- Message-ID: <ca.1404e23a.2af57842@aol.com>
Hi All, I am having some problems with the alt container. Specifically, how do we state which alternative (from the group) we choose? For example, let's say I want to state: :John :lies "often". Where often is a literal value that can be one of: "often", "sometimes" or "rarely". So I tried to write this in RDF using the alt container like this: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:e="http://example.org/onto/person#"> <rdf:Description rdf:about="e:John"> <e:lies> <rdf:alt rdf:ID="degrees"> <rdf:li>often</rdf:li> <rdf:li>sometimes </rdf:li> <rdf:li>rarely </rdf:li> </rdf:alt> </e:lies> </rdf:Description> </rdf:RDF> So, while the rdf:alt container gives me my list of alternatives -- I do not see how to choose one of the alternatives. If I eliminate the alt container and just choose one ... how do I state it is one of the enumerated alternatives? Or is this something we have to do with the RDFS range of a property? Thanks in advance, - Mike ---------------------------------------------------- Michael C. Daconta Director, Web & Technology Services www.mcbrad.com
Received on Saturday, 2 November 2002 13:50:19 UTC