structural relationship extractor proof of concept