PolygonRepository extends GraphRepository<Polygon>{
Iterable<Polygon> findByOwnerIsNull(); // willl work with primitive properties, but I'm not sure about references
// this will work if I didn't put in a typo :)
@Query("start n=__type__(className='com.examplePolygon') where not(n-[:OWNER]->()) return n"
Iterable<Polygon> findByOwnerIsNull(); // willl work with primitive properties, but I'm not sure about references