Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Updated example ontologies

Tom Doman wrote:
<snip>

Could you give us an example SPARQL query for your example instance where we select all instances where "homePhone" == "555-1212"?  My main purpose right now is to look at how to convert SPARQL queries into LDAP filters.

-Tom

I think it would be something like this:

BASE <uri that we're searching>
PREFIX person: <http://www.eclipse.org/higgins/ontologies/2006/test-person.owl#> PREFIX higgins: <http://www.eclipse.org/higgins/ontologies/2006/higgins.owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?x
{{?x person:homePhone _:phone}
{_:phone higgins:normalizedStringSimpleValue "555-1212"^^xsd:normalizedString }}










Back to the top