Simple Question (Direct)
Simple Question
Q2821882
P20
Q56061
USER
Where did Abram Duryée die ?
(Q2821882,P20,c(Q56061))
action filter_type
action find
entity Q2821882
relation P20
type Q56061
['Q2821882', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2821882 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Abram Duryée
action filter_type
action find
entity Abram Duryée
relation place of death
type administrative territorial entity
['Abram Duryée', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Abram_Duryée property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q2821882,P20,c(Q56061))
action filter_type
action find
entity Q2821882
relation P20
type Q56061
Abram Duryée died in [ANSWER]
['Q2821882', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2821882 property:P20 ?r . ?r rdf:type ontology:Q56061 }
New York City
Abram Duryée died in New York City
New York City
action filter_type
action find
entity Abram Duryée
relation place of death
type administrative territorial entity
['Abram Duryée', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Abram_Duryée property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2821882
P119
Q43229
USER
Which organization is the tomb of that person ?
(Q60,P119,c(Q43229))
action filter_type
action find
entity Q2821882
relation P119
type Q43229
['Q60', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q2821882 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Abram Duryée
action filter_type
action find
entity Abram Duryée
relation place of burial
type organization
['New York City', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Abram_Duryée property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
organization
Q239043
SYSTEM
Green-Wood Cemetery
Q239043
(Q60,P119,c(Q43229))
action filter_type
action find
entity Q2821882
relation P119
type Q43229
[ANSWER] is the tomb of that person
['Q60', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q2821882 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Green-Wood Cemetery
Green-Wood Cemetery is the tomb of that person
Green-Wood Cemetery
action filter_type
action find
entity Abram Duryée
relation place of burial
type organization
['New York City', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Abram_Duryée property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4312366 Q2821882
P607
Q198
USER
Which wars did Abram Duryée or Archibald Nye take part in ?
OR((Q2821882,P607,c(Q198)), (Q4312366,P607,c(Q198)))
action filter_type
action union
action find
entity Q2821882
relation P607
action find
entity Q4312366
relation P607
type Q198
{'OR': [['Q2821882', 'P607', {'concept': 'Q198'}], ['Q4312366', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . { { resource:Q2821882 property:P607 ?v } UNION { resource:Q4312366 property:P607 ?v } } }
Archibald Nye Abram Duryée
action filter_type
action union
action find
entity Abram Duryée
relation conflict
action find
entity Archibald Nye
relation conflict
type war
{'OR': [['Abram Duryée', 'conflict', {'concept': 'war'}], ['Archibald Nye', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . { { resource:Abram_Duryée property:conflict ?v } UNION { resource:Archibald_Nye property:conflict ?v } } }
[]
war
Q362 Q8676 Q361
SYSTEM
World War II, American Civil War, World War I
Q362 Q8676 Q361
OR((Q2821882,P607,c(Q198)), (Q4312366,P607,c(Q198)))
action filter_type
action union
action find
entity Q2821882
relation P607
action find
entity Q4312366
relation P607
type Q198
[ANSWERS] did Abram Duryée or Archibald Nye take part in
{'OR': [['Q2821882', 'P607', {'concept': 'Q198'}], ['Q4312366', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . { { resource:Q2821882 property:P607 ?v } UNION { resource:Q4312366 property:P607 ?v } } }
World War II American Civil War World War I
World War II, American Civil War and World War I did Abram Duryée or Archibald Nye take part in
World War II American Civil War World War I
action filter_type
action union
action find
entity Abram Duryée
relation conflict
action find
entity Archibald Nye
relation conflict
type war
{'OR': [['Abram Duryée', 'conflict', {'concept': 'war'}], ['Archibald Nye', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . { { resource:Abram_Duryée property:conflict ?v } UNION { resource:Archibald_Nye property:conflict ?v } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q362 Q27626290
P710
Q502895
USER
How many people attended World War II or 2016 Swiss International Badminton Championships – Women's doubles ?
(Q362,P710,c(Q502895)) (Q27626290,P710,c(Q502895))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q502895
action filter_type
action find
entity Q27626290
relation P710
type Q502895
['Q362', 'P710', {'concept': 'Q502895'}] ['Q27626290', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { VALUES ( ?d ) { ( resource:Q362 ) ( resource:Q27626290 ) } . ?d property:P710 ?u }
World War II 2016 Swiss International Badminton Championships – Women's doubles
action count
action union
action filter_type
action find
entity World War II
relation participant
type common name
action filter_type
action find
entity 2016 Swiss International Badminton Championships – Women's doubles
relation participant
type common name
['World War II', 'participant', {'concept': 'common name'}] ["2016 Swiss International Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { VALUES ( ?d ) { ( resource:World_War_II ) ( resource:2016_Swiss_International_Badminton_Championships_–_Women's_doubles ) } . ?d property:participant ?u }
[]
common name
SYSTEM
8
Q18889303 Q26825193 Q60311 Q27783188 Q6450140 Q27516803 Q27783189 Q26919061
(Q362,P710,c(Q502895)) (Q27626290,P710,c(Q502895))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q502895
action filter_type
action find
entity Q27626290
relation P710
type Q502895
[ANSWER]
['Q362', 'P710', {'concept': 'Q502895'}] ['Q27626290', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { VALUES ( ?d ) { ( resource:Q362 ) ( resource:Q27626290 ) } . ?d property:P710 ?u }
Cheryl Seinen Delphine Delrue Iris Tabeling Sia Berg Amelia Alicia Anscelly Teoh Mei Xing Emilie Aalestrup Vimala Hériau
8
action count
action union
action filter_type
action find
entity World War II
relation participant
type common name
action filter_type
action find
entity 2016 Swiss International Badminton Championships – Women's doubles
relation participant
type common name
['World War II', 'participant', {'concept': 'common name'}] ["2016 Swiss International Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { VALUES ( ?d ) { ( resource:World_War_II ) ( resource:2016_Swiss_International_Badminton_Championships_–_Women's_doubles ) } . ?d property:participant ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P921
Q201658
USER
What are New York City a main subject of ?
(c(Q201658),P921,Q60)
action filter_type
action find_reverse
entity Q60
relation P921
type Q201658
[{'concept': 'Q201658'}, 'P921', 'Q60']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q60 . ?h rdf:type ontology:Q201658 }
New York City
action filter_type
action find_reverse
entity New York City
relation main subject
type film genre
[{'concept': 'film genre'}, 'main subject', 'New York City']
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:New_York_City . ?h rdf:type ontology:film_genre }
[]
film genre
Q2410390 Q5135206 Q7756769
SYSTEM
The Collector of Bedford Street, Close Harmony, The Personals
Q6980040 Q7756769 Q2410390 Q4408595 Q5135206 Q7722486 Q7305741
(c(Q201658),P921,Q60)
action filter_type
action find_reverse
entity Q60
relation P921
type Q201658
[ANSWERS] of New York City
[{'concept': 'Q201658'}, 'P921', 'Q60']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q60 . ?h rdf:type ontology:Q201658 }
Native New Yorker The Personals The Collector of Bedford Street In the Street Close Harmony The Children's Storefront Redemption
The Collector of Bedford Street, Close Harmony and The Personals of New York City
The Collector of Bedford Street Close Harmony The Personals
action filter_type
action find_reverse
entity New York City
relation main subject
type film genre
[{'concept': 'film genre'}, 'main subject', 'New York City']
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:New_York_City . ?h rdf:type ontology:film_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7756769
P1411
Q4220917
USER
Which film award was that film genre nominated for ?
(Q7756769,P1411,c(Q4220917))
action filter_type
action find
entity Q7756769
relation P1411
type Q4220917
['Q7756769', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q7756769 property:P1411 ?j . ?j rdf:type ontology:Q4220917 }
The Personals
action filter_type
action find
entity The Personals
relation nominated for
type film award
['The Personals', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:The_Personals property:nominated_for ?j . ?j rdf:type ontology:film_award }
[]
film award
Clarification for simple ques.
Q5135206
SYSTEM
Did you mean Close Harmony ?
Q2410390 Q5135206 Q7756769
(Q2410390,P1411,c(Q4220917)) (Q5135206,P1411,c(Q4220917)) (Q7756769,P1411,c(Q4220917))
[ANSWER]
['Q2410390', 'P1411', {'concept': 'Q4220917'}] ['Q5135206', 'P1411', {'concept': 'Q4220917'}] ['Q7756769', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q7756769 property:P1411 ?j . ?j rdf:type ontology:Q4220917 }
The Collector of Bedford Street Close Harmony The Personals
Did you mean Close Harmony ?
Close Harmony
['The Collector of Bedford Street', 'nominated for', {'concept': 'film award'}] ['Close Harmony', 'nominated for', {'concept': 'film award'}] ['The Personals', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:The_Personals property:nominated_for ?j . ?j rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
USER
No, I meant The Personals. Could you tell me the answer for that?
(Q7756769,P1411,c(Q4220917))
Q7756769
['Q7756769', 'P1411', {'concept': 'Q4220917'}]
['The Personals', 'nominated for', {'concept': 'film award'}]
[]
Q1425151
SYSTEM
Academy Award for Best Documentary, Short Subject
Q1425151
(Q7756769,P1411,c(Q4220917))
action filter_type
action find
entity Q7756769
relation P1411
type Q4220917
That film genre was nominated for [ANSWER]
['Q7756769', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q7756769 property:P1411 ?j . ?j rdf:type ontology:Q4220917 }
Academy Award for Best Documentary, Short Subject
That film genre was nominated for Academy Award for Best Documentary, Short Subject
Academy Award for Best Documentary, Short Subject
action filter_type
action find
entity The Personals
relation nominated for
type film award
['The Personals', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:The_Personals property:nominated_for ?j . ?j rdf:type ontology:film_award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P166
Q4220917 Q502895
USER
Which film awards were awarded to more number of people than that film award ?
(c(Q502895),P166,c(Q4220917))
action greater
action find_reverse_tuple_counts
relation P166
type Q4220917
type Q502895
action count
action filter_type
action find
entity Q1425151
relation P166
type Q4220917
[{'concept': 'Q502895'}, 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P166 ?s . ?s rdf:type ontology:Q4220917 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q4220917 . resource:Q1425151 property:P166 ?z } } . FILTER ( ?b > ?v ) }
action greater
action find_reverse_tuple_counts
relation award received
type film award
type common name
action count
action filter_type
action find
entity Academy Award for Best Documentary, Short Subject
relation award received
type film award
[{'concept': 'common name'}, 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:award_received ?s . ?s rdf:type ontology:film_award . ?x rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:film_award . resource:Academy_Award_for_Best_Documentary,_Short_Subject property:award_received ?z } } . FILTER ( ?b > ?v ) }
[]
film award common name
Q824540 Q102427 Q281939
SYSTEM
AVN Award, Academy Award for Best Picture, Academy Award for Best Film Editing
Q102427 Q277751 Q830079 Q41417 Q3775029 Q107258 Q824540 Q281939 Q393686
(c(Q502895),P166,c(Q4220917))
action greater
action find_reverse_tuple_counts
relation P166
type Q4220917
type Q502895
action count
action filter_type
action find
entity Q1425151
relation P166
type Q4220917
[ANSWERS] were awarded to more number of people than that film award
[{'concept': 'Q502895'}, 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P166 ?s . ?s rdf:type ontology:Q4220917 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q4220917 . resource:Q1425151 property:P166 ?z } } . FILTER ( ?b > ?v ) }
Academy Award for Best Picture Academy Award for Best Production Design Academy Award for Best Sound Mixing Academy Award for Best Writing, Original Screenplay Filmfare Awards South Academy Award for Best Writing, Adapted Screenplay AVN Award Academy Award for Best Film Editing Academy Award for Best Visual Effects
AVN Award, Academy Award for Best Picture and Academy Award for Best Film Editing were awarded to more number of people than that film award
AVN Award Academy Award for Best Picture Academy Award for Best Film Editing
action greater
action find_reverse_tuple_counts
relation award received
type film award
type common name
action count
action filter_type
action find
entity Academy Award for Best Documentary, Short Subject
relation award received
type film award
[{'concept': 'common name'}, 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:award_received ?s . ?s rdf:type ontology:film_award . ?x rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:film_award . resource:Academy_Award_for_Best_Documentary,_Short_Subject property:award_received ?z } } . FILTER ( ?b > ?v ) }
[]