jiuyuan commited on
Commit
cd45230
1 Parent(s): ddad90f
Files changed (1) hide show
  1. train_data.jsonl +153 -0
train_data.jsonl ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"input_text": "Generate cypher query for the question: Identify the collaboration network of 'Sebastian Thrun' within 'Carnegie Mellon University'. Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Sebastian Thrun'})-[:author_write_paper]->(p:paper)\nMATCH (p)<-[:author_write_paper]-(coauthor:author)-[:author_in_affiliation]->(aff:affiliation {name:'Carnegie Mellon University'}) \nRETURN DISTINCT coauthor.name, aff.name"}
2
+ {"input_text": "Generate cypher query for the question: Which paper in 'Parallel Computing' has authors from the most diverse affiliations? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation),\n(p)-[:paper_in_domain]->(:domain {name: 'Parallel Computing'})\nWITH p, COUNT(DISTINCT aff) AS numAffiliations\nRETURN p.name, numAffiliations\nORDER BY numAffiliations DESC\nLIMIT 1"}
3
+ {"input_text": "Generate cypher query for the question: List all the papers from 'University of Oxford' related to Computer Science. Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'University of Oxford'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper) RETURN p.name"}
4
+ {"input_text": "Generate cypher query for the question: What is the network of co-authorship like for 'Daphne Koller' in 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'})\nMATCH (p)<-[:author_write_paper]-(coa:author)\nWHERE coa.name <> a.name\nRETURN coa.name, COUNT(p) AS countCollaborations\nORDER BY countCollaborations DESC"}
5
+ {"input_text": "Generate cypher query for the question: How many papers from 'Stanford University' are related to Parallel Computing? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Parallel Computing'})\nRETURN COUNT(DISTINCT p.name)"}
6
+ {"input_text": "Generate cypher query for the question: Which authors are affiliated with more than one affiliation? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation)\nWITH a, COUNT(DISTINCT aff) AS numAffiliations\nWHERE numAffiliations > 1\nRETURN a.name"}
7
+ {"input_text": "Generate cypher query for the question: What is the total number of affiliations? Only give cypher query, without any other words.", "output_text": "MATCH (a:affiliation)\nRETURN COUNT(a)"}
8
+ {"input_text": "Generate cypher query for the question: What are all papers in Artificial Intelligence presented in ICML? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}),\n (p)-[:paper_in_domain]->(d:domain {name: 'Artificial Intelligence'})\nRETURN p.name"}
9
+ {"input_text": "Generate cypher query for the question: Which authors have papers in more than three conferences? sort by number of conferences from highest to lower. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(c:conference)\nWITH a, COUNT(DISTINCT c) AS numConferences\nWHERE numConferences > 3\nRETURN a.name, numConferences\nORDER BY numConferences DESC"}
10
+ {"input_text": "Generate cypher query for the question: What are the domains of papers presented at a 'AAAI'? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'}),\n (p)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT d.name"}
11
+ {"input_text": "Generate cypher query for the question: How many papers are there in each domain? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain)\nRETURN d.name, COUNT(p) AS numPapers"}
12
+ {"input_text": "Generate cypher query for the question: Which papers from 'Johns Hopkins University' have been featured in 'ICML'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Johns Hopkins University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'})\nRETURN DISTINCT p.name"}
13
+ {"input_text": "Generate cypher query for the question: Which papers from 'Carnegie Mellon University' research in Natural Language Processing? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Carnegie Mellon University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name:'Natural Language Processing'}) \nRETURN DISTINCT p.name"}
14
+ {"input_text": "Generate cypher query for the question: Which affiliations are most actively publishing in the field of Artificial Intelligence at the 'AAAI' conference? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'}),\n (p)-[:paper_in_domain]->(:domain {name: 'Artificial Intelligence'})\nRETURN aff.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC"}
15
+ {"input_text": "Generate cypher query for the question: Find the university with the highest number of papers in the field of Cloud Computing. Only give cypher query, without any other words.", "output_text": "MATCH (affi:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Cloud Computing'})\nRETURN affi.name AS UniversityName, COUNT(p) AS PaperCount\nORDER BY PaperCount DESC\nLIMIT 1"}
16
+ {"input_text": "Generate cypher query for the question: Which conferences has 'Daphne Koller' attended most frequently? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference) RETURN c.name, COUNT(*) AS appearances ORDER BY appearances DESC"}
17
+ {"input_text": "Generate cypher query for the question: Which paper has the highest number of affiliated institutions among its authors? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation)\nWITH p, COUNT(DISTINCT aff) AS numAffiliations\nRETURN p.name, numAffiliations\nORDER BY numAffiliations DESC\nLIMIT 1"}
18
+ {"input_text": "Generate cypher query for the question: Which authors have written more than 5 papers? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)\nWITH a, COUNT(p) AS numPapers\nWHERE numPapers > 5\nRETURN a.name"}
19
+ {"input_text": "Generate cypher query for the question: What are the top five most cited papers in 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) WITH p, COUNT((p)<-[:paper_cite_paper]-()) AS citations RETURN p.name ORDER BY citations DESC LIMIT 5"}
20
+ {"input_text": "Generate cypher query for the question: Identify papers that have been cited by authors from more than 20 different affiliations. Only give cypher query, without any other words.", "output_text": "MATCH (cited:paper)<-[:paper_cite_paper]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation)\nWITH cited, COUNT(DISTINCT aff) AS numAffiliations\nWHERE numAffiliations > 20\nRETURN cited.name"}
21
+ {"input_text": "Generate cypher query for the question: Which authors from 'Johns Hopkins University' have papers in 'AAAI', and what are the numbers of papers each author published? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Johns Hopkins University'})\nMATCH (a)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) \nRETURN a.name, COUNT(p)"}
22
+ {"input_text": "Generate cypher query for the question: Who are the authors with papers in the most domains? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain)\nWITH a, COUNT(DISTINCT d) AS numDomains\nRETURN a.name\nORDER BY numDomains DESC\nLIMIT 1"}
23
+ {"input_text": "Generate cypher query for the question: What are the latest research trends in the domain of Computational Complexity Theory by 'Tsinghua University'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Computational Complexity Theory'})<-[:paper_in_domain]-(p:paper)<-[:author_write_paper]-(:author)-[:author_in_affiliation]-(:affiliation {name: \"Tsinghua University\"})\nRETURN p.name, p.year ORDER BY p.year DESC"}
24
+ {"input_text": "Generate cypher query for the question: Can you find a network of co-authors for 'Peter Stone'? Only give cypher query, without any other words.", "output_text": "MATCH path = (a:author {name: 'Peter Stone'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author) RETURN coa.name"}
25
+ {"input_text": "Generate cypher query for the question: What are the emerging research areas in the domain of Machine Learning at 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'}) RETURN p.name, p.year ORDER BY p.year DESC"}
26
+ {"input_text": "Generate cypher query for the question: How many conferences are listed? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference) RETURN count(c) AS countConference"}
27
+ {"input_text": "Generate cypher query for the question: .Which authors have written papers in both 'Artificial Intelligence' and 'Data Structure'? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p1:paper)-[:paper_in_domain]->(:domain {name: 'Artificial Intelligence'}),\n (a)-[:author_write_paper]->(p2:paper)-[:paper_in_domain]->(:domain {name: 'Data Structure'})\nRETURN DISTINCT a.name"}
28
+ {"input_text": "Generate cypher query for the question: List all papers with no citations. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)\nWHERE NOT EXISTS((:paper)-[:paper_cite_paper]->(p))\nRETURN p.name"}
29
+ {"input_text": "Generate cypher query for the question: Find the average number of citations per paper in the 'Neural Information Processing Systems' (NIPS) conference. Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'NIPS'})<-[:paper_in_venue]-(p:paper)\nMATCH (p)<-[:paper_cite_paper]-(citedBy)\nRETURN AVG(SIZE([(p)<-[:paper_cite_paper]-(citing:paper) |citing])) AS AvgCitations"}
30
+ {"input_text": "Generate cypher query for the question: Identify the papers with the most diverse set of author affiliations presented at 'ACL'. Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation) WITH p, COUNT(DISTINCT aff) AS num_affiliations RETURN p.name, num_affiliations ORDER BY num_affiliations DESC"}
31
+ {"input_text": "Generate cypher query for the question: Which affiliations have the most papers in Machine Learning? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'})\nRETURN aff.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC"}
32
+ {"input_text": "Generate cypher query for the question: How many ACL papers are there in each domain? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain), (p)-[:paper_in_venue]->(c:conference {name: 'AAAI'})\nRETURN d.name, COUNT(p) AS numPapers"}
33
+ {"input_text": "Generate cypher query for the question: What are papers in both Machine Learning and Mathematical Optimization? Only give cypher query, without any other words.", "output_text": "MATCH (d1:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_domain]->(d2:domain {name: 'Mathematical Optimization'}) \nRETURN p.name"}
34
+ {"input_text": "Generate cypher query for the question: Identify all papers that no other papers cite. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)\nWHERE NOT EXISTS((:paper)-[:paper_cite_paper]->(p:paper))\nRETURN p.name"}
35
+ {"input_text": "Generate cypher query for the question: List all authors who published paper in Genomics by name. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Genomics'})\nRETURN DISTINCT a.name"}
36
+ {"input_text": "Generate cypher query for the question: How many papers cite both 'On spectral clustering: analysis and an algorithm' and 'Learning with local and global consistency'? Only give cypher query, without any other words.", "output_text": "MATCH (p1:paper {name: 'on spectral clustering: analysis and an algorithm'})<-[:paper_cite_paper]-(p:paper)-[:paper_cite_paper]->(p2:paper {name: 'learning with local and global consistency'}) RETURN COUNT(DISTINCT p)"}
37
+ {"input_text": "Generate cypher query for the question: How many papers have interdisciplinary themes combining Computer Science and Computational Biology at 'ICDM' conferences, and give their names? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'ICDM'}),\n (p)-[:paper_in_domain]->(d1:domain {name: 'Computer Science'}),\n (p)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'})\nRETURN p.name"}
38
+ {"input_text": "Generate cypher query for the question: Which conference has the least number of papers? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)\nWITH c, COUNT(p) AS numPapers\nRETURN c.name\nORDER BY numPapers ASC\nLIMIT 1"}
39
+ {"input_text": "Generate cypher query for the question: How many papers from the domain of Machine Learning have been published in 'ACL' conferences by 'Columbia University'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'})\nMATCH (p)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Columbia University'})\nRETURN COUNT(p)"}
40
+ {"input_text": "Generate cypher query for the question: How many interdisciplinary papers combining Machine Learning and Computational Biology have been presented by 'Stanford University' in 'ICML'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) \nMATCH (p)-[:paper_in_domain]->(:domain {name:'Computational Biology'}) \nMATCH (p)-[:paper_in_domain]->(:domain {name:'Machine Learning'})\nRETURN COUNT(p)"}
41
+ {"input_text": "Generate cypher query for the question: Find papers that have been cited by papers in more than one domain. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:paper_cite_paper]-(citingPaper:paper)-[:paper_in_domain]->(d:domain)\nWITH p, COUNT(DISTINCT d) AS numDomains\nWHERE numDomains > 1\nRETURN p.name"}
42
+ {"input_text": "Generate cypher query for the question: Which Machine Learning papers were presented at a AAAI? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}), (p)-[:paper_in_domain]->(:domain {name:'Machine Learning'})\nRETURN p.name"}
43
+ {"input_text": "Generate cypher query for the question: List the most cited Real-time Computing papers from the past five years. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Real-time Computing'}) \nRETURN p.name, size([(p)<-[:paper_cite_paper]-(other:paper) | other]) AS citations \nORDER BY citations DESC"}
44
+ {"input_text": "Generate cypher query for the question: What is the most cited paper in Computer Vision from 'ICML'? Only give cypher query, without any other words.", "output_text": "MATCH (citing_paper:paper)-[:paper_cite_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'})\nWHERE (p)-[:paper_in_domain]->(:domain {name: \"Computer Vision\"})\nRETURN p.name, COUNT(citing_paper) AS citations\nORDER BY citations DESC LIMIT 1"}
45
+ {"input_text": "Generate cypher query for the question: How many papers are cited by at least ten other paper? Sort by number of citings from high to low. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:paper_cite_paper]-(:paper)\nWITH p, COUNT(*) AS citations\nWHERE citations>10\nRETURN p.name, citations\nORDER BY citations DESC"}
46
+ {"input_text": "Generate cypher query for the question: List recent papers in Machine Learning. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper )-[:paper_in_domain]->(d:domain {name: 'Machine Learning'})\nRETURN p.name\nORDER BY p.date DESC"}
47
+ {"input_text": "Generate cypher query for the question: What is the most frequently cited paper in the domain of Robotics? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Robotics'})<-[:paper_in_domain]-(p:paper)\nMATCH (p)<-[:paper_cite_paper]-(citing)\nRETURN p.name AS PaperTitle, COUNT(citing) AS CitationCount\nORDER BY CitationCount DESC\nLIMIT 1"}
48
+ {"input_text": "Generate cypher query for the question: Identify the top five conferences hosting Feature Vector papers. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Feature Vector'}), (p)-[:paper_in_venue]->(v:conference) RETURN v.name, count(p) AS papers ORDER BY papers DESC LIMIT 5"}
49
+ {"input_text": "Generate cypher query for the question: Can you map the network of paper citations in the field of Machine Learning at 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH path = (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_cite_paper]->(cp:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) \nRETURN path"}
50
+ {"input_text": "Generate cypher query for the question: How many papers cite at least one other paper? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_cite_paper]->(:paper)\nRETURN COUNT(DISTINCT p)"}
51
+ {"input_text": "Generate cypher query for the question: What is the average number of citations per paper published in AAAI? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'})\nWITH SIZE([(other:paper)-[:paper_cite_paper]->(p) |other]) AS Citations\nRETURN AVG(Citations) AS AvgCitations"}
52
+ {"input_text": "Generate cypher query for the question: What is the average number of citations per paper in the domain of Cloud Computing presented at 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Cloud Computing'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'siggraph'})\nWITH p, SIZE([(p)-[:paper_cite_paper]->(cited:paper) | cited]) AS citations\nRETURN AVG(citations)\n"}
53
+ {"input_text": "Generate cypher query for the question: What are the main research papers of 'Carnegie Mellon University' presented at 'AAAI'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Carnegie Mellon University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) \nRETURN p.name, COUNT(p)"}
54
+ {"input_text": "Generate cypher query for the question: What is the most common conference venue for papers on Machine Learning by 'daphne koller'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference), (p:paper)<-[:author_write_paper]-(a:author {name:'daphne koller'}) RETURN c.name, COUNT(*) AS num_papers ORDER BY num_papers DESC LIMIT 1"}
55
+ {"input_text": "Generate cypher query for the question: Identify the most cited papers in the field of Reinforcement Learning from 'ICML'. Only give cypher query, without any other words.", "output_text": "MATCH (:domain {name: 'Reinforcement Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) \nRETURN p.name, SIZE([(p)<-[:paper_cite_paper]-(citing:paper) | citing]) AS citings\nORDER BY citings DESC "}
56
+ {"input_text": "Generate cypher query for the question: What are the trending topics in the domain of Logistic Regression presented at 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Logistic Regression'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) RETURN p.name, p.date ORDER BY p.date DESC"}
57
+ {"input_text": "Generate cypher query for the question: What papers are Computer Science? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Computer Science'})\nRETURN p.name"}
58
+ {"input_text": "Generate cypher query for the question: What is the most common co-authorship pattern in the 'Data Mining' domain? Only give cypher query, without any other words.", "output_text": "MATCH (a1:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Data Mining'}), (p)<-[:author_write_paper]-(a2:author)\nWHERE a1 <> a2\nRETURN a1.name, a2.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC\nLIMIT 1"}
59
+ {"input_text": "Generate cypher query for the question: Which papers presented at 'ACL' have the most number of co-authors? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)\nWITH p\nMATCH (p)<-[:author_write_paper]-(author)\nWITH p, COUNT(author) AS num_authors\nRETURN p.name AS PaperName, num_authors\nORDER BY num_authors DESC"}
60
+ {"input_text": "Generate cypher query for the question: Who are the co-authors of 'Michael I Jordan' in 'in-network pca and anomaly detection'? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper {name: 'in-network pca and anomaly detection'})<-[:author_write_paper]-(coa:author) \nRETURN coa.name"}
61
+ {"input_text": "Generate cypher query for the question: How many papers on Natural Language Processing has 'Stanford University' published in 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(:conference {name:'ACL'})\nWHERE p.name CONTAINS 'Natural Language Processing' OR p.abstract CONTAINS 'Natural Language Processing' OR p.content CONTAINS 'Natural Language Processing' \nRETURN COUNT(p)"}
62
+ {"input_text": "Generate cypher query for the question: How many papers are in the database? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper) RETURN count(p) AS num_papers"}
63
+ {"input_text": "Generate cypher query for the question: What are the trending domains in 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'SIGGRAPH'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nWITH d.name AS Domain, COUNT(p) AS NumberOfPapers\nORDER BY NumberOfPapers DESC\nRETURN Domain, NumberOfPapers"}
64
+ {"input_text": "Generate cypher query for the question: What are the latest papers by 'Johns Hopkins University' in 'AAAI'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Johns Hopkins University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) \nRETURN DISTINCT p.name, p.year\nORDER BY p.year"}
65
+ {"input_text": "Generate cypher query for the question: What is the average number of papers per author in the 'Computer Vision' domain? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_domain]->(:domain {name: 'Computer Vision'})\nWITH a, SIZE([(a)-[:author_write_paper]->(p:paper)| p]) AS PapersPerAuthor\nRETURN AVG(PapersPerAuthor) AS avgPapersPerAuthor"}
66
+ {"input_text": "Generate cypher query for the question: How many times has 'Semi-supervised learning using Gaussian fields and harmonic functions' been cited in 'ICML' papers? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'Semi-supervised learning using Gaussian fields and harmonic functions'})<-[:paper_cite_paper]-(citing_paper:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) RETURN COUNT(citing_paper)"}
67
+ {"input_text": "Generate cypher query for the question: What is the average number of authors per paper in the 'Machine Learning' domain? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'})\nWITH p, SIZE([(p)<-[:author_write_paper]-(a:author) | a]) as countAuthors\nRETURN AVG(countAuthors) AS avgAuthorsPerPaper"}
68
+ {"input_text": "Generate cypher query for the question: Which authors have not written any AAAI papers? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)\nWHERE NOT EXISTS((a)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'}))\nRETURN a.name"}
69
+ {"input_text": "Generate cypher query for the question: What are the top 5 main research areas in the conference 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) RETURN d.name, COUNT(*) AS frequency ORDER BY frequency DESC LIMIT 5"}
70
+ {"input_text": "Generate cypher query for the question: Which papers cite 'conditional random fields: probabilistic models for segmenting and labeling sequence data'? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_cite_paper]->(:paper {name: 'conditional random fields: probabilistic models for segmenting and labeling sequence data'})\nRETURN p.name"}
71
+ {"input_text": "Generate cypher query for the question: For those papers that cite 'on spectral clustering: analysis and an algorithm', which papers are they most frequently citing besides that Only give cypher query, without any other words.", "output_text": "MATCH (target:paper {name: 'On Spectral Clustering: Analysis and an Algorithm'})<-[:paper_cite_paper]-(citingPaper)\nMATCH (citingPaper)-[:paper_cite_paper]->(citedPaper)\nWHERE citedPaper.name <> 'On Spectral Clustering: Analysis and an Algorithm'\nWITH citedPaper, COUNT(*) AS citations\nORDER BY citations DESC\nRETURN citedPaper.name AS PaperName, citations"}
72
+ {"input_text": "Generate cypher query for the question: List authors who have presented at more than two conferences. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(c:conference)\nWITH a, COUNT(DISTINCT c) AS numConferences\nWHERE numConferences > 2\nRETURN a.name"}
73
+ {"input_text": "Generate cypher query for the question: How many papers in 'ACL' discuss Natural Language Processing? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) \nWHERE p.name CONTAINS 'Natural Language Processing' OR p.abstract CONTAINS 'Natural Language Processing'\nRETURN count(p)"}
74
+ {"input_text": "Generate cypher query for the question: How many papers does 'Peter Stone' have in the domain of Autonomous Agent? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Peter Stone'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name:'Autonomous Agent'})\nRETURN a.name, COUNT(p) AS countPaper"}
75
+ {"input_text": "Generate cypher query for the question: Find authors who have collaborated with the most number of different affiliations. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coAuthor:author)-[:author_in_affiliation]->(aff:affiliation)\nWITH a, COUNT(DISTINCT aff) AS numAffiliations\nRETURN a.name\nORDER BY numAffiliations DESC\nLIMIT 1"}
76
+ {"input_text": "Generate cypher query for the question: What papers has 'Zhouchen Lin' written? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)\nRETURN p.name"}
77
+ {"input_text": "Generate cypher query for the question: What are the primary research interests of 'Michael I Jordan' recently? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper) \nRETURN p.name, p.year\nORDER BY p.year DESC"}
78
+ {"input_text": "Generate cypher query for the question: What is the least popular conference based on paper count? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)\nWITH c, COUNT(p) AS numPapers\nRETURN c.name\nORDER BY numPapers ASC\nLIMIT 1"}
79
+ {"input_text": "Generate cypher query for the question: What are the most common co-authorship pairs in AAAI conference? Only give cypher query, without any other words.", "output_text": "MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author), (p)-[:paper_in_venue]->(c:conference {name: 'AAAI'})\nRETURN a1.name, a2.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC\nLIMIT 1\n"}
80
+ {"input_text": "Generate cypher query for the question: What is the average number of citations from others for papers from 'University of Toronto' in 'AAAI'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'University of Toronto'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) \nRETURN AVG(SIZE([(p)<-[:paper_cite_paper]-(other:paper) | other]))"}
81
+ {"input_text": "Generate cypher query for the question: List the affiliations of authors who have written more than 3 ACL papers. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'})\nWITH a, COUNT(p) AS numPapers\nWHERE numPapers > 3\nMATCH (a)-[:author_in_affiliation]->(aff:affiliation)\nRETURN DISTINCT aff.name"}
82
+ {"input_text": "Generate cypher query for the question: Can you find a pattern of collaboration between different research institutions in papers by 'Zhouchen Lin'? Only give cypher query, without any other words.", "output_text": "MATCH (aff1:affiliation)<-[:author_in_affiliation]-(a:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author)-[:author_in_affiliation]->(aff2:affiliation) WHERE aff1 <> aff2 RETURN aff1.name, aff2.name, COUNT(*) AS collaborations ORDER BY collaborations DESC"}
83
+ {"input_text": "Generate cypher query for the question: Who are the top three authors in Artificial Intelligence based on the number of publications? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Artificial Intelligence'}) RETURN a.name, count(p) AS publications ORDER BY publications DESC LIMIT 3"}
84
+ {"input_text": "Generate cypher query for the question: Find all papers by a 'Daphne Koller' Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name:'Daphne Koller'})-[:author_write_paper]-(p:paper) \nRETURN p.name AS paper"}
85
+ {"input_text": "Generate cypher query for the question: List all papers in the domain of Computer Science presented at 'SIGGRAPH'. Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Computer Science'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'}) RETURN p.name"}
86
+ {"input_text": "Generate cypher query for the question: Identify the papers in the field of Robotics by authors from the 'University of Oxford'. Only give cypher query, without any other words.", "output_text": "MATCH (:affiliation {name: 'University of Oxford'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Robotics'})\nRETURN p.name"}
87
+ {"input_text": "Generate cypher query for the question: Identify the year with the highest number of published papers in the domain of Data Mining. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Data Mining'})\nRETURN p.year AS Year, COUNT(p) AS NumberOfPapers\nORDER BY NumberOfPapers DESC\nLIMIT 1"}
88
+ {"input_text": "Generate cypher query for the question: Which domain has the most number of papers in 'AAAI? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'AAAI'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nWITH d.name AS Domain, COUNT(p) AS NumberOfPapers\nORDER BY NumberOfPapers DESC\nLIMIT 1\nRETURN Domain, NumberOfPapers"}
89
+ {"input_text": "Generate cypher query for the question: List all papers from 'ICML' that discuss Deep Learning. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) \nWHERE p.name CONTAINS 'Deep Learning' OR p.abstract CONTAINS 'Deep Learning' OR p.content CONTAINS 'Deep Learning'\nRETURN p.name"}
90
+ {"input_text": "Generate cypher query for the question: What are the evolution of research topics in 'ACL' conference each year? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT p.year, COUNT (p) as counts, d.name\nORDER BY p.year, counts DESC"}
91
+ {"input_text": "Generate cypher query for the question: Which author has collaborated with the most other authors? Only give cypher query, without any other words.", "output_text": "MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author)\nWHERE a1 <> a2\nWITH a1, COUNT(DISTINCT a2) AS numCollaborators\nRETURN a1.name\nORDER BY numCollaborators DESC\nLIMIT 1\n"}
92
+ {"input_text": "Generate cypher query for the question: Which conference has the most diverse range of paper topics? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nWITH c, COUNT(DISTINCT d) AS numDomains\nRETURN c.name\nORDER BY numDomains DESC\nLIMIT 1"}
93
+ {"input_text": "Generate cypher query for the question: Find papers that have been cited by papers in Machine Learning and Computational Biology Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:paper_cite_paper]-(other1:paper)-[:paper_in_domain]->(d1:domain {name: 'Machine Learning'}),\n (p)<-[:paper_cite_paper]->(other2:paper)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'})\nRETURN DISTINCT p.name"}
94
+ {"input_text": "Generate cypher query for the question: What is the number of distinct domains? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain)\nRETURN COUNT(d)"}
95
+ {"input_text": "Generate cypher query for the question: What is the most cited paper in the domain of Machine Learning presented at 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'}) WITH p, SIZE(()-[:paper_cite_paper]->(p)) AS citations RETURN p.name ORDER BY citations DESC LIMIT 1"}
96
+ {"input_text": "Generate cypher query for the question: Which affiliations have the most ACL papers in a Machine Learning? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}),\n(p)-[:paper_in_venue]->(c:conference {name: 'ACL'})\nRETURN aff.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC"}
97
+ {"input_text": "Generate cypher query for the question: Which paper has the most authors? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:author_write_paper]-(a:author)\nWITH p, COUNT(a) AS numAuthors\nRETURN p.name, numAuthors\nORDER BY numAuthors DESC\nLIMIT 1"}
98
+ {"input_text": "Generate cypher query for the question: How many papers presented at 'ACL' are related to Machine Translation? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'})\nMATCH (p)-[:paper_in_domain]->(:domain {name:'Machine Translation'})\nRETURN p.name"}
99
+ {"input_text": "Generate cypher query for the question: How many times has 'Daphne Koller' been cited in 'AAAI' papers? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)<-[:paper_cite_paper]-(citing_paper:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'})\nRETURN COUNT(citing_paper)"}
100
+ {"input_text": "Generate cypher query for the question: Which domain has Daphne Koller presented the most number of papers. Only give cypher query, without any other words.", "output_text": "MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT d.name, COUNT(p) AS countPapers\nORDER BY countPapers DESC"}
101
+ {"input_text": "Generate cypher query for the question: Name all affiliations. Only give cypher query, without any other words.", "output_text": "MATCH (a:affiliation)\nRETURN a.name"}
102
+ {"input_text": "Generate cypher query for the question: List papers written by authors from Columbia University. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Columbia University'}),\n (a)-[:author_write_paper]->(p:paper)\nRETURN p.name"}
103
+ {"input_text": "Generate cypher query for the question: What are the latest research trends in the domain of Computational Complexity Theory by authors from 'Tsinghua University'? Only give cypher query, without any other words.", "output_text": "MATCH (:affiliation {name: 'Tsinghua University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Computational Complexity Theory'})\nRETURN p.name, p.year\nORDER BY p.year DESC"}
104
+ {"input_text": "Generate cypher query for the question: How many collaborative research projects are there between 'Stanford University' and 'Carnegie Mellon University' in Genetic Algorithm? Only give cypher query, without any other words.", "output_text": "MATCH (aff1:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author)-[:author_in_affiliation]->(aff2:affiliation {name: 'Carnegie Mellon University'}) \nMATCH (p)-[:paper_in_domain]->(:domain {name:'Genetic Algorithm'})\nRETURN COUNT(DISTINCT p)"}
105
+ {"input_text": "Generate cypher query for the question: Which author has published the most papers in the domain of Artificial Intelligence? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Artificial Intelligence'})\nWITH a, COUNT(p) AS papersPublished\nRETURN a.name AS AuthorName, papersPublished\nORDER BY papersPublished DESC\nLIMIT 1"}
106
+ {"input_text": "Generate cypher query for the question: What is the most popular domain among papers? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain)\nWITH d, COUNT(p) AS numPapers\nRETURN d.name\nORDER BY numPapers DESC\nLIMIT 1"}
107
+ {"input_text": "Generate cypher query for the question: Which authors from 'Carnegie Mellon University' are most active in Robotics research? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Carnegie Mellon University'})\nWHERE p.name CONTAINS 'Robotics' \nRETURN a.name, COUNT(p) AS countPaper\nORDER BY countPaper"}
108
+ {"input_text": "Generate cypher query for the question: Which papers have the most diverse authorship in terms of affiliations? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation)\nWITH p, COUNT(DISTINCT aff) AS numAffiliations\nRETURN p.name, numAffiliations\nORDER BY numAffiliations DESC\nLIMIT 1"}
109
+ {"input_text": "Generate cypher query for the question: List all papers from 'Stanford University' in the domain of Bioinformatics. Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name:'Bioinformatics'}) \nRETURN DISTINCT p.name"}
110
+ {"input_text": "Generate cypher query for the question: Which author has the most co-authors in the field of Computer Vision? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Computer Vision'})\nWITH a,p\nMATCH (a)-[:author_write_paper]->(p)<-[:author_write_paper]-(coauthor:author)\nWITH a, COUNT(DISTINCT coauthor) AS CoAuthorCount\nRETURN a.name AS AuthorName, CoAuthorCount\nORDER BY CoAuthorCount DESC\nLIMIT 1"}
111
+ {"input_text": "Generate cypher query for the question: Which universities have the most cited 'AAAI' papers in Artificial Intelligence ? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation)<-[:author_in_affiliation]-(:author)-[author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'})\nMATCH (:domain {name:'Artificial Intelligence'})<-[:paper_in_domain]-(p:paper)<-[:paper_cite_paper]-(citing_paper:paper)\nRETURN p.name, aff.name, COUNT(citing_paper) AS citations \nORDER BY citations DESC"}
112
+ {"input_text": "Generate cypher query for the question: What are the most researched domains in 'AAAI' conference for each year? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'AAAI'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT p.year, COUNT (p) as counts, d.name\nORDER BY p.year, counts DESC"}
113
+ {"input_text": "Generate cypher query for the question: Which conference has the widest variety of domains covered? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nWITH c, COUNT(DISTINCT d) AS numDomains\nRETURN c.name\nORDER BY numDomains DESC\nLIMIT 1"}
114
+ {"input_text": "Generate cypher query for the question: What are the top 5 main research areas in the 'ACL' conference? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'ACL'}),\n (p)-[:paper_in_domain]->(d:domain)\nRETURN d.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC\nLIMIT 5"}
115
+ {"input_text": "Generate cypher query for the question: What are the various domains covered in the conference 'ACL'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) RETURN DISTINCT d.name"}
116
+ {"input_text": "Generate cypher query for the question: How many papers were published each conference? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_venue]->(c:conference)\nRETURN c.name, COUNT(p) AS numPapers"}
117
+ {"input_text": "Generate cypher query for the question: How many papers have 'Sebastian Thrun' and 'Michael I Jordan' co-authored? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Sebastian Thrun'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author {name: 'Michael I Jordan'}) RETURN COUNT(p)"}
118
+ {"input_text": "Generate cypher query for the question: Identify recent popular papers in Augmented Reality from 'SIGGRAPH'. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Augmented Reality'}), (p)-[:paper_in_venue]->(v:conference {name: 'SIGGRAPH'}) \nRETURN p.name, size([(p)<-[:paper_cite_paper]-(other:paper) | other]) AS citations\nORDER BY citations, p.date DESC"}
119
+ {"input_text": "Generate cypher query for the question: What are the key themes in the most recent papers by 'Michael I Jordan'? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper) \nRETURN p.name, p.year\nORDER BY p.year"}
120
+ {"input_text": "Generate cypher query for the question: What are papers in both Machine Learning and Mathematical Optimization? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}),\n (p)-[:paper_in_domain]->(:domain {name: 'Mathematical Optimization'})\nRETURN p.name"}
121
+ {"input_text": "Generate cypher query for the question: Name the domains with only one paper. Only give cypher query, without any other words.", "output_text": "MATCH (d:domain)<-[:paper_in_domain]-(p:paper)\nWITH d, COUNT(p) AS numPapers\nWHERE numPapers = 1\nRETURN d.name"}
122
+ {"input_text": "Generate cypher query for the question: Which conferences has Daphne Koller presented the most number of papers. Only give cypher query, without any other words.", "output_text": "MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference)\nRETURN DISTINCT c.name, COUNT(p) AS countPapers\nORDER BY countPapers DESC"}
123
+ {"input_text": "Generate cypher query for the question: List the papers by the most prolific author, also give author name. Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)\nWITH a, COUNT(p) AS numPapers\nORDER BY numPapers DESC\nLIMIT 1\nMATCH (a)-[:author_write_paper]->(p)\nRETURN a.name, p.name"}
124
+ {"input_text": "Generate cypher query for the question: Can you find a pattern of collaboration between different research institutions in papers by 'Zhouchen Lin'? Only give cypher query, without any other words.", "output_text": "MATCH (:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coAuthors:author),\n (coAuthors)-[:author_in_affiliation]->(aff:affiliation)\nRETURN aff.name, COUNT(p) AS numPapers"}
125
+ {"input_text": "Generate cypher query for the question: How many times has 'Semi-supervised learning using Gaussian fields and harmonic functions' been cited in total? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'Semi-supervised learning using Gaussian fields and harmonic functions'})<-[:paper_cite_paper]-(citing_paper) RETURN COUNT(citing_paper)"}
126
+ {"input_text": "Generate cypher query for the question: What are the newest methodologies being discussed in Graphical Model research? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Graphical Model'}) \nRETURN p.name, p.date \nORDER BY p.date DESC"}
127
+ {"input_text": "Generate cypher query for the question: What are the main research areas of 'University of Toronto' in 'ICML'? Only give cypher query, without any other words.", "output_text": "MATCH (aff:affiliation {name: 'University of Toronto'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) RETURN p.name"}
128
+ {"input_text": "Generate cypher query for the question: What are the key research findings in 'Transductive Inference for Text Classification using Support Vector Machines'? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'Transductive Inference for Text Classification using Support Vector Machines'}) \nRETURN p.abstract"}
129
+ {"input_text": "Generate cypher query for the question: Which conference have the most number of citations in Machine Learning? Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)\nMATCH (p)-[:paper_in_venue]->(c:conference)\nMATCH (p)<-[:paper_cite_paper]-(citing:paper)\nWITH c, COUNT(citing) AS citations\nRETURN c.name AS ConferenceName, SUM(citations) AS TotalCitations\nORDER BY TotalCitations DESC\nLIMIT 1"}
130
+ {"input_text": "Generate cypher query for the question: Which conferences are in the database? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)\nRETURN c.name"}
131
+ {"input_text": "Generate cypher query for the question: List all papers that cite 'Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data'. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data'})<-[:paper_cite_paper]-(citing_paper) RETURN citing_paper.name"}
132
+ {"input_text": "Generate cypher query for the question: What are the most recent papers on Machine Learning published? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Machine Learning'}) \nRETURN p.name, p.date\nORDER BY p.date DESC"}
133
+ {"input_text": "Generate cypher query for the question: Count the number of authors. Only give cypher query, without any other words.", "output_text": "MATCH (a:Author) RETURN count(a) AS authorCount"}
134
+ {"input_text": "Generate cypher query for the question: What are the key research domains of author 'Zhouchen Lin'? Only give cypher query, without any other words.", "output_text": "MATCH (:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT d.name\n"}
135
+ {"input_text": "Generate cypher query for the question: How many papers have interdisciplinary themes combining Computer Science and Computational Biology at 'ICDM', and give their names? Only give cypher query, without any other words.", "output_text": "MATCH (d1:domain {name: 'Computer Science'})<-[:paper_in_domain]-(p:paper)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'})\nMATCH (p)-[:paper_in_venue]->(c:conference {name: 'ICDM'}) \nRETURN p.name, COUNT(p)"}
136
+ {"input_text": "Generate cypher query for the question: Find the most frequently collaborating pair of authors in the Machine Learning domain. Only give cypher query, without any other words.", "output_text": "MATCH (a1:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Machine Learning'})\nWITH a1, p\nMATCH (a1)-[:author_write_paper]->(p)<-[:author_write_paper]-(a2:author)\nWHERE a1 <> a2\nWITH a1, a2, COUNT(p) AS collaborations\nORDER BY collaborations DESC\nLIMIT 1\nRETURN a1.name, a2.name, collaborations"}
137
+ {"input_text": "Generate cypher query for the question: Which conferences have the most diverse range of research domains presented by 'Tsinghua University'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) \nMATCH (p)<-[:author_write_paper]-(:author)-[:author_in_affiliation]->(affi:affiliation {name:\"Tsinghua University\"})\nWITH c, COUNT(DISTINCT d) AS num_domains RETURN c.name, num_domains ORDER BY num_domains DESC"}
138
+ {"input_text": "Generate cypher query for the question: In which conference was the paper 'Large scale semi-supervised linear SVMs' presented? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'Large scale semi-supervised linear SVMs'})-[:paper_in_venue]->(c:conference) RETURN c.name"}
139
+ {"input_text": "Generate cypher query for the question: How many different affiliations are represented at each conference, sort from highest to lowest? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference)<-[:paper_in_venue]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation)\nRETURN c.name, COUNT(DISTINCT aff) AS numAffiliations\nORDER BY numAffiliations DESC"}
140
+ {"input_text": "Generate cypher query for the question: Which domains are most common among papers from 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'SIGGRAPH'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) RETURN d.name, COUNT(*) AS frequency ORDER BY frequency DESC"}
141
+ {"input_text": "Generate cypher query for the question: List all conferences where Daphne Koller has presented. Only give cypher query, without any other words.", "output_text": "MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference)\nRETURN DISTINCT c.name"}
142
+ {"input_text": "Generate cypher query for the question: What are the latest hot research topics in 'ICML' conference? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'ICML'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)\nRETURN DISTINCT p.year, COUNT (p) as counts, d.name\nORDER BY p.year, counts DESC"}
143
+ {"input_text": "Generate cypher query for the question: What are the most common research themes in papers by authors from 'Carnegie Mellon University' and 'Stanford University'. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_in_domain]->(d:domain),\n (p)<-[:author_write_paper]-(a1:author)-[:author_in_affiliation]->(aff1:affiliation {name: 'Carnegie Mellon University'}),\n (p)<-[:author_write_paper]-(a2:author)-[:author_in_affiliation]->(aff2:affiliation {name: 'Stanford University'})\nRETURN d.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC"}
144
+ {"input_text": "Generate cypher query for the question: Identify the top 5 most cited papers in the domain of Machine Learning from 'University of Oxford'. Only give cypher query, without any other words.", "output_text": "MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'University of Oxford'}) WITH p, SIZE([(p)-[:paper_cite_paper]->(cited:paper) | cited]) AS citations RETURN p.name, citations ORDER BY citations DESC LIMIT 5"}
145
+ {"input_text": "Generate cypher query for the question: Who are the most active Search Engine researchers publishes the most in conferences? Only give cypher query, without any other words.", "output_text": "MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(v:conference), (p)-[:paper_in_domain]->(:domain {name:'search engine'})\nRETURN a.name, count(p) AS publications ORDER BY publications DESC\"\"\""}
146
+ {"input_text": "Generate cypher query for the question: What affiliations have the most authors? Only give cypher query, without any other words.", "output_text": "MATCH (a:affiliation)<-[:author_in_affiliation]-(author:author)\nWITH a, COUNT(author) AS numAuthors\nRETURN a.name\nORDER BY numAuthors DESC\nLIMIT 1"}
147
+ {"input_text": "Generate cypher query for the question: Identify the top 5 most influential papers in 'SIGGRAPH' on the topic of Augmented Reality. Only give cypher query, without any other words.", "output_text": "MATCH (:domain {name:'Augmented Reality'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'}) \nRETURN p.name, SIZE([(p)<-[:paper_cite_paper]-(citingPaper:paper)|citingPaper]) AS citings\nORDER BY citings DESC LIMIT 5"}
148
+ {"input_text": "Generate cypher query for the question: Identify papers that cite sources from more than 20 domain. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_cite_paper]->(cited:paper)-[:paper_in_domain]->(d:domain)\nWITH p, COUNT(DISTINCT d) AS numDomains\nWHERE numDomains > 20\nRETURN p.name, numDomains"}
149
+ {"input_text": "Generate cypher query for the question: Which papers are written by 'Zhouchen Lin'? Only give cypher query, without any other words.", "output_text": "MATCH (a:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper) RETURN p.name"}
150
+ {"input_text": "Generate cypher query for the question: Find papers that cite more than 3 other papers. Only give cypher query, without any other words.", "output_text": "MATCH (p:paper)-[:paper_cite_paper]->(:paper)\nWITH p, COUNT(*) AS citations\nWHERE citations > 3\nRETURN p.name"}
151
+ {"input_text": "Generate cypher query for the question: What are the most common co-authorship pairs? Only give cypher query, without any other words.", "output_text": "MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author)\nRETURN a1.name, a2.name, COUNT(p) AS numPapers\nORDER BY numPapers DESC\nLIMIT 1"}
152
+ {"input_text": "Generate cypher query for the question: What are the emerging research areas in 'SIGGRAPH'? Only give cypher query, without any other words.", "output_text": "MATCH (c:conference {name: 'SIGGRAPH'})<-[:paper_in_venue]-(p:paper) RETURN p.name, p.year ORDER BY p.year DESC"}
153
+ {"input_text": "Generate cypher query for the question: Which papers cite the paper 'A sequential algorithm for training text classifiers'? Only give cypher query, without any other words.", "output_text": "MATCH (p:paper {name: 'A sequential algorithm for training text classifiers'})<-[:paper_cite_paper]-(c:paper) RETURN c.name"}