![Page 1: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/1.jpg)
DEANNA: Natural Language Questions for the Web of Data
Mohamed Yahya† Klaus Berberich† Shady Elbassiousni*
Maya Ramanath‡ Volker Tresp# Gerhard Weikum†
† Max Planck Institute for Informatics
*Qatar ComputingResearch Institute
‡IIT Delhi # Siemens
![Page 2: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/2.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 2
“Who played in Casablanca and was married to a writer born in Rome?”
“Classical” QA
EMNLPJuly 12, 2012
![Page 3: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/3.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 3
“Who played in Casablanca and was married to a writer born in Rome?”
“Classical” QA
EMNLPJuly 12, 2012
Ingrid Bergman (29 August 1915 – 29 August 1982) was a Swedish actress who starred in a variety of European and American films. She won three Academy Awards, two Emmy Awards, and the Tony Award for Best Actress. She is ranked as the fourth greatest female star of American cinema of all time by the American Film Institute. She is best remembered for her roles as Ilsa Lund in Casablanca (1942), a World War II drama co-starring Humphrey Bogart and as Alicia Huberman in Notorious (1946), an Alfred Hitchcock thriller co-starring Cary Grant.
![Page 4: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/4.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 4
“Who played in Casablanca and was married to a writer born in Rome?”
“Classical” QA
EMNLPJuly 12, 2012
Ingrid Bergman (29 August 1915 – 29 August 1982) was a Swedish actress who starred in a variety of European and American films. She won three Academy Awards, two Emmy Awards, and the Tony Award for Best Actress. She is ranked as the fourth greatest female star of American cinema of all time by the American Film Institute. She is best remembered for her roles as Ilsa Lund in Casablanca (1942), a World War II drama co-starring Humphrey Bogart and as Alicia Huberman in Notorious (1946), an Alfred Hitchcock thriller co-starring Cary Grant.
In 1950, after a decade of stardom in American films, she starred in the Italian film Stromboli, which led to a love affair with director Roberto Rossellini while they were both already married. The affair and then marriage with Rossellini created a scandal that forced her to remain in Europe until 1956, when she made a successful Hollywood return in Anastasia, for which she won her second Academy Award, as well as the forgiveness of her fans. Many of her personal and film documents can be seen in the Wesleyan University Cinema Archives.[4]
![Page 5: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/5.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 5
“Who played in Casablanca and was married to a writer born in Rome?”
“Classical” QA
EMNLPJuly 12, 2012
Ingrid Bergman (29 August 1915 – 29 August 1982) was a Swedish actress who starred in a variety of European and American films. She won three Academy Awards, two Emmy Awards, and the Tony Award for Best Actress. She is ranked as the fourth greatest female star of American cinema of all time by the American Film Institute. She is best remembered for her roles as Ilsa Lund in Casablanca (1942), a World War II drama co-starring Humphrey Bogart and as Alicia Huberman in Notorious (1946), an Alfred Hitchcock thriller co-starring Cary Grant.
In 1950, after a decade of stardom in American films, she starred in the Italian film Stromboli, which led to a love affair with director Roberto Rossellini while they were both already married. The affair and then marriage with Rossellini created a scandal that forced her to remain in Europe until 1956, when she made a successful Hollywood return in Anastasia, for which she won her second Academy Award, as well as the forgiveness of her fans. Many of her personal and film documents can be seen in the Wesleyan University Cinema Archives.[4]
Roberto Gastone Zeffiro Rossellini (8 May 1906 – 3 June 1977) was an Italian film director and screenwriter. Rossellini was one of the directors of the Italian neorealist cinema, contributing films such as Roma città aperta (Rome, Open City 1945) to the movement.
![Page 6: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/6.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 6
“Who played in Casablanca and was married to a writer born in Rome?”
“Classical” QA
EMNLPJuly 12, 2012
Ingrid Bergman (29 August 1915 – 29 August 1982) was a Swedish actress who starred in a variety of European and American films. She won three Academy Awards, two Emmy Awards, and the Tony Award for Best Actress. She is ranked as the fourth greatest female star of American cinema of all time by the American Film Institute. She is best remembered for her roles as Ilsa Lund in Casablanca (1942), a World War II drama co-starring Humphrey Bogart and as Alicia Huberman in Notorious (1946), an Alfred Hitchcock thriller co-starring Cary Grant.
In 1950, after a decade of stardom in American films, she starred in the Italian film Stromboli, which led to a love affair with director Roberto Rossellini while they were both already married. The affair and then marriage with Rossellini created a scandal that forced her to remain in Europe until 1956, when she made a successful Hollywood return in Anastasia, for which she won her second Academy Award, as well as the forgiveness of her fans. Many of her personal and film documents can be seen in the Wesleyan University Cinema Archives.[4]
Roberto Gastone Zeffiro Rossellini (8 May 1906 – 3 June 1977) was an Italian film director and screenwriter. Rossellini was one of the directors of the Italian neorealist cinema, contributing films such as Roma città aperta (Rome, Open City 1945) to the movement.
Rossellini was born in Rome. His mother, Elettra (née Bellan), was a housewife, and his father, Angiolo Giuseppe "Beppino" Rossellini, owned a construction firm. His mother was of part French descent, from immigrants who had arrived in Italy during the Napoleonic Wars. He lived on the Via Ludovisi, whereBenito Mussolini had his first Roman hotel in 1922 when Fascism obtained power in Italy.
![Page 7: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/7.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 7
![Page 8: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/8.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 8
![Page 9: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/9.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 9
![Page 10: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/10.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 10
Subject Predicate ObjectRome isA citycity subclassOf locationRoberto_Rossellini mariedTo Ingrid_Bergman
WordNet+
![Page 11: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/11.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 11
Subject Predicate ObjectRome isA citycity subclassOf locationRoberto_Rossellini mariedTo Ingrid_Bergman
WordNet+
YAGO2: 120 million facts on 10 million entities
![Page 12: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/12.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 12
Subject Predicate ObjectRome isA citycity subclassOf locationRoberto_Rossellini mariedTo Ingrid_Bergman
WordNet+
YAGO2: 120 million facts on 10 million entities
![Page 13: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/13.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 13
Subject Predicate ObjectRome isA citycity subclassOf locationRoberto_Rossellini mariedTo Ingrid_Bergman
WordNet+
YAGO2: 120 million facts on 10 million entities
![Page 14: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/14.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
QA, meet the (semantic) Web of Data
EMNLPJuly 12, 2012 14
Subject Predicate ObjectRome isA citycity subclassOf locationRoberto_Rossellini mariedTo Ingrid_Bergman
WordNet+
YAGO2: 120 million facts on 10 million entities
LOD: > 31 BILLION triples
![Page 15: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/15.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 15
Semantics Types
EMNLPJuly 12, 2012
U.S. Cities
ITS LARGEST AIRPORT WAS NAMED FOR A WORLD
WAR II HERO; ITS SECOND LARGEST, FOR A WORLD
WAR II BATTLE
What is Toronto???
![Page 16: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/16.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 16
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
EMNLPJuly 12, 2012
![Page 17: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/17.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 17
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQL
![Page 18: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/18.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 18
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQLProjection Variable
![Page 19: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/19.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 19
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
Dot: conjunction
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQLProjection Variable
![Page 20: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/20.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 20
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
Dot: conjunction ?p, ?w: variables to be bound
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQLProjection Variable
![Page 21: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/21.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 21
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
Dot: conjunction ?p, ?w: variables to be bound Same variable same binding (join)
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQLProjection Variable
![Page 22: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/22.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 22
Crash Course: Querying the Web of Data
“Who played in Casablanca and was married to a writer born in Rome?”
Dot: conjunction ?p, ?w: variables to be bound Same variable same binding (join)
EMNLPJuly 12, 2012
SELECT ?p WHERE{ ?p type person . ?p actedIn Casablanca_(film). ?p isMarriedTo ?w . ?w type writer . ?w bornIn Rome }
SPARQL
?p ?w
Projection Variable
![Page 23: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/23.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
What is DEANNA?
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers23
![Page 24: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/24.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
What is DEANNA?
EMNLPJuly 12, 2012
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers24
![Page 25: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/25.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
What is DEANNA?
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome .
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers25
![Page 26: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/26.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
What is DEANNA?
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome .
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers26
![Page 27: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/27.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
What is DEANNA?
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome .
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers27
![Page 28: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/28.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 28
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
![Page 29: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/29.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 29
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 30: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/30.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 30
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 31: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/31.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 31
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 32: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/32.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 32
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 33: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/33.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 33
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 34: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/34.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 34
Inside DEANNA
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
![Page 35: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/35.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 35
Structured Query Generation
EMNLPJuly 12, 2012
SELECT ?p WHERE { ?p type person. ?p actedIn Casablanca_(film). ?p isMarriedTo ?w. ?w type writer . ?w bornIn Rome }
q1
q2
q3
a writer
Casablanca
played in
Who
was married to
was born
Rome
c:writer
r:bornInPlace
e:Rome
e:Casablanca_(film)
r:actedIn
c:person
r:isMarriedTo
![Page 36: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/36.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 36
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
Disambiguation graph construction
Disambiguation graph processing
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 37: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/37.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 37
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 38: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/38.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 38
Phrase Detection
EMNLPJuly 12, 2012
• Concepts: entities & classes: Dictionary-based
• Relations:Mainly use Reverb [Fader et al. EMNLP’11]: V | VP | VW*P… was/VBD married/VBN to/TO a/DT…
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
… …
![Page 39: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/39.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 39
Phrase Detection
EMNLPJuly 12, 2012
Casablanca
played
played in
Who
married
married to
was married to
a writer
• Concepts: entities & classes: Dictionary-based
• Relations:Mainly use Reverb [Fader et al. EMNLP’11]: V | VP | VW*P… was/VBD married/VBN to/TO a/DT…
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
… …
![Page 40: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/40.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 40
Phrase Detection
EMNLPJuly 12, 2012
Casablanca
played
played in
Who
married
married to
was married to
a writer
• Concepts: entities & classes: Dictionary-based
• Relations:Mainly use Reverb [Fader et al. EMNLP’11]: V | VP | VW*P… was/VBD married/VBN to/TO a/DT…
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
… …
![Page 41: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/41.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 41
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 42: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/42.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 42
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 43: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/43.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Phrase Mapping
EMNLPJuly 12, 2012
Casablanca
played
played in
43
![Page 44: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/44.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Phrase Mapping
EMNLPJuly 12, 2012
Casablanca
played
played in
44
Concepts: entities & classes: Dictionary-based
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
Played_(film) Played
![Page 45: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/45.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Phrase Mapping
EMNLPJuly 12, 2012
Casablanca
played
played in
e:White_Housee:Casablanca
e:Casablanca_(film)e:Played_(film)
45
Concepts: entities & classes: Dictionary-based
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
Played_(film) Played
![Page 46: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/46.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Phrase Mapping
EMNLPJuly 12, 2012
Casablanca
played
played in
e:White_Housee:Casablanca
e:Casablanca_(film)e:Played_(film)
46
Concepts: entities & classes: Dictionary-based
• Relations: Dictionary -based
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
Played_(film) Played
Relation Phrase
actedIn acted in
actedIn played in
hasMusicalRole plays
hasMusicalRole mastered
![Page 47: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/47.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Phrase Mapping
EMNLPJuly 12, 2012
Casablanca
played
played in
e:White_Housee:Casablanca
e:Casablanca_(film)e:Played_(film)
r:actedIn
r:hasMusicalRole
47
Concepts: entities & classes: Dictionary-based
• Relations: Dictionary -based
Concept Phrase
Casablanca Casablanca
Casablanca Casablanca, Morocco
Casablanca_(film) Casablanca the film
Casablanca_(film) Casablanca
Played_(film) Played
Relation Phrase
actedIn acted in
actedIn played in
hasMusicalRole plays
hasMusicalRole mastered
![Page 48: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/48.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 48
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 49: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/49.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 49
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 50: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/50.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 50
Dependency Detection
EMNLPJuly 12, 2012
Look for specific patterns in dependency parses [de Marneffe et al. LREC’06]
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
![Page 51: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/51.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 51
Dependency Detection
EMNLPJuly 12, 2012
Look for specific patterns in dependency parses [de Marneffe et al. LREC’06]
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
![Page 52: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/52.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 52
Dependency Detection
EMNLPJuly 12, 2012
Look for specific patterns in dependency parses [de Marneffe et al. LREC’06]
writer
in
born
Rome
partmod
prep
pobj
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
![Page 53: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/53.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 53
Dependency Detection
EMNLPJuly 12, 2012
Look for specific patterns in dependency parses [de Marneffe et al. LREC’06]
writer
in
born
Rome
partmod
prep
pobj
q1
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
![Page 54: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/54.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 54
RESULT
EMNLPJuly 12, 2012
![Page 55: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/55.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 55
Disambiguation Graph
EMNLPJuly 12, 2012
q1
q2
q3
a writer
Casablanca
played
played in
Who
married
married to
was married to
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
e:White_Housee:Casablanca
e:Casablanca_(film)e:Played_(film)
r:actedInr:hasMusicalRole
c:person
e:Married_(series)
c: married_personr:isMarriedTo
q-nodes
Phrase-nodesSemantic nodes
![Page 56: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/56.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 56
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 57: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/57.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 57
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 58: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/58.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 58
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 59: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/59.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 59
Joint Disambiguation - ILP
• ILP: Integer Linear Programming• maximize α Σi,j wi,jYi,j + β Σk,l vk,l Zk,l + …• Subject to:
No token in multiple phrases, Triples observe type constraints, …
EMNLPJuly 12, 2012
![Page 60: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/60.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 60
Joint Disambiguation – Objective
α Σi,j wi,jYi,j + β Σk,l vk,l Zk,l
EMNLPJuly 12, 2012
Semantic nodes
q1
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
q-nodes
Phrase nodesCoherence Edges
Similarity Edges
Prior
![Page 61: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/61.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 61
Joint Disambiguation – Objective
α Σi,j wi,jYi,j + β Σk,l vk,l Zk,l
EMNLPJuly 12, 2012
Semantic nodes
Coherence
q1
a writer
was born
born
Rome
c:writerr:bornInPlacer:bornOnDate
e:Max_Borne:Born_(film)
e:Sydne_Romee:Rome
q-nodes
Phrase nodes Similarity Edges
Coherence Edges
![Page 62: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/62.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 62
Joint Disambiguation – Constraints
A phrase node can be assigned to one semantic node:
EMNLPJuly 12, 2012
Casablanca
e:White_House
e:Casablanca
e:Casablanca_(film)
Phrase nodes
Semantic nodes
a
1
2
3
Ya,1
Ya,2
Ya,3
α Σi,j wi,jYi,j + β Σk,l vk,l Zk,l
![Page 63: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/63.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 63
Joint Disambiguation – Constraints
A phrase node can be assigned to one semantic node:
EMNLPJuly 12, 2012
Casablanca
e:White_House
e:Casablanca
e:Casablanca_(film)
Phrase nodes
Semantic nodes
a
1
2
3
Ya,1
Ya,2
Ya,3
α Σi,j wi,jYi,j + β Σk,l vk,l Zk,l
![Page 64: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/64.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 64
Joint Disambiguation – ConstraintsClasses translate to type-constrained variables
Every semantic triple should have a class to join & project!
person actedIn Casablanca_(film)▼
?x type person . ?x actedIn Casablanca_(film)
EMNLPJuly 12, 2012
![Page 65: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/65.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 65
Joint Disambiguation – ConstraintsClasses translate to type-constrained variables
Every semantic triple should have a class to join & project!
person actedIn Casablanca_(film)▼
?x type person . ?x actedIn Casablanca_(film)
EMNLPJuly 12, 2012
![Page 66: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/66.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 66
Joint Disambiguation – ConstraintsClasses translate to type-constrained variables
Every semantic triple should have a class to join & project!
person actedIn Casablanca_(film)▼
?x type person . ?x actedIn Casablanca_(film)
EMNLPJuly 12, 2012
q1
a writer
was born
Rome
c:writer
r:bornInPlace
r:bornOnDate
e:Sydne_Rome
e:Rome
q-nodes
e:The_Writer (magazine)
Phrase nodes Semantic nodes
![Page 67: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/67.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 67
Joint Disambiguation – ConstraintsClasses translate to type-constrained variables
Every semantic triple should have a class to join & project!
person actedIn Casablanca_(film)▼
?x type person . ?x actedIn Casablanca_(film)
EMNLPJuly 12, 2012
q1
a writer
was born
Rome
c:writer
r:bornInPlace
r:bornOnDate
e:Sydne_Rome
e:Rome
q-nodes
e:The_Writer (magazine)
Phrase nodes Semantic nodes
![Page 68: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/68.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 68
Joint Disambiguation – ConstraintsClasses translate to type-constrained variables
Every semantic triple should have a class to join & project!
person actedIn Casablanca_(film)▼
?x type person . ?x actedIn Casablanca_(film)
EMNLPJuly 12, 2012
q1
a writer
was born
Rome
c:writer
r:bornInPlace
r:bornOnDate
e:Sydne_Rome
e:Rome
q-nodes
e:The_Writer (magazine)
Phrase nodes Semantic nodes
![Page 69: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/69.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 69
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 70: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/70.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 70
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 71: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/71.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 71
Structured Query Generation
EMNLPJuly 12, 2012
SELECT ?p WHERE { ?w type writer . ?w bornIn Rome . ?p type person. ?p actedIn Casablanca_(film). ?p isMarriedTo ?w }
q1
q2
q3
a writer
Casablanca
played in
Who
was married to
was born
Rome
c:writer
r:bornIn
e:Rome
e:Casablanca_(film)
r:actedIn
c:person
r:isMarriedTo
![Page 72: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/72.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 72
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 73: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/73.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 73
Outline
EMNLPJuly 12, 2012
5 Experiments & Results
DEANNA
Question
SPARQL
KB
Phrase detection
Phrase mapping
Dependencydetection
Joint Disambig.
QueryGeneration
1
2
3
4
![Page 74: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/74.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 74
Evaluation Methodology
• 3-stage evaluation for more insight:1. Disambiguation2. Query generation3. Query answering
• We rely on human judges
EMNLPJuly 12, 2012
![Page 75: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/75.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 75
Datasets
• QALD-1 YAGO2 27/50 questions within scope “Which software has been published by Mean Hamster
Software?”
• NAGA [Elbassuoni et al. CIKM’09] YAGO+IMDB 44/87 questions within scope “Which director has won the Academy Award for Best
director and is married to an actress that has won the Academy Award for Best Actress?”
EMNLPJuly 12, 2012
![Page 76: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/76.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 76
Results 1/3: Disambiguation
EMNLPJuly 12, 2012
Benchmark QALD-1 NAGA
covmacro 0.973 0.934
precmacro 1.000 0.934
covmicro 0.963 0.945
precmicro 1.000 0.941
cov = correct/idealprec = correct / retrieved
Casablanca
e:White_House
e:Casablanca
e:Casablanca_(film)
![Page 77: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/77.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 77
Results 2/3: Query Generation
EMNLPJuly 12, 2012
Benchmark QALD-1 NAGA
covmacro 0.975 0.894
precmacro 1.000 0.941
covmicro 0.963 0.847
precmicro 1.000 0.906
cov = #correct triples/#ideal triplesprec = #correct triples/#retrieved triples
Issues:•Incorrect disambiguation•Incorrect dependencies.
![Page 78: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/78.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 78
Results 3/3: Answering
EMNLPJuly 12, 2012
Benchmark QALD-1 NAGA
#questions 27 44
#queries 20 41
#satisfactory 10 15
#relaxed +3 +3
![Page 79: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/79.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 79
Results 3/3: Answering
EMNLPJuly 12, 2012
Benchmark QALD-1 NAGA
#questions 27 44
#queries 20 41
#satisfactory 10 15
#relaxed +3 +3
unsatisfactory: main problem is empty result set
![Page 80: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/80.jpg)
Natural Language Questions for the Web of Data - Yahya et al. 80
Results 3/3: Answering
EMNLPJuly 12, 2012
Benchmark QALD-1 NAGA
#questions 27 44
#queries 20 41
#satisfactory 10 15
#relaxed +3 +3
unsatisfactory: main problem is empty result set
Relaxation: Keep type constraints, everything else to keywords?x type writer . ?x bornIn Rome
▼?x type writer . ?x bornIn ?y [“Rome”]
![Page 81: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/81.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
DEANNA
Question
SPARQL
KB
Answers81
![Page 82: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/82.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers82
![Page 83: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/83.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers83
![Page 84: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/84.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers84
![Page 85: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/85.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers85
Rome isA citycity subclassOf locationRossellini mariedTo Bergman
![Page 86: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/86.jpg)
Natural Language Questions for the Web of Data - Yahya et al.
Wrap-up
EMNLPJuly 12, 2012
?p type person.?p actedIn Casablanca_(film).?p isMarriedTo ?w.?w type writer .?w bornIn Rome
“Who played in Casablanca and was married to a writer born in Rome?”
DEANNA
Question
SPARQL
KB
Answers86
Rome isA citycity subclassOf locationRossellini mariedTo Bergman
![Page 87: DEANNA: Natural Language Questions for the Web of Data Mohamed Yahya † Klaus Berberich † Shady Elbassiousni * Maya Ramanath ‡ Volker Tresp # Gerhard Weikum](https://reader038.vdocument.in/reader038/viewer/2022103023/56649e5c5503460f94b54d91/html5/thumbnails/87.jpg)
87
QUESTIONS/COMMENTS?Thank you.
EMNLPJuly 12, 2012 Natural Language Questions for the Web of Data - Yahya et al.
bit.ly/mpi-deanna