, 我’})
CREATE(PaperD:Paper {title:‘A QoE-aware Approach for 聪明 </跨度> 家 能源 </跨度> 管理’})创建(Meloni:Autor {名称:‘Meloni,A’}) 创造(Pilloni:Autor {名称:‘Pilloni,V。’})
(Irshad
的 编辑: 强>
编辑正确回答问题的要求:
// First step: getting the greatest number of publications by author MATCH(author:Autor)-[r:IS_AUTHOR]->(:Paper) WITH author, count(r) as count ORDER BY count DESC LIMIT 1 // Second step: getting all author who have number // of publications equals to `count` MATCH (a:Autor)-[r:IS_AUTHOR]->(p:Paper) WITH a, count, count(r) AS r WHERE r = count RETURN a
输出将是:
�V�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�Y ��"a" �� �b�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�e ��{"name":"A. Floris"}�� �������������������������������������������� ��{"name":"L. Atzori"}�� ��������������������������������������������