Re: Delivery Context Ontology and DCCI : Looking for examples

It helps. Thank you.It's true that in the previous specifications there was
a "path to caracteristics" which no longer exists in the last call working
draft (june 2009).

My very best.




2009/6/15 JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>

>  Hi,
>
>
>
> Taking into account that, according to the DCO, the path to current
> location is
>
>
>
> currentEnvironment/currentLocation/position/coordinates/latitude
>
>
>                      /longitude
>
>
> /altitude
>
> It would be something like
>
>
>
> var currentLocation = childProperty(dcci, 'currentLocation')
>
>
>
> var latitude = childProperty(currentLocation, 'latitude').value;
>
> var longitude = childProperty(currentLocation, 'longitude').value;
>
>
>
> Being childProperty a function like:
>
>
>
> // convenience function for accessing child properties
>
>       function childProperty(property, name)
>
>       {
>
>          // 1st parameter is "*" for wild card that matches any namespace
>
>          // 2nd argument is the property name we are searching for
>
>          // 3rd parameter is null for default search filter function
>
>          // 4th parameter is false to restrict search to immediate children
>
>          var list = <code>property.searchProperty("*", name, null,
> false);</code>
>
>
>
>          // return first node in property list
>
>          if (list && list.length > 0)
>
>             return list[0];
>
>
>
>          return null;
>
>       }
>
>
>
> I hope this helps
>
>
>
> Best Regards
>
>
>
> *De:* public-uwa-request@w3.org [mailto:public-uwa-request@w3.org] *En
> nombre de *Franck Divet
> *Enviado el:* viernes, 12 de junio de 2009 12:08
> *Para:* public-uwa@w3.org
> *Asunto:* Delivery Context Ontology and DCCI : Looking for examples
>
>
>
> Hello,
>
>
>
> The DCCI module is défined with a associated DOM tree that contains
> properties.
>
> The DC Ontology describes all kinds of classes and properties. But I don't
> see how to use it, store information as a DOM tree to be used by the DCCI
> module.
>
>
>
> I found this one :
> http://www.w3.org/2007/uwa/editors-drafts/DeliveryContextOntology/LastCallWD-April2009/deliveryContextExamples.owl
>
> But could you provide an associated example that show how to retreive a
> specific property (for example GPS location) ?
>
>
>
> Great day to you all
>
>
>
> Franck
>
>
>

Received on Tuesday, 16 June 2009 13:26:04 UTC