W3C home > Mailing lists > Public > public-wai-ert@w3.org > February 2007

Re: [HTTP-in-RDF] http:asterisk

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Wed, 28 Feb 2007 14:03:57 +0100
Message-ID: <45E57DBD.90506@w3.org>
To: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Cc: ERT group <public-wai-ert@w3.org>

Hi Johannes,

I think the idea was to have a "Request-URI" class with predefined 
values. The respective property (say requestURI) would then point to the 
value in the rdf:resource (analogous to earl:Outcome). Here an example:

<http:OptionsRequest rdf:ID="req">
   <http:requestURI rdf:resource="&http;#asterisk"/>
   ...
</http:OptionsRequest>


<rdfs:Class rdf:about="&http;Request-URI">
   <rdfs:label xml:lang="en">Request URI</rdfs:label>
   <rdfs:comment xml:lang="en">Request-URI = "*" | absoluteURI | 
abs_path | authority</rdfs:comment>
   <owl:oneOf rdf:parseType="Collection">
     <owl:Thing rdf:about="&http;#asterisk">
       <rdfs:label xml:lang="en">Asterisk</rdfs:label>
       <rdfs:comment xml:lang="en">The value "*"</rdfs:comment>
     </owl:Thing>
     ...
   </owl:oneOf>
</rdfs:Class>

<rdf:Property rdf:about="&http;#requestURI">
   <rdfs:label xml:lang="en">Has Request URI</rdfs:label>
   <rdfs:domain rdf:resource="&http;#OptionsRequest"/>
   <rdfs:range rdf:resource="&http;#Request-URI"/>
</rdf:Property>


Regards,
   Shadi


Johannes Koch wrote:
> 
> Hi group,
> 
> according to HTTP 1.1 section 5.1.2
> 
>   Request-URI    = "*" | absoluteURI | abs_path | authority
> 
> we decided to use four sub-properties for the requestURI property:
> * asterisk,
> * absoluteURI,
> * abs_path, and
> * authority
> 
> When I use
> 
> <http:OptionsRequest rdf:ID="req">
>   <http:asterisk/>
>   ...
> </http:OptionsRequest>
> 
> this looks a bit weird to me. In RDF terms it means:
> 
>   the OptionsRequest "req" has an asterisk (empty Literal).
> 
> Or are we required to add "*"?
> 
>   <http:asterisk>*</http:asterisk>
> 
> What happens if someone puts in a different Literal?
> 
> Or should we drop the asterisk property and just use requestURI?
> 
>   <http:requestURI>*</http:requestURI>

-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |
Received on Wednesday, 28 February 2007 13:04:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:28 GMT