input_text
stringlengths
111
232
output_text
stringlengths
32
356
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.
MATCH (a:author {name: 'Sebastian Thrun'})-[:author_write_paper]->(p:paper) MATCH (p)<-[:author_write_paper]-(coauthor:author)-[:author_in_affiliation]->(aff:affiliation {name:'Carnegie Mellon University'}) RETURN DISTINCT coauthor.name, aff.name
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.
MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation), (p)-[:paper_in_domain]->(:domain {name: 'Parallel Computing'}) WITH p, COUNT(DISTINCT aff) AS numAffiliations RETURN p.name, numAffiliations ORDER BY numAffiliations DESC LIMIT 1
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.
MATCH (aff:affiliation {name: 'University of Oxford'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper) RETURN p.name
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.
MATCH (a:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) MATCH (p)<-[:author_write_paper]-(coa:author) WHERE coa.name <> a.name RETURN coa.name, COUNT(p) AS countCollaborations ORDER BY countCollaborations DESC
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.
MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Parallel Computing'}) RETURN COUNT(DISTINCT p.name)
Generate cypher query for the question: Which authors are affiliated with more than one affiliation? Only give cypher query, without any other words.
MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation) WITH a, COUNT(DISTINCT aff) AS numAffiliations WHERE numAffiliations > 1 RETURN a.name
Generate cypher query for the question: What is the total number of affiliations? Only give cypher query, without any other words.
MATCH (a:affiliation) RETURN COUNT(a)
Generate cypher query for the question: What are all papers in Artificial Intelligence presented in ICML? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}), (p)-[:paper_in_domain]->(d:domain {name: 'Artificial Intelligence'}) RETURN p.name
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.
MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(c:conference) WITH a, COUNT(DISTINCT c) AS numConferences WHERE numConferences > 3 RETURN a.name, numConferences ORDER BY numConferences DESC
Generate cypher query for the question: What are the domains of papers presented at a 'AAAI'? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'}), (p)-[:paper_in_domain]->(d:domain) RETURN DISTINCT d.name
Generate cypher query for the question: How many papers are there in each domain? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_domain]->(d:domain) RETURN d.name, COUNT(p) AS numPapers
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.
MATCH (aff:affiliation {name: 'Johns Hopkins University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) RETURN DISTINCT p.name
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.
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'}) RETURN DISTINCT p.name
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.
MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'}), (p)-[:paper_in_domain]->(:domain {name: 'Artificial Intelligence'}) RETURN aff.name, COUNT(p) AS numPapers ORDER BY numPapers DESC
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.
MATCH (affi:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Cloud Computing'}) RETURN affi.name AS UniversityName, COUNT(p) AS PaperCount ORDER BY PaperCount DESC LIMIT 1
Generate cypher query for the question: Which conferences has 'Daphne Koller' attended most frequently? Only give cypher query, without any other words.
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
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.
MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation) WITH p, COUNT(DISTINCT aff) AS numAffiliations RETURN p.name, numAffiliations ORDER BY numAffiliations DESC LIMIT 1
Generate cypher query for the question: Which authors have written more than 5 papers? Only give cypher query, without any other words.
MATCH (a:author)-[:author_write_paper]->(p:paper) WITH a, COUNT(p) AS numPapers WHERE numPapers > 5 RETURN a.name
Generate cypher query for the question: What are the top five most cited papers in 'ACL'? Only give cypher query, without any other words.
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
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.
MATCH (cited:paper)<-[:paper_cite_paper]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation) WITH cited, COUNT(DISTINCT aff) AS numAffiliations WHERE numAffiliations > 20 RETURN cited.name
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.
MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Johns Hopkins University'}) MATCH (a)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN a.name, COUNT(p)
Generate cypher query for the question: Who are the authors with papers in the most domains? Only give cypher query, without any other words.
MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain) WITH a, COUNT(DISTINCT d) AS numDomains RETURN a.name ORDER BY numDomains DESC LIMIT 1
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.
MATCH (d:domain {name: 'Computational Complexity Theory'})<-[:paper_in_domain]-(p:paper)<-[:author_write_paper]-(:author)-[:author_in_affiliation]-(:affiliation {name: "Tsinghua University"}) RETURN p.name, p.year ORDER BY p.year DESC
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.
MATCH path = (a:author {name: 'Peter Stone'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author) RETURN coa.name
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.
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
Generate cypher query for the question: How many conferences are listed? Only give cypher query, without any other words.
MATCH (c:conference) RETURN count(c) AS countConference
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.
MATCH (a:author)-[:author_write_paper]->(p1:paper)-[:paper_in_domain]->(:domain {name: 'Artificial Intelligence'}), (a)-[:author_write_paper]->(p2:paper)-[:paper_in_domain]->(:domain {name: 'Data Structure'}) RETURN DISTINCT a.name
Generate cypher query for the question: List all papers with no citations. Only give cypher query, without any other words.
MATCH (p:paper) WHERE NOT EXISTS((:paper)-[:paper_cite_paper]->(p)) RETURN p.name
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.
MATCH (c:conference {name: 'NIPS'})<-[:paper_in_venue]-(p:paper) MATCH (p)<-[:paper_cite_paper]-(citedBy) RETURN AVG(SIZE([(p)<-[:paper_cite_paper]-(citing:paper) |citing])) AS AvgCitations
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.
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
Generate cypher query for the question: Which affiliations have the most papers in Machine Learning? Only give cypher query, without any other words.
MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}) RETURN aff.name, COUNT(p) AS numPapers ORDER BY numPapers DESC
Generate cypher query for the question: How many ACL papers are there in each domain? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_domain]->(d:domain), (p)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN d.name, COUNT(p) AS numPapers
Generate cypher query for the question: What are papers in both Machine Learning and Mathematical Optimization? Only give cypher query, without any other words.
MATCH (d1:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_domain]->(d2:domain {name: 'Mathematical Optimization'}) RETURN p.name
Generate cypher query for the question: Identify all papers that no other papers cite. Only give cypher query, without any other words.
MATCH (p:paper) WHERE NOT EXISTS((:paper)-[:paper_cite_paper]->(p:paper)) RETURN p.name
Generate cypher query for the question: List all authors who published paper in Genomics by name. Only give cypher query, without any other words.
MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Genomics'}) RETURN DISTINCT a.name
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.
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)
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.
MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'ICDM'}), (p)-[:paper_in_domain]->(d1:domain {name: 'Computer Science'}), (p)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'}) RETURN p.name
Generate cypher query for the question: Which conference has the least number of papers? Only give cypher query, without any other words.
MATCH (c:conference)<-[:paper_in_venue]-(p:paper) WITH c, COUNT(p) AS numPapers RETURN c.name ORDER BY numPapers ASC LIMIT 1
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.
MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) MATCH (p)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Columbia University'}) RETURN COUNT(p)
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.
MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) MATCH (p)-[:paper_in_domain]->(:domain {name:'Computational Biology'}) MATCH (p)-[:paper_in_domain]->(:domain {name:'Machine Learning'}) RETURN COUNT(p)
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.
MATCH (p:paper)<-[:paper_cite_paper]-(citingPaper:paper)-[:paper_in_domain]->(d:domain) WITH p, COUNT(DISTINCT d) AS numDomains WHERE numDomains > 1 RETURN p.name
Generate cypher query for the question: Which Machine Learning papers were presented at a AAAI? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}), (p)-[:paper_in_domain]->(:domain {name:'Machine Learning'}) RETURN p.name
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.
MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Real-time Computing'}) RETURN p.name, size([(p)<-[:paper_cite_paper]-(other:paper) | other]) AS citations ORDER BY citations DESC
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.
MATCH (citing_paper:paper)-[:paper_cite_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) WHERE (p)-[:paper_in_domain]->(:domain {name: "Computer Vision"}) RETURN p.name, COUNT(citing_paper) AS citations ORDER BY citations DESC LIMIT 1
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.
MATCH (p:paper)<-[:paper_cite_paper]-(:paper) WITH p, COUNT(*) AS citations WHERE citations>10 RETURN p.name, citations ORDER BY citations DESC
Generate cypher query for the question: List recent papers in Machine Learning. Only give cypher query, without any other words.
MATCH (p:paper )-[:paper_in_domain]->(d:domain {name: 'Machine Learning'}) RETURN p.name ORDER BY p.date DESC
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.
MATCH (d:domain {name: 'Robotics'})<-[:paper_in_domain]-(p:paper) MATCH (p)<-[:paper_cite_paper]-(citing) RETURN p.name AS PaperTitle, COUNT(citing) AS CitationCount ORDER BY CitationCount DESC LIMIT 1
Generate cypher query for the question: Identify the top five conferences hosting Feature Vector papers. Only give cypher query, without any other words.
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
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.
MATCH path = (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_cite_paper]->(cp:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) RETURN path
Generate cypher query for the question: How many papers cite at least one other paper? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_cite_paper]->(:paper) RETURN COUNT(DISTINCT p)
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.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) WITH SIZE([(other:paper)-[:paper_cite_paper]->(p) |other]) AS Citations RETURN AVG(Citations) AS AvgCitations
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.
MATCH (d:domain {name: 'Cloud Computing'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'siggraph'}) WITH p, SIZE([(p)-[:paper_cite_paper]->(cited:paper) | cited]) AS citations RETURN AVG(citations)
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.
MATCH (aff:affiliation {name: 'Carnegie Mellon University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN p.name, COUNT(p)
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.
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
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.
MATCH (:domain {name: 'Reinforcement Learning'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) RETURN p.name, SIZE([(p)<-[:paper_cite_paper]-(citing:paper) | citing]) AS citings ORDER BY citings DESC
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.
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
Generate cypher query for the question: What papers are Computer Science? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Computer Science'}) RETURN p.name
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.
MATCH (a1:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Data Mining'}), (p)<-[:author_write_paper]-(a2:author) WHERE a1 <> a2 RETURN a1.name, a2.name, COUNT(p) AS numPapers ORDER BY numPapers DESC LIMIT 1
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.
MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper) WITH p MATCH (p)<-[:author_write_paper]-(author) WITH p, COUNT(author) AS num_authors RETURN p.name AS PaperName, num_authors ORDER BY num_authors DESC
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.
MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper {name: 'in-network pca and anomaly detection'})<-[:author_write_paper]-(coa:author) RETURN coa.name
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.
MATCH (aff:affiliation {name: 'Stanford University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(:conference {name:'ACL'}) WHERE p.name CONTAINS 'Natural Language Processing' OR p.abstract CONTAINS 'Natural Language Processing' OR p.content CONTAINS 'Natural Language Processing' RETURN COUNT(p)
Generate cypher query for the question: How many papers are in the database? Only give cypher query, without any other words.
MATCH (p:paper) RETURN count(p) AS num_papers
Generate cypher query for the question: What are the trending domains in 'SIGGRAPH'? Only give cypher query, without any other words.
MATCH (c:conference {name: 'SIGGRAPH'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) WITH d.name AS Domain, COUNT(p) AS NumberOfPapers ORDER BY NumberOfPapers DESC RETURN Domain, NumberOfPapers
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.
MATCH (aff:affiliation {name: 'Johns Hopkins University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN DISTINCT p.name, p.year ORDER BY p.year
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.
MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_domain]->(:domain {name: 'Computer Vision'}) WITH a, SIZE([(a)-[:author_write_paper]->(p:paper)| p]) AS PapersPerAuthor RETURN AVG(PapersPerAuthor) AS avgPapersPerAuthor
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.
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)
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.
MATCH (p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}) WITH p, SIZE([(p)<-[:author_write_paper]-(a:author) | a]) as countAuthors RETURN AVG(countAuthors) AS avgAuthorsPerPaper
Generate cypher query for the question: Which authors have not written any AAAI papers? Only give cypher query, without any other words.
MATCH (a:author) WHERE NOT EXISTS((a)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(:conference {name: 'AAAI'})) RETURN a.name
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.
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
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.
MATCH (p:paper)-[:paper_cite_paper]->(:paper {name: 'conditional random fields: probabilistic models for segmenting and labeling sequence data'}) RETURN p.name
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.
MATCH (target:paper {name: 'On Spectral Clustering: Analysis and an Algorithm'})<-[:paper_cite_paper]-(citingPaper) MATCH (citingPaper)-[:paper_cite_paper]->(citedPaper) WHERE citedPaper.name <> 'On Spectral Clustering: Analysis and an Algorithm' WITH citedPaper, COUNT(*) AS citations ORDER BY citations DESC RETURN citedPaper.name AS PaperName, citations
Generate cypher query for the question: List authors who have presented at more than two conferences. Only give cypher query, without any other words.
MATCH (a:author)-[:author_write_paper]->(:paper)-[:paper_in_venue]->(c:conference) WITH a, COUNT(DISTINCT c) AS numConferences WHERE numConferences > 2 RETURN a.name
Generate cypher query for the question: How many papers in 'ACL' discuss Natural Language Processing? Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) WHERE p.name CONTAINS 'Natural Language Processing' OR p.abstract CONTAINS 'Natural Language Processing' RETURN count(p)
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.
MATCH (a:author {name: 'Peter Stone'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name:'Autonomous Agent'}) RETURN a.name, COUNT(p) AS countPaper
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.
MATCH (a:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coAuthor:author)-[:author_in_affiliation]->(aff:affiliation) WITH a, COUNT(DISTINCT aff) AS numAffiliations RETURN a.name ORDER BY numAffiliations DESC LIMIT 1
Generate cypher query for the question: What papers has 'Zhouchen Lin' written? Only give cypher query, without any other words.
MATCH (a:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper) RETURN p.name
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.
MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper) RETURN p.name, p.year ORDER BY p.year DESC
Generate cypher query for the question: What is the least popular conference based on paper count? Only give cypher query, without any other words.
MATCH (c:conference)<-[:paper_in_venue]-(p:paper) WITH c, COUNT(p) AS numPapers RETURN c.name ORDER BY numPapers ASC LIMIT 1
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.
MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author), (p)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN a1.name, a2.name, COUNT(p) AS numPapers ORDER BY numPapers DESC LIMIT 1
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.
MATCH (aff:affiliation {name: 'University of Toronto'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN AVG(SIZE([(p)<-[:paper_cite_paper]-(other:paper) | other]))
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.
MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) WITH a, COUNT(p) AS numPapers WHERE numPapers > 3 MATCH (a)-[:author_in_affiliation]->(aff:affiliation) RETURN DISTINCT aff.name
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.
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
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.
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
Generate cypher query for the question: Find all papers by a 'Daphne Koller' Only give cypher query, without any other words.
MATCH (a:author {name:'Daphne Koller'})-[:author_write_paper]-(p:paper) RETURN p.name AS paper
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.
MATCH (d:domain {name: 'Computer Science'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'}) RETURN p.name
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.
MATCH (:affiliation {name: 'University of Oxford'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Robotics'}) RETURN p.name
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.
MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Data Mining'}) RETURN p.year AS Year, COUNT(p) AS NumberOfPapers ORDER BY NumberOfPapers DESC LIMIT 1
Generate cypher query for the question: Which domain has the most number of papers in 'AAAI? Only give cypher query, without any other words.
MATCH (c:conference {name: 'AAAI'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) WITH d.name AS Domain, COUNT(p) AS NumberOfPapers ORDER BY NumberOfPapers DESC LIMIT 1 RETURN Domain, NumberOfPapers
Generate cypher query for the question: List all papers from 'ICML' that discuss Deep Learning. Only give cypher query, without any other words.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ICML'}) WHERE p.name CONTAINS 'Deep Learning' OR p.abstract CONTAINS 'Deep Learning' OR p.content CONTAINS 'Deep Learning' RETURN p.name
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.
MATCH (c:conference {name: 'ACL'})<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) RETURN DISTINCT p.year, COUNT (p) as counts, d.name ORDER BY p.year, counts DESC
Generate cypher query for the question: Which author has collaborated with the most other authors? Only give cypher query, without any other words.
MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author) WHERE a1 <> a2 WITH a1, COUNT(DISTINCT a2) AS numCollaborators RETURN a1.name ORDER BY numCollaborators DESC LIMIT 1
Generate cypher query for the question: Which conference has the most diverse range of paper topics? Only give cypher query, without any other words.
MATCH (c:conference)<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain) WITH c, COUNT(DISTINCT d) AS numDomains RETURN c.name ORDER BY numDomains DESC LIMIT 1
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.
MATCH (p:paper)<-[:paper_cite_paper]-(other1:paper)-[:paper_in_domain]->(d1:domain {name: 'Machine Learning'}), (p)<-[:paper_cite_paper]->(other2:paper)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'}) RETURN DISTINCT p.name
Generate cypher query for the question: What is the number of distinct domains? Only give cypher query, without any other words.
MATCH (d:domain) RETURN COUNT(d)
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.
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
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.
MATCH (aff:affiliation)<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}), (p)-[:paper_in_venue]->(c:conference {name: 'ACL'}) RETURN aff.name, COUNT(p) AS numPapers ORDER BY numPapers DESC
Generate cypher query for the question: Which paper has the most authors? Only give cypher query, without any other words.
MATCH (p:paper)<-[:author_write_paper]-(a:author) WITH p, COUNT(a) AS numAuthors RETURN p.name, numAuthors ORDER BY numAuthors DESC LIMIT 1
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.
MATCH (p:paper)-[:paper_in_venue]->(c:conference {name: 'ACL'}) MATCH (p)-[:paper_in_domain]->(:domain {name:'Machine Translation'}) RETURN p.name
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.
MATCH (a:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)<-[:paper_cite_paper]-(citing_paper:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'}) RETURN COUNT(citing_paper)
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.
MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain) RETURN DISTINCT d.name, COUNT(p) AS countPapers ORDER BY countPapers DESC
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
55
Edit dataset card