GraphQ IR: Unifying the Semantic Parsing of Graph Query Languages with One Intermediate Representation
Nie, Lunyiu, Cao, Shulin, Shi, Jiaxin, Sun, Jiuding, Tian, Qi, Hou, Lei, Li, Juanzi, Zhai, Jidong
–arXiv.org Artificial Intelligence
Subject to the huge semantic gap between natural and formal languages, neural semantic parsing is typically bottlenecked by its complexity of dealing with both input semantics and output syntax. Recent works have proposed several forms of supplementary supervision but none is generalized across multiple formal languages. This paper proposes a unified intermediate representation (IR) for graph query languages, named GraphQ IR. It has a natural-language-like expression that bridges the semantic gap and formally defined syntax that maintains the graph structure. Therefore, a neural semantic parser can more precisely convert user queries into GraphQ IR, which can be later losslessly compiled into various downstream graph query languages. Extensive experiments on several benchmarks including KQA Pro, Overnight, GrailQA, and MetaQA-Cypher under standard i.i.d., out-of-distribution, and low-resource settings validate GraphQ IR's superiority over the previous state-of-the-arts with a maximum 11% accuracy improvement.
arXiv.org Artificial Intelligence
Nov-7-2022
- Country:
- South America
- Oceania
- New Zealand > North Island
- Auckland Region > Auckland (0.04)
- Australia > Victoria
- Melbourne (0.04)
- New Zealand > North Island
- North America
- United States
- Arizona > Maricopa County
- Phoenix (0.04)
- Texas
- Travis County > Austin (0.04)
- Harris County > Houston (0.04)
- Virginia > Arlington County
- Arlington (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Massachusetts > Hampshire County
- Amherst (0.04)
- Washington > King County
- Seattle (0.04)
- California
- Santa Clara County > San Jose (0.04)
- San Diego County > Carlsbad (0.04)
- New York > New York County
- New York City (0.04)
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- Arizona > Maricopa County
- Dominican Republic > Distrito Nacional
- Santo Domingo (0.04)
- Canada > British Columbia
- United States
- Europe
- Germany (0.04)
- Austria (0.04)
- United Kingdom > Scotland (0.04)
- Slovenia > Central Slovenia
- Municipality of Ljubljana > Ljubljana (0.04)
- Italy > Tuscany
- Florence (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Sweden > Uppsala County
- Uppsala (0.04)
- Bulgaria > Sofia City Province
- Sofia (0.04)
- Greece > Attica
- Athens (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Uzbekistan > Toshkent Shahri
- Tashkent (0.05)
- India > Karnataka
- Bengaluru (0.04)
- China
- Uzbekistan > Toshkent Shahri
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- Genre:
- Research Report (1.00)
- Industry:
- Leisure & Entertainment (0.93)
- Media > Film (0.67)
- Technology: