Simple Question (Direct)
Simple Question
Q1232788
P86
Q502895
USER
Who was Gideon composed by ?
(Q1232788,P86,c(Q502895))
action filter_type
action find
entity Q1232788
relation P86
type Q502895
['Q1232788', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1232788 property:P86 ?e }
Gideon
action filter_type
action find
entity Gideon
relation composer
type common name
['Gideon', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Gideon property:composer ?e }
[]
common name
Q573585
SYSTEM
Anthony Marinelli
Q573585
(Q1232788,P86,c(Q502895))
action filter_type
action find
entity Q1232788
relation P86
type Q502895
Gideon was composed by [ANSWER] by
['Q1232788', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1232788 property:P86 ?e }
Anthony Marinelli
Gideon was composed by Anthony Marinelli by
Anthony Marinelli
action filter_type
action find
entity Gideon
relation composer
type common name
['Gideon', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Gideon property:composer ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1232788
P344
Q502895
USER
Which person serves as the director of photography for Gideon ?
(Q1232788,P344,c(Q502895))
action filter_type
action find
entity Q1232788
relation P344
type Q502895
['Q1232788', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1232788 property:P344 ?z . ?z rdf:type ontology:Q502895 }
Gideon
action filter_type
action find
entity Gideon
relation director of photography
type common name
['Gideon', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Gideon property:director_of_photography ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1710150
SYSTEM
João R. Fernandes
Q1710150
(Q1232788,P344,c(Q502895))
action filter_type
action find
entity Q1232788
relation P344
type Q502895
[ANSWER] serves as the director of photography for Gideon
['Q1232788', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1232788 property:P344 ?z . ?z rdf:type ontology:Q502895 }
João R. Fernandes
João R. Fernandes serves as the director of photography for Gideon
João R. Fernandes
action filter_type
action find
entity Gideon
relation director of photography
type common name
['Gideon', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Gideon property:director_of_photography ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q500296
Q502895
USER
And what about The Little Shop of Horrors?
(Q500296,P344,c(Q502895))
action filter_type
action find
entity Q500296
relation P344
type Q502895
['Q500296', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q500296 property:P344 ?b . ?b rdf:type ontology:Q502895 }
The Little Shop of Horrors
action filter_type
action find
entity The Little Shop of Horrors
relation director of photography
type common name
['The Little Shop of Horrors', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Little_Shop_of_Horrors property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
common name
Q633967
SYSTEM
Archie R. Dalzell
Q633967
(Q500296,P344,c(Q502895))
action filter_type
action find
entity Q500296
relation P344
type Q502895
[ANSWER]
['Q500296', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q500296 property:P344 ?b . ?b rdf:type ontology:Q502895 }
Archie R. Dalzell
Archie R. Dalzell
action filter_type
action find
entity The Little Shop of Horrors
relation director of photography
type common name
['The Little Shop of Horrors', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Little_Shop_of_Horrors property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q633967 Q265807
P344
Q838948
USER
Is that person the cinematographer of The Trip ?
(Q265807,P344,Q633967)
action is_in
entity Q633967
action find
entity Q265807
relation P344
['Q265807', 'P344', 'Q633967']
ASK WHERE { resource:Q265807 property:P344 resource:Q633967 }
Archie R. Dalzell The Trip
action is_in
entity Archie R. Dalzell
action find
entity The Trip
relation director of photography
['The Trip', 'director of photography', 'Archie R. Dalzell']
ASK WHERE { resource:The_Trip property:director_of_photography resource:Archie_R._Dalzell }
[]
work of art
SYSTEM
YES
(Q265807,P344,Q633967)
action is_in
entity Q633967
action find
entity Q265807
relation P344
[ANSWER]
['Q265807', 'P344', 'Q633967']
ASK WHERE { resource:Q265807 property:P344 resource:Q633967 }
Yes
action is_in
entity Archie R. Dalzell
action find
entity The Trip
relation director of photography
['The Trip', 'director of photography', 'Archie R. Dalzell']
ASK WHERE { resource:The_Trip property:director_of_photography resource:Archie_R._Dalzell }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19913500 Q1232788
P170 P161
Q502895
USER
Which people were casted in Gideon or are credited with the creation of View of Ischia from the Sea ?
OR((Q1232788,P161,c(Q502895)), (Q19913500,P170,c(Q502895)))
action filter_type
action union
action find
entity Q1232788
relation P161
action find
entity Q19913500
relation P170
type Q502895
{'OR': [['Q1232788', 'P161', {'concept': 'Q502895'}], ['Q19913500', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1232788 property:P161 ?u } UNION { resource:Q19913500 property:P170 ?u } } . ?u rdf:type ontology:Q502895 }
View of Ischia from the Sea Gideon
action filter_type
action union
action find
entity Gideon
relation cast member
action find
entity View of Ischia from the Sea
relation creator
type common name
{'OR': [['Gideon', 'cast member', {'concept': 'common name'}], ['View of Ischia from the Sea', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Gideon property:cast_member ?u } UNION { resource:View_of_Ischia_from_the_Sea property:creator ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q105158 Q3164608
SYSTEM
Christopher Lambert, Jean-Charles-Joseph Rémond
Q105158 Q3164608
OR((Q1232788,P161,c(Q502895)), (Q19913500,P170,c(Q502895)))
action filter_type
action union
action find
entity Q1232788
relation P161
action find
entity Q19913500
relation P170
type Q502895
[ANSWERS] were casted in Gideon or are credited with the creation of View of Ischia from the Sea
{'OR': [['Q1232788', 'P161', {'concept': 'Q502895'}], ['Q19913500', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1232788 property:P161 ?u } UNION { resource:Q19913500 property:P170 ?u } } . ?u rdf:type ontology:Q502895 }
Christopher Lambert Jean-Charles-Joseph Rémond
Christopher Lambert and Jean-Charles-Joseph Rémond were casted in Gideon or are credited with the creation of View of Ischia from the Sea
Christopher Lambert Jean-Charles-Joseph Rémond
action filter_type
action union
action find
entity Gideon
relation cast member
action find
entity View of Ischia from the Sea
relation creator
type common name
{'OR': [['Gideon', 'cast member', {'concept': 'common name'}], ['View of Ischia from the Sea', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Gideon property:cast_member ?u } UNION { resource:View_of_Ischia_from_the_Sea property:creator ?u } } . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q633967
P19
Q56061
USER
Which administrative territory is the place of birth of Archie R. Dalzell ?
(Q633967,P19,c(Q56061))
action filter_type
action find
entity Q633967
relation P19
type Q56061
['Q633967', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q633967 property:P19 ?i }
Archie R. Dalzell
action filter_type
action find
entity Archie R. Dalzell
relation place of birth
type administrative territorial entity
['Archie R. Dalzell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Archie_R._Dalzell property:place_of_birth ?i }
[]
administrative territorial entity
Q216820
SYSTEM
Youngstown
Q216820
(Q633967,P19,c(Q56061))
action filter_type
action find
entity Q633967
relation P19
type Q56061
[ANSWER] is the place of birth of Archie R. Dalzell
['Q633967', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q633967 property:P19 ?i }
Youngstown
Youngstown is the place of birth of Archie R. Dalzell
Youngstown
action filter_type
action find
entity Archie R. Dalzell
relation place of birth
type administrative territorial entity
['Archie R. Dalzell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Archie_R._Dalzell property:place_of_birth ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11606073
Q56061
USER
And how about Tamiki Hosoda?
(Q11606073,P19,c(Q56061))
action filter_type
action find
entity Q11606073
relation P19
type Q56061
['Q11606073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q11606073 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Tamiki Hosoda
action filter_type
action find
entity Tamiki Hosoda
relation place of birth
type administrative territorial entity
['Tamiki Hosoda', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Tamiki_Hosoda property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q11606073,P19,c(Q56061))
action filter_type
action find
entity Q11606073
relation P19
type Q56061
[ANSWER]
['Q11606073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q11606073 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Tokyo
Tokyo
action filter_type
action find
entity Tamiki Hosoda
relation place of birth
type administrative territorial entity
['Tamiki Hosoda', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Tamiki_Hosoda property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1490 Q23199035
P19
Q502895
USER
Was Gheorghe Purcaru born at that administrative territory ?
(Q23199035,P19,Q1490)
action is_in
entity Q23199035
action find
entity Q1490
relation P19
['Q23199035', 'P19', 'Q1490']
ASK WHERE { resource:Q1490 property:P19 resource:Q23199035 }
Tokyo Gheorghe Purcaru
action is_in
entity Gheorghe Purcaru
action find
entity Tokyo
relation place of birth
['Gheorghe Purcaru', 'place of birth', 'Tokyo']
ASK WHERE { resource:Tokyo property:place_of_birth resource:Gheorghe_Purcaru }
[]
common name
SYSTEM
NO
(Q23199035,P19,Q1490)
action is_in
entity Q23199035
action find
entity Q1490
relation P19
[ANSWER]
['Q23199035', 'P19', 'Q1490']
ASK WHERE { resource:Q1490 property:P19 resource:Q23199035 }
No
action is_in
entity Gheorghe Purcaru
action find
entity Tokyo
relation place of birth
['Gheorghe Purcaru', 'place of birth', 'Tokyo']
ASK WHERE { resource:Tokyo property:place_of_birth resource:Gheorghe_Purcaru }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105158
P27
Q15617994
USER
Which administrative territories are Christopher Lambert a civilian of ?
(Q105158,P27,c(Q15617994))
action filter_type
action find
entity Q105158
relation P27
type Q15617994
['Q105158', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q105158 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Christopher Lambert
action filter_type
action find
entity Christopher Lambert
relation country of citizenship
type designation for an administrative territorial entity
['Christopher Lambert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_Lambert property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
(Q105158,P27,c(Q15617994))
action filter_type
action find
entity Q105158
relation P27
type Q15617994
[ANSWERS]
['Q105158', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q105158 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
France United States of America
Which administrative territories are Christopher Lambert a civilian of
France United States of America
action filter_type
action find
entity Christopher Lambert
relation country of citizenship
type designation for an administrative territorial entity
['Christopher Lambert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_Lambert property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q30
P36
Q56061
USER
Which administrative territories are called the capital of France and United States of America ?
(Q142,P36,c(Q56061)) (Q30,P36,c(Q56061))
action union
action filter_type
action find
entity Q142
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { resource:Q142 property:P36 ?s . ?s rdf:type ontology:Q56061 } UNION { resource:Q30 property:P36 ?s . ?s rdf:type ontology:Q56061 } }
France United States of America
action union
action filter_type
action find
entity France
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:France property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity } UNION { resource:United_States_of_America property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q90 Q60 Q61
SYSTEM
Paris, New York City, Washington, D.C.
Q90 Q60 Q61
(Q142,P36,c(Q56061)) (Q30,P36,c(Q56061))
action union
action filter_type
action find
entity Q142
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q142', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { resource:Q142 property:P36 ?s . ?s rdf:type ontology:Q56061 } UNION { resource:Q30 property:P36 ?s . ?s rdf:type ontology:Q56061 } }
Paris New York City Washington, D.C.
Paris, New York City and Washington, D.C. are called the capital of France and United States of America
Paris New York City Washington, D.C.
action union
action filter_type
action find
entity France
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:France property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity } UNION { resource:United_States_of_America property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q90 Q60 Q61
P1001
Q12737077
USER
Which occupations apply to jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q90) (c(Q12737077),P1001,Q60) (c(Q12737077),P1001,Q61)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q90'] [{'concept': 'Q12737077'}, 'P1001', 'Q60'] [{'concept': 'Q12737077'}, 'P1001', 'Q61']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . ?o property:P1001 ?a . VALUES ( ?a ) { ( resource:Q90 ) ( resource:Q60 ) ( resource:Q61 ) } }
Paris New York City Washington, D.C.
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Paris'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'New York City'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Washington, D.C.']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . ?o property:applies_to_jurisdiction ?a . VALUES ( ?a ) { ( resource:Paris ) ( resource:New_York_City ) ( resource:Washington,_D.C. ) } }
[]
occupation
Q785304 Q3408923 Q19822699
SYSTEM
Mayor of New York City, Prefect of Paris, mayor of Paris
Q3408923 Q19822699 Q7013201 Q21856559 Q22340956 Q785304 Q21349507 Q5190572 Q7207430
(c(Q12737077),P1001,Q90) (c(Q12737077),P1001,Q60) (c(Q12737077),P1001,Q61)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] apply to jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q90'] [{'concept': 'Q12737077'}, 'P1001', 'Q60'] [{'concept': 'Q12737077'}, 'P1001', 'Q61']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . ?o property:P1001 ?a . VALUES ( ?a ) { ( resource:Q90 ) ( resource:Q60 ) ( resource:Q61 ) } }
Prefect of Paris mayor of Paris New York City Fire Commissioner Coroner of New York City Postmaster of New York City Mayor of New York City Washington DC Recorder of Deeds Mayor of the District of Columbia Poet Laureate of the District of Columbia
Mayor of New York City, Prefect of Paris and mayor of Paris apply to jurisdiction over those administrative territories
Mayor of New York City Prefect of Paris mayor of Paris
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Paris'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'New York City'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Washington, D.C.']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . ?o property:applies_to_jurisdiction ?a . VALUES ( ?a ) { ( resource:Paris ) ( resource:New_York_City ) ( resource:Washington,_D.C. ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q785304 Q3408923 Q19822699
P39
Q502895
USER
Who held the position of those occupations ?
(c(Q502895),P39,Q785304) (c(Q502895),P39,Q3408923) (c(Q502895),P39,Q19822699)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q785304'] [{'concept': 'Q502895'}, 'P39', 'Q3408923'] [{'concept': 'Q502895'}, 'P39', 'Q19822699']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P39 ?b . VALUES ( ?b ) { ( resource:Q3408923 ) ( resource:Q19822699 ) ( resource:Q7013201 ) } }
Mayor of New York City Prefect of Paris mayor of Paris
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of New York City'] [{'concept': 'common name'}, 'position held', 'Prefect of Paris'] [{'concept': 'common name'}, 'position held', 'mayor of Paris']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:position_held ?b . VALUES ( ?b ) { ( resource:Prefect_of_Paris ) ( resource:mayor_of_Paris ) ( resource:New_York_City_Fire_Commissioner ) } }
[]
common name
Q2105 Q607 Q1685859
SYSTEM
Jacques Chirac, Michael Bloomberg, Jean Tiberi
Q527462 Q3525671 Q3525671 Q939458 Q3082937 Q3093881 Q1677408 Q82449 Q82449 Q3381071 Q6287566 Q2156376 Q3101809 Q544396 Q3525446 Q339274 Q212648 Q336848 Q7789768 Q1701296 Q607 Q430443 Q430443 Q5536568 Q4911497 Q356267 Q441554 Q5078071 Q6241983 Q5931233 Q329910 Q2274772 Q508327 Q4121154 Q3157582 Q204135 Q439156 Q2544704 Q8014245 Q3154739 Q666931 Q3498488 Q4741804 Q8019638 Q5217103 Q6233903 Q7345088 Q312502 Q467133 Q880736 Q467122 Q3182321 Q3169247 Q3300706 Q3386393 Q3171566 Q3351278 Q3175000 Q3164818 Q16011126 Q3265737 Q3013819 Q2899591 Q3265585 Q2851133 Q601266 Q959708 Q947901 Q947901 Q1685859 Q1685301 Q256294 Q1685102 Q2105
(c(Q502895),P39,Q785304) (c(Q502895),P39,Q3408923) (c(Q502895),P39,Q19822699)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] held the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q785304'] [{'concept': 'Q502895'}, 'P39', 'Q3408923'] [{'concept': 'Q502895'}, 'P39', 'Q19822699']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P39 ?b . VALUES ( ?b ) { ( resource:Q3408923 ) ( resource:Q19822699 ) ( resource:Q7013201 ) } }
DeWitt Clinton Thomas Willett Thomas Willett Vincent R. Impellitteri Franklin Edson Gabriel Minvielle Jacob Aaron Westervelt William Paulding, Jr. William Paulding, Jr. Phillip French Joseph V. McKee Robert Anderson Van Wyck George Opdyke Edward Livingston Thomas Noell James Duane Rudy Giuliani Gideon Lee Thomas Francis Gilroy John P. O'Brien Michael Bloomberg Fernando Wood Fernando Wood George B. McClellan, Jr. Bill de Blasio James Harper William O'Dwyer Charles Godfrey Gunther John Johnstone Hugh J. Grant Abraham Beame Seth Low Nicholas Bayard Ardolph L. Kline Jacob Radcliff Jimmy Walker Robert F. Wagner William Jay Gaynor William Lafayette Strong Isaac De Reimer John Lindsay Stephanus Van Cortlandt Ambrose Kingsland William Vermilye Brady Daniel Fawcett Tiemann John Francis Hylan Robert H. Morris Fiorello H. La Guardia David Dinkins John T. Hoffman Ed Koch John Purroy Mitchel Jean-Pierre Duport Maurice Doublet Pierre Mutz Jean Daubigny Olivier Philip Jean Verdier Jean-Claude Aurousseau Marcel Diebolt Lucien Vochel Daniel Canepa Bertrand Landrieu Lucien Lanier Anne Hidalgo Louis-Antoine Garnier-Pagès Jules Ferry Jérôme Pétion de Villeneuve Jérôme Pétion de Villeneuve Jean Tiberi Jean Sylvain Bailly Bertrand Delanoë Jean-Nicolas Pache Jacques Chirac
Jacques Chirac, Michael Bloomberg and Jean Tiberi held the position of those occupations
Jacques Chirac Michael Bloomberg Jean Tiberi
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of New York City'] [{'concept': 'common name'}, 'position held', 'Prefect of Paris'] [{'concept': 'common name'}, 'position held', 'mayor of Paris']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:position_held ?b . VALUES ( ?b ) { ( resource:Prefect_of_Paris ) ( resource:mayor_of_Paris ) ( resource:New_York_City_Fire_Commissioner ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2105 Q607 Q1685859
P102
Q7210356
USER
Which parties are Jacques Chirac, Michael Bloomberg and Jean Tiberi affiliated with ?
(Q2105,P102,c(Q7210356)) (Q607,P102,c(Q7210356)) (Q1685859,P102,c(Q7210356))
action union
action filter_type
action find
entity Q2105
relation P102
type Q7210356
action filter_type
action find
entity Q607
relation P102
type Q7210356
action filter_type
action find
entity Q1685859
relation P102
type Q7210356
['Q2105', 'P102', {'concept': 'Q7210356'}] ['Q607', 'P102', {'concept': 'Q7210356'}] ['Q1685859', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?w property:P102 ?v . VALUES ( ?w ) { ( resource:Q2105 ) ( resource:Q607 ) } }
Jacques Chirac Michael Bloomberg Jean Tiberi
action union
action filter_type
action find
entity Jacques Chirac
relation member of political party
type political organization
action filter_type
action find
entity Michael Bloomberg
relation member of political party
type political organization
action filter_type
action find
entity Jean Tiberi
relation member of political party
type political organization
['Jacques Chirac', 'member of political party', {'concept': 'political organization'}] ['Michael Bloomberg', 'member of political party', {'concept': 'political organization'}] ['Jean Tiberi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?w property:member_of_political_party ?v . VALUES ( ?w ) { ( resource:Jacques_Chirac ) ( resource:Michael_Bloomberg ) } }
[]
political organization
Q29552 Q29468 Q1052584
SYSTEM
Democratic Party, Republican Party, Rally for the Republic
Q7223378 Q1052584 Q1904825 Q173152 Q29552 Q29468 Q1052584 Q1904825 Q173152
(Q2105,P102,c(Q7210356)) (Q607,P102,c(Q7210356)) (Q1685859,P102,c(Q7210356))
action union
action filter_type
action find
entity Q2105
relation P102
type Q7210356
action filter_type
action find
entity Q607
relation P102
type Q7210356
action filter_type
action find
entity Q1685859
relation P102
type Q7210356
Party [ANSWERS] are Jacques Chirac, Michael Bloomberg and Jean Tiberi affiliated with
['Q2105', 'P102', {'concept': 'Q7210356'}] ['Q607', 'P102', {'concept': 'Q7210356'}] ['Q1685859', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?w property:P102 ?v . VALUES ( ?w ) { ( resource:Q2105 ) ( resource:Q607 ) } }
Union for the New Republic Rally for the Republic Union of Democrats for the Republic Union for a Popular Movement Democratic Party Republican Party Rally for the Republic Union of Democrats for the Republic Union for a Popular Movement
Party Democratic Party, Republican Party and Rally for the Republic are Jacques Chirac, Michael Bloomberg and Jean Tiberi affiliated with
Democratic Party Republican Party Rally for the Republic
action union
action filter_type
action find
entity Jacques Chirac
relation member of political party
type political organization
action filter_type
action find
entity Michael Bloomberg
relation member of political party
type political organization
action filter_type
action find
entity Jean Tiberi
relation member of political party
type political organization
['Jacques Chirac', 'member of political party', {'concept': 'political organization'}] ['Michael Bloomberg', 'member of political party', {'concept': 'political organization'}] ['Jean Tiberi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?w property:member_of_political_party ?v . VALUES ( ?w ) { ( resource:Jacques_Chirac ) ( resource:Michael_Bloomberg ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2105
P166
Q618779
USER
What were won by that person ?
(Q2105,P166,c(Q618779))
action filter_type
action find
entity Q2105
relation P166
type Q618779
['Q2105', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q2105 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Jacques Chirac
action filter_type
action find
entity Jacques Chirac
relation award received
type award
['Jacques Chirac', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Jacques_Chirac property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q2105
SYSTEM
Did you mean Jacques Chirac ?
Q29552 Q29468 Q1052584
(Q29552,P166,c(Q618779)) (Q29468,P166,c(Q618779)) (Q1052584,P166,c(Q618779))
[ANSWER]
['Q29552', 'P166', {'concept': 'Q618779'}] ['Q29468', 'P166', {'concept': 'Q618779'}] ['Q1052584', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q2105 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Democratic Party Republican Party Rally for the Republic
Did you mean Jacques Chirac ?
Jacques Chirac
['Democratic Party', 'award received', {'concept': 'award'}] ['Republican Party', 'award received', {'concept': 'award'}] ['Rally for the Republic', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Jacques_Chirac property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2105,P166,c(Q618779))
['Q2105', 'P166', {'concept': 'Q618779'}]
['Jacques Chirac', 'award received', {'concept': 'award'}]
[]
Q15464524 Q14539974 Q13422143
SYSTEM
Officer of the National Order of Quebec, Knight Grand Cross of the Order of Merit of the Italian Republic, Grand Cross of the National Order of Merit
Q84020 Q13422143 Q20894903 Q15960935 Q20895009 Q15464524 Q950604 Q20853482 Q14539974 Q20966612 Q18080431 Q20857526 Q13452528 Q20859482
(Q2105,P166,c(Q618779))
action filter_type
action find
entity Q2105
relation P166
type Q618779
[ANSWERS] were won by that person
['Q2105', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q2105 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Order of the White Eagle Grand Cross of the National Order of Merit Grand Cross of the Order of Grand Duke Gediminas Knight of the Ordre National du Mérite Agricole great-cross of the Order of Vytautas the Great Officer of the National Order of Quebec Order of the Star of Romania Grand Cross of the Order of Merit of the Republic of Poland Knight Grand Cross of the Order of Merit of the Italian Republic Collar of the Order of the White Lion Order For Services to the Fatherland 1st class Collar of the Order of the Star of Romania Chevalier de l'ordre des Arts et des Lettres‎ Grand Collar of the Order of Prince Henry
Officer of the National Order of Quebec, Knight Grand Cross of the Order of Merit of the Italian Republic and Grand Cross of the National Order of Merit were won by that person
Officer of the National Order of Quebec Knight Grand Cross of the Order of Merit of the Italian Republic Grand Cross of the National Order of Merit
action filter_type
action find
entity Jacques Chirac
relation award received
type award
['Jacques Chirac', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Jacques_Chirac property:award_received ?m . ?m rdf:type ontology:award }
[]