RE: URI in a URI

Hi Andrea,

Thanks for your reply. What I want to do is to give an identity to a service. I could use
http://example.com/sensors/sensor1/services#Temperature

but, I want to use a well-defined name for the service.
http://sweet.jpl.nasa.gov/2.1/propTemperature is used as a well-defined name instead of the word “Temperature”.

I can have a sensor RDF with the property inside, then I will not be able to have a URI for the service.

Regards,

Vincent


From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org] On Behalf Of Andrea Splendiani
Sent: den 4 februari 2011 14:02
To: Vincent Huang A
Cc: semantic-web@w3.org
Subject: Re: URI in a URI

Hi,

Technically yes (but you may have to escape something).

Design wise, you want to say:
Sensor (uri) property (uri) value.
You have a triple.
So should be your sensor URL returning an rdf doc with the property inside.

Said that, if you need the composed uri for some other reason... That works.

Ciao,
Andrea

Apologies for typos, sent from an iPad

Il giorno Feb 4, 2011, alle ore 12:24, Vincent Huang A <vincent.a.huang@ericsson.com<mailto:vincent.a.huang@ericsson.com>> ha scritto:
Can I have a URI in another URI definition?

For example, if I want to give a name to a temperature service coming from a sensor, can I say:
http://example.com/sensors/sensor1/services#http://sweet.jpl.nasa.gov/2.1/propTemperature<http://x.jmxded133.net/y.z?l=http%3a%2f%2fexample.com%2fsensors%2fsensor1%2fservices%23http%3a%2f%2fsweet.jpl.nasa.gov%2f2.1%2fpropTemperature&r=207887038&d=31602&p=2&t=h>

Thanks,

Vincent
[http://x.jmxded133.net/o.z?r=207887038&d=31602]

Received on Friday, 4 February 2011 13:23:30 UTC