We are using /entity/analyze/connect and /entity/analyze/search requests to build a relationship graph between entities.
We are looking for an opportunity to request entities with specific relationship types. like OfficerDirectorOrganization.
We analyzed existing parameters, but did not find any opportunity to filter entities by relationship type.
Is there any?
We have that functionality in the search endpoint. You would need to recursively iterate through the resultset to replicate analyze functionality, otherwise the filtering would have to be done on the client.
Example:
GET /datafusion/api/entity/search?parentUrisDirect=http://permid.org/1-4295861160∥entPredicateFilters=23|||http://rdf.thomsonreuters.com/relationship/OfficerDirectorOrganization
where:
These will be specific to your instance, but you can retrieve them either through
GET /datafusion/api/context/list
or
GET /datafusion/api/entity/search?parentUrisDirect=http://permid.org/1-4295861160∈cludePredicates=true
Thank you, Tomasz. This is helpful.
Probably you also can help us to understand is there any prioritization in responses for connections? We can see this score field, however looks like it is working in scope of one request and when we request additional connections request score is not correlated with previous response. Our main question here, can we receive really relevant and important connection only after several requests?