input_text
stringlengths 111
232
| output_text
stringlengths 32
356
|
---|---|
Generate cypher query for the question: Name all affiliations. Only give cypher query, without any other words. | MATCH (a:affiliation)
RETURN a.name |
Generate cypher query for the question: List papers written by authors from Columbia University. Only give cypher query, without any other words. | MATCH (a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Columbia University'}),
(a)-[:author_write_paper]->(p:paper)
RETURN p.name |
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. | MATCH (:affiliation {name: 'Tsinghua University'})<-[:author_in_affiliation]-(a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(:domain {name: 'Computational Complexity Theory'})
RETURN p.name, p.year
ORDER BY p.year DESC |
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. | 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'})
MATCH (p)-[:paper_in_domain]->(:domain {name:'Genetic Algorithm'})
RETURN COUNT(DISTINCT p) |
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. | MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Artificial Intelligence'})
WITH a, COUNT(p) AS papersPublished
RETURN a.name AS AuthorName, papersPublished
ORDER BY papersPublished DESC
LIMIT 1 |
Generate cypher query for the question: What is the most popular domain among papers? Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_in_domain]->(d:domain)
WITH d, COUNT(p) AS numPapers
RETURN d.name
ORDER BY numPapers DESC
LIMIT 1 |
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. | MATCH (p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation {name: 'Carnegie Mellon University'})
WHERE p.name CONTAINS 'Robotics'
RETURN a.name, COUNT(p) AS countPaper
ORDER BY countPaper |
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. | 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: List all papers from 'Stanford University' in the domain of Bioinformatics. 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:'Bioinformatics'})
RETURN DISTINCT p.name |
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. | MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Computer Vision'})
WITH a,p
MATCH (a)-[:author_write_paper]->(p)<-[:author_write_paper]-(coauthor:author)
WITH a, COUNT(DISTINCT coauthor) AS CoAuthorCount
RETURN a.name AS AuthorName, CoAuthorCount
ORDER BY CoAuthorCount DESC
LIMIT 1 |
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. | MATCH (aff:affiliation)<-[:author_in_affiliation]-(:author)-[author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference {name: 'AAAI'})
MATCH (:domain {name:'Artificial Intelligence'})<-[:paper_in_domain]-(p:paper)<-[:paper_cite_paper]-(citing_paper:paper)
RETURN p.name, aff.name, COUNT(citing_paper) AS citations
ORDER BY citations DESC |
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. | MATCH (c:conference {name: 'AAAI'})<-[: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 conference has the widest variety of domains covered? 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: What are the top 5 main research areas in the 'ACL' conference? Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_in_venue]->(:conference {name: 'ACL'}),
(p)-[:paper_in_domain]->(d:domain)
RETURN d.name, COUNT(p) AS numPapers
ORDER BY numPapers DESC
LIMIT 5 |
Generate cypher query for the question: What are the various domains covered 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 DISTINCT d.name |
Generate cypher query for the question: How many papers were published each conference? Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_in_venue]->(c:conference)
RETURN c.name, COUNT(p) AS numPapers |
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. | MATCH (a:author {name: 'Sebastian Thrun'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coa:author {name: 'Michael I Jordan'}) RETURN COUNT(p) |
Generate cypher query for the question: Identify recent popular papers in Augmented Reality from 'SIGGRAPH'. Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Augmented Reality'}), (p)-[:paper_in_venue]->(v:conference {name: 'SIGGRAPH'})
RETURN p.name, size([(p)<-[:paper_cite_paper]-(other:paper) | other]) AS citations
ORDER BY citations, p.date DESC |
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. | MATCH (a:author {name: 'Michael I Jordan'})-[:author_write_paper]->(p:paper)
RETURN p.name, p.year
ORDER BY p.year |
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 (p:paper)-[:paper_in_domain]->(:domain {name: 'Machine Learning'}),
(p)-[:paper_in_domain]->(:domain {name: 'Mathematical Optimization'})
RETURN p.name |
Generate cypher query for the question: Name the domains with only one paper. Only give cypher query, without any other words. | MATCH (d:domain)<-[:paper_in_domain]-(p:paper)
WITH d, COUNT(p) AS numPapers
WHERE numPapers = 1
RETURN d.name |
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. | MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference)
RETURN DISTINCT c.name, COUNT(p) AS countPapers
ORDER BY countPapers DESC |
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. | MATCH (a:author)-[:author_write_paper]->(p:paper)
WITH a, COUNT(p) AS numPapers
ORDER BY numPapers DESC
LIMIT 1
MATCH (a)-[:author_write_paper]->(p)
RETURN a.name, p.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 (:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(coAuthors:author),
(coAuthors)-[:author_in_affiliation]->(aff:affiliation)
RETURN aff.name, COUNT(p) AS numPapers |
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. | MATCH (p:paper {name: 'Semi-supervised learning using Gaussian fields and harmonic functions'})<-[:paper_cite_paper]-(citing_paper) RETURN COUNT(citing_paper) |
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. | MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Graphical Model'})
RETURN p.name, p.date
ORDER BY p.date DESC |
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. | 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 |
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. | MATCH (p:paper {name: 'Transductive Inference for Text Classification using Support Vector Machines'})
RETURN p.abstract |
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. | MATCH (d:domain {name: 'Machine Learning'})<-[:paper_in_domain]-(p:paper)
MATCH (p)-[:paper_in_venue]->(c:conference)
MATCH (p)<-[:paper_cite_paper]-(citing:paper)
WITH c, COUNT(citing) AS citations
RETURN c.name AS ConferenceName, SUM(citations) AS TotalCitations
ORDER BY TotalCitations DESC
LIMIT 1 |
Generate cypher query for the question: Which conferences are in the database? Only give cypher query, without any other words. | MATCH (c:conference)
RETURN c.name |
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. | MATCH (p:paper {name: 'Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data'})<-[:paper_cite_paper]-(citing_paper) RETURN citing_paper.name |
Generate cypher query for the question: What are the most recent papers on Machine Learning published? Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_in_domain]->(d:domain {name: 'Machine Learning'})
RETURN p.name, p.date
ORDER BY p.date DESC |
Generate cypher query for the question: Count the number of authors. Only give cypher query, without any other words. | MATCH (a:Author) RETURN count(a) AS authorCount |
Generate cypher query for the question: What are the key research domains of author 'Zhouchen Lin'? Only give cypher query, without any other words. | MATCH (:author {name: 'Zhouchen Lin'})-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain)
RETURN DISTINCT d.name
|
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. | MATCH (d1:domain {name: 'Computer Science'})<-[:paper_in_domain]-(p:paper)-[:paper_in_domain]->(d2:domain {name: 'Computational Biology'})
MATCH (p)-[:paper_in_venue]->(c:conference {name: 'ICDM'})
RETURN p.name, COUNT(p) |
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. | MATCH (a1:author)-[:author_write_paper]->(p:paper)-[:paper_in_domain]->(d:domain {name: 'Machine Learning'})
WITH a1, p
MATCH (a1)-[:author_write_paper]->(p)<-[:author_write_paper]-(a2:author)
WHERE a1 <> a2
WITH a1, a2, COUNT(p) AS collaborations
ORDER BY collaborations DESC
LIMIT 1
RETURN a1.name, a2.name, collaborations |
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. | MATCH (c:conference)<-[:paper_in_venue]-(p:paper)-[:paper_in_domain]->(d:domain)
MATCH (p)<-[:author_write_paper]-(:author)-[:author_in_affiliation]->(affi:affiliation {name:"Tsinghua University"})
WITH c, COUNT(DISTINCT d) AS num_domains RETURN c.name, num_domains ORDER BY num_domains DESC |
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. | MATCH (p:paper {name: 'Large scale semi-supervised linear SVMs'})-[:paper_in_venue]->(c:conference) RETURN c.name |
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. | MATCH (c:conference)<-[:paper_in_venue]-(p:paper)<-[:author_write_paper]-(a:author)-[:author_in_affiliation]->(aff:affiliation)
RETURN c.name, COUNT(DISTINCT aff) AS numAffiliations
ORDER BY numAffiliations DESC |
Generate cypher query for the question: Which domains are most common among papers from 'SIGGRAPH'? Only give cypher query, without any other words. | 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 |
Generate cypher query for the question: List all conferences where Daphne Koller has presented. Only give cypher query, without any other words. | MATCH (:author {name: 'Daphne Koller'})-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(c:conference)
RETURN DISTINCT c.name |
Generate cypher query for the question: What are the latest hot research topics in 'ICML' conference? Only give cypher query, without any other words. | MATCH (c:conference {name: 'ICML'})<-[: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: 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. | MATCH (p:paper)-[:paper_in_domain]->(d:domain),
(p)<-[:author_write_paper]-(a1:author)-[:author_in_affiliation]->(aff1:affiliation {name: 'Carnegie Mellon University'}),
(p)<-[:author_write_paper]-(a2:author)-[:author_in_affiliation]->(aff2:affiliation {name: 'Stanford University'})
RETURN d.name, COUNT(p) AS numPapers
ORDER BY numPapers DESC |
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. | 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 |
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. | MATCH (a:author)-[:author_write_paper]->(p:paper)-[:paper_in_venue]->(v:conference), (p)-[:paper_in_domain]->(:domain {name:'search engine'})
RETURN a.name, count(p) AS publications ORDER BY publications DESC""" |
Generate cypher query for the question: What affiliations have the most authors? Only give cypher query, without any other words. | MATCH (a:affiliation)<-[:author_in_affiliation]-(author:author)
WITH a, COUNT(author) AS numAuthors
RETURN a.name
ORDER BY numAuthors DESC
LIMIT 1 |
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. | MATCH (:domain {name:'Augmented Reality'})<-[:paper_in_domain]-(p:paper)-[:paper_in_venue]->(c:conference {name: 'SIGGRAPH'})
RETURN p.name, SIZE([(p)<-[:paper_cite_paper]-(citingPaper:paper)|citingPaper]) AS citings
ORDER BY citings DESC LIMIT 5 |
Generate cypher query for the question: Identify papers that cite sources from more than 20 domain. Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_cite_paper]->(cited:paper)-[:paper_in_domain]->(d:domain)
WITH p, COUNT(DISTINCT d) AS numDomains
WHERE numDomains > 20
RETURN p.name, numDomains |
Generate cypher query for the question: Which papers are written by 'Zhouchen Lin'? 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: Find papers that cite more than 3 other papers. Only give cypher query, without any other words. | MATCH (p:paper)-[:paper_cite_paper]->(:paper)
WITH p, COUNT(*) AS citations
WHERE citations > 3
RETURN p.name |
Generate cypher query for the question: What are the most common co-authorship pairs? Only give cypher query, without any other words. | MATCH (a1:author)-[:author_write_paper]->(p:paper)<-[:author_write_paper]-(a2:author)
RETURN a1.name, a2.name, COUNT(p) AS numPapers
ORDER BY numPapers DESC
LIMIT 1 |
Generate cypher query for the question: What are the emerging research areas in 'SIGGRAPH'? Only give cypher query, without any other words. | MATCH (c:conference {name: 'SIGGRAPH'})<-[:paper_in_venue]-(p:paper) RETURN p.name, p.year ORDER BY p.year DESC |
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. | MATCH (p:paper {name: 'A sequential algorithm for training text classifiers'})<-[:paper_cite_paper]-(c:paper) RETURN c.name |