History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-124
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

namespace() and localname() functions

Created: 21/Feb/05 01:14 PM   Updated: 13/May/05 10:41 PM
Component/s: SeRQL
Affects Version/s: None
Fix Version/s: 1.2-RC1


 Description   
Matching only URIs with specific namespaces or specific local names is awkward using string comparisons only. A useful extension to SeRQL would be the inclusion of namespace() and localname() functions:

"select all properties from the rdf definition"
select P
from {X} P {Y}
where namespace(P) = <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

"select all 'name' properties, regardless of their namespace"
select P
from {X} P {Y}
where localname(P) = "name"


 All   Comments   Change History      Sort Order:
Comment by Jeen Broekstra [21/Feb/05 01:30 PM]
new feature checked in in CVS trunk.