Simple Question (Direct)
Simple Question
Q6245063
P39
Q12737077
USER
Which occupation was a position occupied by John Lloyd Waddy ?
(Q6245063,P39,c(Q12737077))
action filter_type
action find
entity Q6245063
relation P39
type Q12737077
['Q6245063', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6245063 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
John Lloyd Waddy
action filter_type
action find
entity John Lloyd Waddy
relation position held
type occupation
['John Lloyd Waddy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_Lloyd_Waddy property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q19202748
SYSTEM
Member of the New South Wales Legislative Assembly
Q19202748
(Q6245063,P39,c(Q12737077))
action filter_type
action find
entity Q6245063
relation P39
type Q12737077
The [ANSWER] was a position occupied by John Lloyd Waddy
['Q6245063', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6245063 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Member of the New South Wales Legislative Assembly
The Member of the New South Wales Legislative Assembly was a position occupied by John Lloyd Waddy
Member of the New South Wales Legislative Assembly
action filter_type
action find
entity John Lloyd Waddy
relation position held
type occupation
['John Lloyd Waddy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_Lloyd_Waddy property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6245063
P19
Q56061
USER
Where was John Lloyd Waddy born ?
(Q6245063,P19,c(Q56061))
action filter_type
action find
entity Q6245063
relation P19
type Q56061
['Q6245063', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6245063 property:P19 ?d . ?d rdf:type ontology:Q56061 }
John Lloyd Waddy
action filter_type
action find
entity John Lloyd Waddy
relation place of birth
type administrative territorial entity
['John Lloyd Waddy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Lloyd_Waddy property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3130
SYSTEM
Sydney
Q3130
(Q6245063,P19,c(Q56061))
action filter_type
action find
entity Q6245063
relation P19
type Q56061
John Lloyd Waddy was born in [ANSWER]
['Q6245063', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6245063 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Sydney
John Lloyd Waddy was born in Sydney
Sydney
action filter_type
action find
entity John Lloyd Waddy
relation place of birth
type administrative territorial entity
['John Lloyd Waddy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Lloyd_Waddy property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17994487
Q56061
USER
And how about Franco Pucci?
(Q17994487,P19,c(Q56061))
action filter_type
action find
entity Q17994487
relation P19
type Q56061
['Q17994487', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q17994487 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Franco Pucci
action filter_type
action find
entity Franco Pucci
relation place of birth
type administrative territorial entity
['Franco Pucci', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Franco_Pucci property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2609530
SYSTEM
El Palomar, Buenos Aires
Q2609530
(Q17994487,P19,c(Q56061))
action filter_type
action find
entity Q17994487
relation P19
type Q56061
[ANSWER]
['Q17994487', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q17994487 property:P19 ?g . ?g rdf:type ontology:Q56061 }
El Palomar, Buenos Aires
El Palomar, Buenos Aires
action filter_type
action find
entity Franco Pucci
relation place of birth
type administrative territorial entity
['Franco Pucci', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Franco_Pucci property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3130
P840
Q838948
USER
Which works of art have a setting location of Sydney ?
(c(Q838948),P840,Q3130)
action filter_type
action find_reverse
entity Q3130
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q3130']
SELECT DISTINCT ?v WHERE { ?v property:P840 resource:Q3130 . ?v rdf:type ontology:Q838948 }
Sydney
action filter_type
action find_reverse
entity Sydney
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Sydney']
SELECT DISTINCT ?v WHERE { ?v property:narrative_location resource:Sydney . ?v rdf:type ontology:work_of_art }
[]
work of art
Q431660 Q691672 Q505790
SYSTEM
Godzilla: Final Wars, Frost/Nixon, Mission: Impossible II
Q7750035 Q1039018 Q1218841 Q2699724 Q834367 Q1865670 Q7203385 Q7726899 Q4151182 Q2914816 Q3015204 Q7783640 Q3283835 Q5988951 Q5056580 Q7907878 Q3415693 Q1518910 Q938401 Q1663705 Q691672 Q2184700 Q6899176 Q1348275 Q12126653 Q505790 Q255328 Q10337179 Q431660 Q4532625 Q2456097 Q690463 Q7602448 Q2542475 Q898684 Q7934893 Q471911 Q7768424
(c(Q838948),P840,Q3130)
action filter_type
action find_reverse
entity Q3130
relation P840
type Q838948
Sydney [ANSWERS] have a setting location of Sydney
[{'concept': 'Q838948'}, 'P840', 'Q3130']
SELECT DISTINCT ?v WHERE { ?v property:P840 resource:Q3130 . ?v rdf:type ontology:Q838948 }
The Man from Hong Kong Keroro Gunso the Super Movie 4: Gekishin Dragon Warriors The Last Wave Two Hands Looking for Alibrandi Little Fish Playing Beatie Bow The Combination Dirty Deeds X: Night of Vengeance The Tunnel They're a Weird Mob Puberty Blues Idiot Box Cedar Boys Vacant Possession He Died with a Felafel in His Hand The Sum of Us Heyy Babyy Our Lips Are Sealed Frost/Nixon Thunderbird 6 Money Movers Muriel's Wedding Not Suitable for Children Mission: Impossible II The Adventures of Priscilla, Queen of the Desert Nobody Runs Forever Godzilla: Final Wars Erskineville Kings Paperback Hero Lantana Starstruck Walking on Water Young Einstein Virsa Tom-Yum-Goong The Tender Hook
Sydney Godzilla: Final Wars, Frost/Nixon and Mission: Impossible II have a setting location of Sydney
Godzilla: Final Wars Frost/Nixon Mission: Impossible II
action filter_type
action find_reverse
entity Sydney
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Sydney']
SELECT DISTINCT ?v WHERE { ?v property:narrative_location resource:Sydney . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q431660 Q691672 Q505790
P840
Q56061
USER
Where are Godzilla: Final Wars, Frost/Nixon and Mission: Impossible II set in ?
(Q431660,P840,c(Q56061)) (Q691672,P840,c(Q56061)) (Q505790,P840,c(Q56061))
action union
action filter_type
action find
entity Q431660
relation P840
type Q56061
action filter_type
action find
entity Q691672
relation P840
type Q56061
action filter_type
action find
entity Q505790
relation P840
type Q56061
['Q431660', 'P840', {'concept': 'Q56061'}] ['Q691672', 'P840', {'concept': 'Q56061'}] ['Q505790', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?v property:P840 ?b . VALUES ( ?v ) { ( resource:Q431660 ) ( resource:Q691672 ) } }
Godzilla: Final Wars Frost/Nixon Mission: Impossible II
action union
action filter_type
action find
entity Godzilla: Final Wars
relation narrative location
type administrative territorial entity
action filter_type
action find
entity Frost/Nixon
relation narrative location
type administrative territorial entity
action filter_type
action find
entity Mission: Impossible II
relation narrative location
type administrative territorial entity
['Godzilla: Final Wars', 'narrative location', {'concept': 'administrative territorial entity'}] ['Frost/Nixon', 'narrative location', {'concept': 'administrative territorial entity'}] ['Mission: Impossible II', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?v property:narrative_location ?b . VALUES ( ?v ) { ( resource:Godzilla:_Final_Wars ) ( resource:Frost/Nixon ) } }
[]
administrative territorial entity
Q90 Q65 Q60
SYSTEM
Paris, Los Angeles, New York City
Q90 Q3130 Q1490 Q60 Q65 Q3130 Q61 Q8717 Q3130
(Q431660,P840,c(Q56061)) (Q691672,P840,c(Q56061)) (Q505790,P840,c(Q56061))
action union
action filter_type
action find
entity Q431660
relation P840
type Q56061
action filter_type
action find
entity Q691672
relation P840
type Q56061
action filter_type
action find
entity Q505790
relation P840
type Q56061
Godzilla : Final Wars , Frost / Nixon and Mission : Impossible are in [ANSWERS]
['Q431660', 'P840', {'concept': 'Q56061'}] ['Q691672', 'P840', {'concept': 'Q56061'}] ['Q505790', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?v property:P840 ?b . VALUES ( ?v ) { ( resource:Q431660 ) ( resource:Q691672 ) } }
Paris Sydney Tokyo New York City Los Angeles Sydney Washington, D.C. Seville Sydney
Godzilla : Final Wars , Frost / Nixon and Mission : Impossible are in Paris, Los Angeles and New York City
Paris Los Angeles New York City
action union
action filter_type
action find
entity Godzilla: Final Wars
relation narrative location
type administrative territorial entity
action filter_type
action find
entity Frost/Nixon
relation narrative location
type administrative territorial entity
action filter_type
action find
entity Mission: Impossible II
relation narrative location
type administrative territorial entity
['Godzilla: Final Wars', 'narrative location', {'concept': 'administrative territorial entity'}] ['Frost/Nixon', 'narrative location', {'concept': 'administrative territorial entity'}] ['Mission: Impossible II', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?v property:narrative_location ?b . VALUES ( ?v ) { ( resource:Godzilla:_Final_Wars ) ( resource:Frost/Nixon ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q90 Q65 Q60
P1001
Q12737077
USER
Which occupations preside the jurisdiction over Paris, Los Angeles and New York City ?
(c(Q12737077),P1001,Q90) (c(Q12737077),P1001,Q65) (c(Q12737077),P1001,Q60)
action union
action filter_type
action find_reverse
entity Q90
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q65
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q60
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q90'] [{'concept': 'Q12737077'}, 'P1001', 'Q65'] [{'concept': 'Q12737077'}, 'P1001', 'Q60']
SELECT DISTINCT ?z WHERE { { ?z property:P1001 resource:Q90 . ?z rdf:type ontology:Q12737077 } UNION { ?z property:P1001 resource:Q65 . ?z rdf:type ontology:Q12737077 } }
Paris Los Angeles New York City
action union
action filter_type
action find_reverse
entity Paris
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Los Angeles
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity New York City
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Paris'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Los Angeles'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'New York City']
SELECT DISTINCT ?z WHERE { { ?z property:applies_to_jurisdiction resource:Paris . ?z rdf:type ontology:occupation } UNION { ?z property:applies_to_jurisdiction resource:Los_Angeles . ?z rdf:type ontology:occupation } }
[]
occupation
Q785304 Q3408923 Q19822699
SYSTEM
Mayor of New York City, Prefect of Paris, mayor of Paris
Q3408923 Q19822699 Q16147110 Q1465319 Q7013201 Q21856559 Q22340956 Q785304
(c(Q12737077),P1001,Q90) (c(Q12737077),P1001,Q65) (c(Q12737077),P1001,Q60)
action union
action filter_type
action find_reverse
entity Q90
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q65
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q60
relation P1001
type Q12737077
[ANSWERS] preside the jurisdiction over Paris, Los Angeles and New York City
[{'concept': 'Q12737077'}, 'P1001', 'Q90'] [{'concept': 'Q12737077'}, 'P1001', 'Q65'] [{'concept': 'Q12737077'}, 'P1001', 'Q60']
SELECT DISTINCT ?z WHERE { { ?z property:P1001 resource:Q90 . ?z rdf:type ontology:Q12737077 } UNION { ?z property:P1001 resource:Q65 . ?z rdf:type ontology:Q12737077 } }
Prefect of Paris mayor of Paris Los Angeles City Controller Mayor of Los Angeles New York City Fire Commissioner Coroner of New York City Postmaster of New York City Mayor of New York City
Mayor of New York City, Prefect of Paris and mayor of Paris preside the jurisdiction over Paris, Los Angeles and New York City
Mayor of New York City Prefect of Paris mayor of Paris
action union
action filter_type
action find_reverse
entity Paris
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Los Angeles
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity New York City
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Paris'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Los Angeles'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'New York City']
SELECT DISTINCT ?z WHERE { { ?z property:applies_to_jurisdiction resource:Paris . ?z rdf:type ontology:occupation } UNION { ?z property:applies_to_jurisdiction resource:Los_Angeles . ?z rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q785304 Q3408923 Q19822699
P39
Q502895
USER
Which people were appointed for the position of Mayor of New York City, Prefect of Paris and mayor of Paris ?
(c(Q502895),P39,Q785304) (c(Q502895),P39,Q3408923) (c(Q502895),P39,Q19822699)
action union
action filter_type
action find_reverse
entity Q785304
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3408923
relation P39
type Q502895
action filter_type
action find_reverse
entity Q19822699
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q785304'] [{'concept': 'Q502895'}, 'P39', 'Q3408923'] [{'concept': 'Q502895'}, 'P39', 'Q19822699']
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Q785304 ) ( resource:Q3408923 ) } . ?l property:P39 ?g }
Mayor of New York City Prefect of Paris mayor of Paris
action union
action filter_type
action find_reverse
entity Mayor of New York City
relation position held
type common name
action filter_type
action find_reverse
entity Prefect of Paris
relation position held
type common name
action filter_type
action find_reverse
entity mayor of Paris
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 ?l WHERE { VALUES ( ?g ) { ( resource:Mayor_of_New_York_City ) ( resource:Prefect_of_Paris ) } . ?l property:position_held ?g }
[]
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 union
action filter_type
action find_reverse
entity Q785304
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3408923
relation P39
type Q502895
action filter_type
action find_reverse
entity Q19822699
relation P39
type Q502895
[ANSWERS] were appointed for the position of Mayor of New York City, Prefect of Paris and mayor of Paris
[{'concept': 'Q502895'}, 'P39', 'Q785304'] [{'concept': 'Q502895'}, 'P39', 'Q3408923'] [{'concept': 'Q502895'}, 'P39', 'Q19822699']
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Q785304 ) ( resource:Q3408923 ) } . ?l property:P39 ?g }
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 were appointed for the position of Mayor of New York City, Prefect of Paris and mayor of Paris
Jacques Chirac Michael Bloomberg Jean Tiberi
action union
action filter_type
action find_reverse
entity Mayor of New York City
relation position held
type common name
action filter_type
action find_reverse
entity Prefect of Paris
relation position held
type common name
action filter_type
action find_reverse
entity mayor of Paris
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 ?l WHERE { VALUES ( ?g ) { ( resource:Mayor_of_New_York_City ) ( resource:Prefect_of_Paris ) } . ?l property:position_held ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q607
P451
Q502895
USER
Which person has that one as relationship partner ?
(c(Q502895),P451,Q607)
action filter_type
action find_reverse
entity Q607
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q607']
SELECT DISTINCT ?z WHERE { ?z property:P451 resource:Q607 . ?z rdf:type ontology:Q502895 }
Michael Bloomberg
action filter_type
action find_reverse
entity Michael Bloomberg
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Michael Bloomberg']
SELECT DISTINCT ?z WHERE { ?z property:partner resource:Michael_Bloomberg . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q607
SYSTEM
Did you mean Michael Bloomberg ?
Q2105 Q607 Q1685859
(c(Q502895),P451,Q2105) (c(Q502895),P451,Q607) (c(Q502895),P451,Q1685859)
[ANSWER]
[{'concept': 'Q502895'}, 'P451', 'Q2105'] [{'concept': 'Q502895'}, 'P451', 'Q607'] [{'concept': 'Q502895'}, 'P451', 'Q1685859']
SELECT DISTINCT ?z WHERE { ?z property:P451 resource:Q607 . ?z rdf:type ontology:Q502895 }
Jacques Chirac Michael Bloomberg Jean Tiberi
Did you mean Michael Bloomberg ?
Michael Bloomberg
[{'concept': 'common name'}, 'partner', 'Jacques Chirac'] [{'concept': 'common name'}, 'partner', 'Michael Bloomberg'] [{'concept': 'common name'}, 'partner', 'Jean Tiberi']
SELECT DISTINCT ?z WHERE { ?z property:partner resource:Michael_Bloomberg . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P451,Q607)
[{'concept': 'Q502895'}, 'P451', 'Q607']
[{'concept': 'common name'}, 'partner', 'Michael Bloomberg']
[]
Q5271319
SYSTEM
Diana Taylor
Q5271319
(c(Q502895),P451,Q607)
action filter_type
action find_reverse
entity Q607
relation P451
type Q502895
[ANSWER] has that one as relationship partner
[{'concept': 'Q502895'}, 'P451', 'Q607']
SELECT DISTINCT ?z WHERE { ?z property:P451 resource:Q607 . ?z rdf:type ontology:Q502895 }
Diana Taylor
Diana Taylor has that one as relationship partner
Diana Taylor
action filter_type
action find_reverse
entity Michael Bloomberg
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Michael Bloomberg']
SELECT DISTINCT ?z WHERE { ?z property:partner resource:Michael_Bloomberg . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5271319 Q49116
P69
Q163740
USER
Was Dartmouth College that person educated ?
(Q5271319,P69,Q49116)
action is_in
entity Q49116
action find
entity Q5271319
relation P69
['Q5271319', 'P69', 'Q49116']
ASK WHERE { resource:Q5271319 property:P69 resource:Q49116 }
Diana Taylor Dartmouth College
action is_in
entity Dartmouth College
action find
entity Diana Taylor
relation educated at
['Diana Taylor', 'educated at', 'Dartmouth College']
ASK WHERE { resource:Diana_Taylor property:educated_at resource:Dartmouth_College }
[]
nonprofit organization
SYSTEM
YES
(Q5271319,P69,Q49116)
action is_in
entity Q49116
action find
entity Q5271319
relation P69
[ANSWER]
['Q5271319', 'P69', 'Q49116']
ASK WHERE { resource:Q5271319 property:P69 resource:Q49116 }
Yes
action is_in
entity Dartmouth College
action find
entity Diana Taylor
relation educated at
['Diana Taylor', 'educated at', 'Dartmouth College']
ASK WHERE { resource:Diana_Taylor property:educated_at resource:Dartmouth_College }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5271319 Q21400464
P21
Q290
USER
How many sexes do Diana Taylor or Idaios have ?
(Q5271319,P21,c(Q290)) (Q21400464,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q5271319
relation P21
type Q290
action filter_type
action find
entity Q21400464
relation P21
type Q290
['Q5271319', 'P21', {'concept': 'Q290'}] ['Q21400464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?k property:P21 ?d . VALUES ( ?k ) { ( resource:Q21400464 ) ( resource:Q5271319 ) } }
Diana Taylor Idaios
action count
action union
action filter_type
action find
entity Diana Taylor
relation gender
type sex
action filter_type
action find
entity Idaios
relation gender
type sex
['Diana Taylor', 'gender', {'concept': 'sex'}] ['Idaios', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?k property:gender ?d . VALUES ( ?k ) { ( resource:Idaios ) ( resource:Diana_Taylor ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q5271319,P21,c(Q290)) (Q21400464,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q5271319
relation P21
type Q290
action filter_type
action find
entity Q21400464
relation P21
type Q290
[ANSWER]
['Q5271319', 'P21', {'concept': 'Q290'}] ['Q21400464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?k property:P21 ?d . VALUES ( ?k ) { ( resource:Q21400464 ) ( resource:Q5271319 ) } }
male female
2
action count
action union
action filter_type
action find
entity Diana Taylor
relation gender
type sex
action filter_type
action find
entity Idaios
relation gender
type sex
['Diana Taylor', 'gender', {'concept': 'sex'}] ['Idaios', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?k property:gender ?d . VALUES ( ?k ) { ( resource:Idaios ) ( resource:Diana_Taylor ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5271319
P103
Q34770
USER
Which language is the mother tongue of Diana Taylor ?
(Q5271319,P103,c(Q34770))
action filter_type
action find
entity Q5271319
relation P103
type Q34770
['Q5271319', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q5271319 property:P103 ?c . ?c rdf:type ontology:Q34770 }
Diana Taylor
action filter_type
action find
entity Diana Taylor
relation native language
type language
['Diana Taylor', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Diana_Taylor property:native_language ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5271319,P103,c(Q34770))
action filter_type
action find
entity Q5271319
relation P103
type Q34770
In [ANSWER] is the mother tongue of Diana Taylor
['Q5271319', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q5271319 property:P103 ?c . ?c rdf:type ontology:Q34770 }
English
In English is the mother tongue of Diana Taylor
English
action filter_type
action find
entity Diana Taylor
relation native language
type language
['Diana Taylor', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Diana_Taylor property:native_language ?c . ?c rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q189869
Q34770
USER
And also tell me about Benito Pérez Galdós?
(Q189869,P103,c(Q34770))
action filter_type
action find
entity Q189869
relation P103
type Q34770
['Q189869', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q189869 property:P103 ?n }
Benito Pérez Galdós
action filter_type
action find
entity Benito Pérez Galdós
relation native language
type language
['Benito Pérez Galdós', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Benito_Pérez_Galdós property:native_language ?n }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q189869,P103,c(Q34770))
action filter_type
action find
entity Q189869
relation P103
type Q34770
[ANSWER]
['Q189869', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q189869 property:P103 ?n }
Spanish
Spanish
action filter_type
action find
entity Benito Pérez Galdós
relation native language
type language
['Benito Pérez Galdós', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Benito_Pérez_Galdós property:native_language ?n }
[]