My question is about SPARQL query language of RDF triples, suppose we have a family ontology written in RDF/XML format.
Now, I want to query all parents, for example, with at least two children (cardinality on hasChild
relation) with SPARQL.
My question is, is it possible to write this query in SPARQL language, however I know this is possible to write this query in DL query language (Description Logic)
In more general form, Is it possible to apply some cardinality restrictions in SPARQL language?