Is there a way to query if ?p1 foaf:knows ?p2 in SPARQL for a graph that does not use the foaf:knows property, but instead uses the property :isParticipantIn ?
eg:
:Mike a foaf:Person .
:Jane a foaf:Person .
:Mike :isParticipantIn :ProjectBiosphere
:Jane :isParticipantIn :ProjectBiosphere
So I want to use sparql CONSTRUCT and express that two people know each other if they participate in the same thing, to assert that:
:Mike :knows :Jane
:Jane :knows :Mike
What would the SPARQL CONSTRUCT query look like? Should I instead define a new namedIndividual owl:Class, can there be restrictions on properties in OWL?
asked
23 Feb, 02:49
edan
263●1●6
accept rate:
0%