- From: Boris Motik <boris.motik@comlab.ox.ac.uk>
- Date: Mon, 8 Sep 2008 16:34:38 +0100
- To: <public-owl-wg@w3.org>
Hello, ISSUE-71 asks to create a data range of literals matching a given language range. Since we are now officially using rdf:text, we could solve the problem by introducing a new facet called "langPattern". Thus, a restriction of rdf:text with the facet "langPattern" and value "val" would match to the set of all pairs of the form < "text" , "lang" > where "lang" matches the regular expression specified by "val". In this way, one might say, for example, "the range of property P must be an English or a Spanish language string" as follows: PropertyRange ( P DatatypeRestriction( rdf:text langPattern "en|es" ) ) This is roughly how RIF will handle similar issues. In RIF, however, there are no facets yet (if I understood things correctly, they are using built-in functions). It is therefore currently unclear whether the definition of facets is actually going to be included into the rdf:text specification (http://www.w3.org/2007/OWL/wiki/InternationalizedStringSpec). To make progress, I suggest we add this facet to OWL 2 and close ISSUE-71. Depending on the outcome of the discussion with RIF, we may then transfer all facets of rdf:text to the rdf:text specification; however, this should be an independent issue. Please let me know how you feel about this. Regards, Boris
Received on Monday, 8 September 2008 15:36:17 UTC