Oh, well, more brainlessness. I used an OntModel to receive the
results of the construct query, and of course it had some rdf triples
in it.

On Mon, Dec 27, 2010 at 5:56 PM, Benson Margulies <[email protected]> wrote:
> Inspired by your reply, I wrote the following, and the results have me
> sadly mystified.
>
> The following returns a bunch of triples about the relationships of
> various parts of RDF.
>
> But unless I've somehow got some inference turned on that generalizes
> to other object props, I'm stumped.
>
>
> In case it matters, rex:relationship looks like:
>
>    <owl:ObjectProperty rdf:about="&rex;relationship">
>        <rdfs:comment xml:lang="en">All the relationships in the jape
> rules are set up to be sub-properties of this.</rdfs:comment>
>        <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
>    </owl:ObjectProperty>
>
>
>
> e.g.:
>
> rdf:subject
>      a       rdf:Property , rdfs:Resource ;
>      rdfs:domain rdf:Statement ;
>      rdfs:subPropertyOf rdf:subject .
>
>
>
> PREFIX rex:   <http://www.basistech.com/ontologies/2010/6/rex.owl#>
> PREFIX owl:   <http://www.w3.org/2002/07/owl#>
> PREFIX x-arq: <urn:x-arq:>
>
> CONSTRUCT{ ?s ?p ?o }
>
> WHERE
> {
>       GRAPH x-arq:UnionGraph {
>
>       # Items of interest.
>          ?entity rex:relationship [] .
>          { BIND(?entity AS ?s) }
>          ?s ?p ?o .
>          }
> }
>

Reply via email to