Extended triple pattern extractor.