- From: Piet De Smet <piet_de_smet@hotmail.com>
- Date: Mon, 04 Feb 2002 12:03:27 -0500
- To: www-rdf-interest@w3.org
[freed from spam trap -Ralph] Date: Mon, 4 Feb 2002 11:33:23 -0500 (EST) Message-ID: <F224lFrObapNDpSEGoW00028219@hotmail.com> From: "Piet De Smet" <piet_de_smet@hotmail.com> To: www-rdf-interest@w3.org Hi, I know, this might be a very simple question for experts like you, but I really can't figure out how to solve it. I have the following rdf scheme : <rdf:RDF xml:lang="en" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <rdfs:Class rdf:ID="Person"/> <rdf:Property rdf:ID="maritalStatus"> <rdfs:range rdf:resource="#StatusNames"/> <rdfs:domain rdf:resource="#Person"/> </rdf:Property> <rdf:Property rdf:ID="age"> <rdfs:range rdf:resource="http://www.w3.org/1999/XMLSchema-datatypes#integer"/> <rdfs:domain rdf:resource="#Person"/> </rdf:Property> <rdf:Class rdf:ID="StatusNames"/> <MaritalStatus rdf:ID="Married"/> <MaritalStatus rdf:ID="Divorced"/> <MaritalStatus rdf:ID="Single"/> <MaritalStatus rdf:ID="Widowed"/> </rdf:RDF> Now I want to make a correct RDF-page ; what syntax do I have to use to say that the maritalStatus is "Married" ? <?xml version="1.0"?> <rdf:RDF xml:lang="en" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:adm="http://wherever this might be..../adm.rfds#"> <adm:Person> <adm:age>1978</adm:age> </adm:maritalStatus ???? </adm:Person> </rdf:RDF> Thanks Piet De Smet
Received on Monday, 4 February 2002 12:04:33 UTC