Databases Reference
In-Depth Information
Figure 5-7. Talent.net graph enriched with WORKED_WITH relationships
Using the enriched graph, Talent.net now finds colleagues and colleagues-of-colleagues
with particular interests using a slightly simpler version of the query we looked at earlier:
START subject= node :user(name= {name} )
MATCH p=(subject)-[:WORKED_WITH*0..1]-()-[:WORKED_WITH]-(person)
-[:INTERESTED_IN]->(interest)
WHERE person<>subject AND interest.name IN {interests}
WITH person, interest, min ( length (p)) as pathLength
RETURN person.name AS name,
count (interest) AS score,
collect (interest.name) AS interests,
(pathLength - 1) AS distance
ORDER BY score DESC
LIMIT {resultLimit}
Authorization and Access Control
TeleGraph Communications is an international communications services company.
Millions of domestic and business users subscribe to its products and services. For
several years, it has offered its largest business customers the ability to self-service their
accounts. Using a browser-based application, administrators within each of these cus‐
tomer organizations can add and remove services on behalf of their employees. To
 
Search WWH ::




Custom Search