Simple Question (Direct)
Simple Question
Q1551573
P58
Q502895
USER
Which person wrote the script for The Player ?
(Q1551573,P58,c(Q502895))
action filter_type
action find
entity Q1551573
relation P58
type Q502895
['Q1551573', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1551573 property:P58 ?t . ?t rdf:type ontology:Q502895 }
The Player
action filter_type
action find
entity The Player
relation screenwriter
type common name
['The Player', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Player property:screenwriter ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1723417
SYSTEM
Michael Tolkin
Q1723417
(Q1551573,P58,c(Q502895))
action filter_type
action find
entity Q1551573
relation P58
type Q502895
[ANSWER] wrote the script for The Player
['Q1551573', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1551573 property:P58 ?t . ?t rdf:type ontology:Q502895 }
Michael Tolkin
Michael Tolkin wrote the script for The Player
Michael Tolkin
action filter_type
action find
entity The Player
relation screenwriter
type common name
['The Player', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Player property:screenwriter ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1551573
P1040
Q502895
USER
Who has editted The Player ?
(Q1551573,P1040,c(Q502895))
action filter_type
action find
entity Q1551573
relation P1040
type Q502895
['Q1551573', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1551573 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
The Player
action filter_type
action find
entity The Player
relation film editor
type common name
['The Player', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Player property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q516057
SYSTEM
Geraldine Peroni
Q516057
(Q1551573,P1040,c(Q502895))
action filter_type
action find
entity Q1551573
relation P1040
type Q502895
[ANSWER] has editted The Player
['Q1551573', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1551573 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Geraldine Peroni
Geraldine Peroni has editted The Player
Geraldine Peroni
action filter_type
action find
entity The Player
relation film editor
type common name
['The Player', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Player property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1551573
P136
Q1792379
USER
What can be considered as category for The Player ?
(Q1551573,P136,c(Q1792379))
action filter_type
action find
entity Q1551573
relation P136
type Q1792379
['Q1551573', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q1551573 property:P136 ?y }
The Player
action filter_type
action find
entity The Player
relation genre
type art genre
['The Player', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:The_Player property:genre ?y }
[]
art genre
Q1257444
SYSTEM
film adaptation
Q1257444
(Q1551573,P136,c(Q1792379))
action filter_type
action find
entity Q1551573
relation P136
type Q1792379
The [ANSWER] can be considered as category for The Player
['Q1551573', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q1551573 property:P136 ?y }
film adaptation
The film adaptation can be considered as category for The Player
film adaptation
action filter_type
action find
entity The Player
relation genre
type art genre
['The Player', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:The_Player property:genre ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4770723
P1028
Q502895 Q1792379
USER
How many people made a donation for lesser number of art genres than A. Conger Goodyear ?
(c(Q1792379),P1028,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find_reverse
entity Q4770723
relation P1028
type Q1792379
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1028 ?r . ?m rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1028 resource:Q4770723 . ?k rdf:type ontology:Q1792379 } } . FILTER ( ?g < ?s ) }
A. Conger Goodyear
action count
action less
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find_reverse
entity A. Conger Goodyear
relation donated by
type art genre
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:donated_by ?r . ?m rdf:type ontology:art_genre . ?r rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:donated_by resource:A._Conger_Goodyear . ?k rdf:type ontology:art_genre } } . FILTER ( ?g < ?s ) }
[]
common name art genre
SYSTEM
146
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find_reverse
entity Q4770723
relation P1028
type Q1792379
[ANSWER]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1028 ?r . ?m rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1028 resource:Q4770723 . ?k rdf:type ontology:Q1792379 } } . FILTER ( ?g < ?s ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
146
action count
action less
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find_reverse
entity A. Conger Goodyear
relation donated by
type art genre
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:donated_by ?r . ?m rdf:type ontology:art_genre . ?r rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:donated_by resource:A._Conger_Goodyear . ?k rdf:type ontology:art_genre } } . FILTER ( ?g < ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4770723
P735
Q82799
USER
What is the firstname of that person ?
action filter_type
action find
entity Q4770723
relation P735
type Q82799
SELECT DISTINCT ?j WHERE { resource:Q4770723 property:P735 ?j . ?j rdf:type ontology:Q82799 }
A. Conger Goodyear
action filter_type
action find
entity A. Conger Goodyear
relation given name
type name
SELECT DISTINCT ?j WHERE { resource:A._Conger_Goodyear property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q19803442
SYSTEM
A.
Q19803442
action filter_type
action find
entity Q4770723
relation P735
type Q82799
The firstname of that person is [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q4770723 property:P735 ?j . ?j rdf:type ontology:Q82799 }
A.
The firstname of that person is A.
A.
action filter_type
action find
entity A. Conger Goodyear
relation given name
type name
SELECT DISTINCT ?j WHERE { resource:A._Conger_Goodyear property:given_name ?j . ?j rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q445375 Q4770723
P734 P735
Q82799
USER
Which names are the firstnames of A. Conger Goodyear or are associated with Merlin Santana ?
OR((Q4770723,P735,c(Q82799)), (Q445375,P734,c(Q82799)))
action filter_type
action union
action find
entity Q4770723
relation P735
action find
entity Q445375
relation P734
type Q82799
{'OR': [['Q4770723', 'P735', {'concept': 'Q82799'}], ['Q445375', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q4770723 property:P735 ?b } UNION { resource:Q445375 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
Merlin Santana A. Conger Goodyear
action filter_type
action union
action find
entity A. Conger Goodyear
relation given name
action find
entity Merlin Santana
relation family name
type name
{'OR': [['A. Conger Goodyear', 'given name', {'concept': 'name'}], ['Merlin Santana', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:A._Conger_Goodyear property:given_name ?b } UNION { resource:Merlin_Santana property:family_name ?b } } . ?b rdf:type ontology:name }
[]
name
Q19803442 Q1738801
SYSTEM
A., Santana
Q19803442 Q1738801
OR((Q4770723,P735,c(Q82799)), (Q445375,P734,c(Q82799)))
action filter_type
action union
action find
entity Q4770723
relation P735
action find
entity Q445375
relation P734
type Q82799
[ANSWERS] are the firstnames of A. Conger Goodyear or are associated with Merlin Santana
{'OR': [['Q4770723', 'P735', {'concept': 'Q82799'}], ['Q445375', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q4770723 property:P735 ?b } UNION { resource:Q445375 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
A. Santana
A. and Santana are the firstnames of A. Conger Goodyear or are associated with Merlin Santana
A. Santana
action filter_type
action union
action find
entity A. Conger Goodyear
relation given name
action find
entity Merlin Santana
relation family name
type name
{'OR': [['A. Conger Goodyear', 'given name', {'concept': 'name'}], ['Merlin Santana', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:A._Conger_Goodyear property:given_name ?b } UNION { resource:Merlin_Santana property:family_name ?b } } . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1551573
P86
Q502895
USER
Who composed The Player ?
(Q1551573,P86,c(Q502895))
action filter_type
action find
entity Q1551573
relation P86
type Q502895
['Q1551573', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1551573 property:P86 ?u . ?u rdf:type ontology:Q502895 }
The Player
action filter_type
action find
entity The Player
relation composer
type common name
['The Player', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Player property:composer ?u . ?u rdf:type ontology:common_name }
[]
common name
Q319996
SYSTEM
Thomas Newman
Q319996
(Q1551573,P86,c(Q502895))
action filter_type
action find
entity Q1551573
relation P86
type Q502895
In [ANSWER] composed The Player
['Q1551573', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1551573 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Thomas Newman
In Thomas Newman composed The Player
Thomas Newman
action filter_type
action find
entity The Player
relation composer
type common name
['The Player', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Player property:composer ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q319996
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q319996)
action filter_type
action find_reverse
entity Q319996
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q319996']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q319996 }
Thomas Newman
action filter_type
action find_reverse
entity Thomas Newman
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thomas Newman']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Thomas_Newman }
[]
common name
Q367032
SYSTEM
Alfred Newman
Q367032
(c(Q502895),P40,Q319996)
action filter_type
action find_reverse
entity Q319996
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q319996']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q319996 }
Alfred Newman
Alfred Newman has that one as a child
Alfred Newman
action filter_type
action find_reverse
entity Thomas Newman
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thomas Newman']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Thomas_Newman }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q319996
P21
Q290
USER
What is the sex of Thomas Newman ?
(Q319996,P21,c(Q290))
action filter_type
action find
entity Q319996
relation P21
type Q290
['Q319996', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q319996 property:P21 ?i . ?i rdf:type ontology:Q290 }
Thomas Newman
action filter_type
action find
entity Thomas Newman
relation gender
type sex
['Thomas Newman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Newman property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q319996,P21,c(Q290))
action filter_type
action find
entity Q319996
relation P21
type Q290
The sex of Thomas Newman is a [ANSWER]
['Q319996', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q319996 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Thomas Newman is a male
male
action filter_type
action find
entity Thomas Newman
relation gender
type sex
['Thomas Newman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Newman property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16859747
Q290
USER
And what about Jan van Londerseel?
(Q16859747,P21,c(Q290))
action filter_type
action find
entity Q16859747
relation P21
type Q290
['Q16859747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q16859747 property:P21 ?r . ?r rdf:type ontology:Q290 }
Jan van Londerseel
action filter_type
action find
entity Jan van Londerseel
relation gender
type sex
['Jan van Londerseel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Jan_van_Londerseel property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16859747,P21,c(Q290))
action filter_type
action find
entity Q16859747
relation P21
type Q290
[ANSWER]
['Q16859747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q16859747 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jan van Londerseel
relation gender
type sex
['Jan van Londerseel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Jan_van_Londerseel property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Who has a job as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has a job as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has a job as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:occupation resource:male }
[]