added has_children to sparql