Hi All,

I am migrating an application from one SPARQL endpoint based on virtuoso to one based on Jena ARQ. In the process I have come across a query that uses a SPARQL extension specific to virtuoso that I can't figure out what it means and I am hoping that one of you guys can explain it to me.

I want to know what the select clause "?id_prop*>rdfs:domain as ?id_prop_master" means. It is coming from the full query here. google et al strip *> from the query so it is every hard to look this up.

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX bif: <http://www.strange.com/#>
SELECT DISTINCT
    ?id_prop_rel  ?id_prop_rel_name ?id_prop ?id_prop_name
    ?id_prop*>rdfs:domain as ?id_prop_master
    ?id_name
WHERE {
    ?id_prop_rel  rdfs:label  ?id_prop_rel_name .
    ?id_prop  rdfs:label  ?id_prop_name .
<http://xmlns.com/foaf/0.1/Person>  rdfs:label  ?id_name .
    {
        ?id_prop rdfs:domain <http://xmlns.com/foaf/0.1/Person> .
        ?id_prop rdfs:range ?id_prop_rel
    } UNION {
        ?id_prop rdfs:range <http://xmlns.com/foaf/0.1/Person>.
        ?id_prop rdfs:domain ?id_prop_rel
    }
} group by ?id_name ?id_prop_name ?id_prop ?id_prop_rel_name ?id_prop_rel

Thanks in advance,
Michael

Reply via email to