1PREFIX owl: <http://www.w3.org/2002/07/owl#> 2PREFIX : <http://example.org/test#> 3 4SELECT * 5WHERE { ?parent a [ 6 a owl:Restriction ; 7 owl:onProperty :hasChild ; 8 owl:someValuesFrom :Female ] . }
1PREFIX owl: <http://www.w3.org/2002/07/owl#> 2PREFIX : <http://example.org/test#> 3 4SELECT * 5WHERE { ?parent a [ 6 a owl:Restriction ; 7 owl:onProperty :hasChild ; 8 owl:someValuesFrom :Female ] . }