[rdfweb-dev] Describing FOAF using OWL: enumerating allowed

Danny Ayers danny666 at virgilio.it
Sun Jun 22 17:08:24 UTC 2003


> However, OWL steps in the for rescue here, making it possible to make
> these statements even when using literals (I think this should be
> the correct syntax, please correct me if not):
>
> <owl:Class>
> 	<rdfs:label>ENTP-person</rdfs:label>
> 	<rdfs:comment>...</rdfs:comment>
> 	<rdfs:subClassOf rdf:resource="&foaf;Person"/>
> 	<rdfs:subClassOf>
> 		<owl:Restriction>
> 			<owl:onProperty rdf:resource="&foaf;myersBriggs"/>
> 			<owl:hasValue
> rdf:datatype="&xsd;string">ENTP</owl:hasValue>
> 		</owl:Restriction>
> 	</rdfs:subClassOf>
> </owl:Class>
>
> This (hopefully) states, that a foaf:Person that has a foaf:myersBriggs
> of "ENTP" is a member of the class labeled "ENTP-person", which could be
> given an ID/URI and/or have more statements made about it, statements
> that would then apply to the foaf:Person in question.

I'm not sure I understand, isn't this just moving the problem (controlled
list of literals) to the ENTP-person class? Where would you express the
Alt-like options ENTP | INTP | (whatever else there is)?

Cheers,
Danny.




More information about the foaf-dev mailing list