PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX : <http://example.org/test#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

SELECT * 
WHERE { ?parent rdf:type [
       a owl:Restriction ;
       owl:onProperty :hasChild ;
       owl:minCardinality "1"^^xsd:nonNegativeInteger  ] . }
