Simple Question (Direct)
Simple Question
Q16223183
P102
Q7210356
USER
Which political organization is María Teresa Jiménez Esquivel a member of ?
(Q16223183,P102,c(Q7210356))
action filter_type
action find
entity Q16223183
relation P102
type Q7210356
['Q16223183', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q16223183 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
María Teresa Jiménez Esquivel
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation member of political party
type political organization
['María Teresa Jiménez Esquivel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:María_Teresa_Jiménez_Esquivel property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q851087
SYSTEM
National Action Party
Q851087
(Q16223183,P102,c(Q7210356))
action filter_type
action find
entity Q16223183
relation P102
type Q7210356
The [ANSWER] is María Teresa Jiménez Esquivel a member of
['Q16223183', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q16223183 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
National Action Party
The National Action Party is María Teresa Jiménez Esquivel a member of
National Action Party
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation member of political party
type political organization
['María Teresa Jiménez Esquivel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:María_Teresa_Jiménez_Esquivel property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16223183
P1412
Q34770
USER
Which language is spoken by that person ?
(Q851087,P1412,c(Q34770))
action filter_type
action find
entity Q16223183
relation P1412
type Q34770
['Q851087', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q16223183 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
María Teresa Jiménez Esquivel
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation languages spoken, written or signed
type language
['National Action Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:María_Teresa_Jiménez_Esquivel property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q851087,P1412,c(Q34770))
action filter_type
action find
entity Q16223183
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q851087', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q16223183 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation languages spoken, written or signed
type language
['National Action Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:María_Teresa_Jiménez_Esquivel property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages adopt lesser number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
action less
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q8192 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?x } } . FILTER ( ?f < ?g ) }
action less
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:writing_system . ?b rdf:type ontology:language . ?b property:writing_system ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:language . resource:Spanish property:writing_system ?x } } . FILTER ( ?f < ?g ) }
[]
writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
action less
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[ANSWERS] adopt lesser number of writing systems as the writing system than that language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q8192 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?x } } . FILTER ( ?f < ?g ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian adopt lesser number of writing systems as the writing system than that language
Avestan English Old Egyptian
action less
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:writing_system . ?b rdf:type ontology:language . ?b property:writing_system ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:language . resource:Spanish property:writing_system ?x } } . FILTER ( ?f < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16223183
P21
Q290
USER
What is the sex of María Teresa Jiménez Esquivel ?
(Q16223183,P21,c(Q290))
action filter_type
action find
entity Q16223183
relation P21
type Q290
['Q16223183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q16223183 property:P21 ?b . ?b rdf:type ontology:Q290 }
María Teresa Jiménez Esquivel
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation gender
type sex
['María Teresa Jiménez Esquivel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:María_Teresa_Jiménez_Esquivel property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16223183,P21,c(Q290))
action filter_type
action find
entity Q16223183
relation P21
type Q290
The sex of María Teresa Jiménez Esquivel is the [ANSWER]
['Q16223183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q16223183 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
The sex of María Teresa Jiménez Esquivel is the female
female
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation gender
type sex
['María Teresa Jiménez Esquivel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:María_Teresa_Jiménez_Esquivel property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16223183
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q6581072,P39,c(Q12737077))
action filter_type
action find
entity Q16223183
relation P39
type Q12737077
['Q6581072', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16223183 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
María Teresa Jiménez Esquivel
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation position held
type occupation
['female', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:María_Teresa_Jiménez_Esquivel property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q18534310
SYSTEM
Member of the Chamber of Deputies of Mexico
Q18534310
(Q6581072,P39,c(Q12737077))
action filter_type
action find
entity Q16223183
relation P39
type Q12737077
A [ANSWER] was a position occupied by that person
['Q6581072', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16223183 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of Mexico
A Member of the Chamber of Deputies of Mexico was a position occupied by that person
Member of the Chamber of Deputies of Mexico
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation position held
type occupation
['female', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:María_Teresa_Jiménez_Esquivel property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16223183
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of María Teresa Jiménez Esquivel ?
(Q16223183,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16223183
relation P27
type Q15617994
['Q16223183', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q16223183 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
María Teresa Jiménez Esquivel
action count
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation country of citizenship
type designation for an administrative territorial entity
['María Teresa Jiménez Esquivel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:María_Teresa_Jiménez_Esquivel property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q96
(Q16223183,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16223183
relation P27
type Q15617994
[ANSWER]
['Q16223183', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q16223183 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Mexico
1
action count
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation country of citizenship
type designation for an administrative territorial entity
['María Teresa Jiménez Esquivel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:María_Teresa_Jiménez_Esquivel property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16223183
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q16223183
relation P106
type Q12737077
SELECT DISTINCT ?c WHERE { resource:Q16223183 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
María Teresa Jiménez Esquivel
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation occupation
type occupation
SELECT DISTINCT ?c WHERE { resource:María_Teresa_Jiménez_Esquivel property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q16223183
relation P106
type Q12737077
The profession of that person is a [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q16223183 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity María Teresa Jiménez Esquivel
relation occupation
type occupation
SELECT DISTINCT ?c WHERE { resource:María_Teresa_Jiménez_Esquivel property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P921
Q12737077 Q386724 Q2342494
USER
How many occupations were the main subjects of approximately the same number of works or collectables 's work as that occupation ?
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q386724
type Q2342494
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?x WHERE { { ?u property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q386724 } UNION { ?u property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P921 resource:Q82955 . { VALUES ( ?k ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?p rdf:type ?k } } } . FILTER ( ?d = ?w ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?x WHERE { { ?u property:main_subject ?x . ?x rdf:type ontology:occupation . ?u rdf:type ontology:work } UNION { ?u property:main_subject ?x . ?x rdf:type ontology:occupation . ?u rdf:type ontology:collectable } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:main_subject resource:politician . { VALUES ( ?k ) { ( ontology:work ) ( ontology:collectable ) } . ?p rdf:type ?k } } } . FILTER ( ?d = ?w ) }
[]
occupation work collectable
SYSTEM
98
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q386724
type Q2342494
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?x WHERE { { ?u property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q386724 } UNION { ?u property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P921 resource:Q82955 . { VALUES ( ?k ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?p rdf:type ?k } } } . FILTER ( ?d = ?w ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
98
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?x WHERE { { ?u property:main_subject ?x . ?x rdf:type ontology:occupation . ?u rdf:type ontology:work } UNION { ?u property:main_subject ?x . ?x rdf:type ontology:occupation . ?u rdf:type ontology:collectable } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:main_subject resource:politician . { VALUES ( ?k ) { ( ontology:work ) ( ontology:collectable ) } . ?p rdf:type ?k } } } . FILTER ( ?d = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q10871364 Q82955
P106
Q502895
USER
Which people have politician and baseball player as his/her means of employment ?
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q10871364))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q10871364
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q10871364']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q82955 . ?y property:P106 resource:Q10871364 . ?y rdf:type ontology:Q502895 }
baseball player politician
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity baseball player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'baseball player']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:politician . ?y property:occupation resource:baseball_player . ?y rdf:type ontology:common_name }
[]
common name
Q6241271 Q6708027 Q4964157 Q11479062 Q4933387 Q11473072 Q5361568 Q7819273 Q311782 Q6397335
SYSTEM
Some of them are John J. Ryan, Lyman Frimodig, Brian J. Martin, Kazuto Kawabata, Bob McWhorter, Kō Okamoto, Takeshi Koba, Tommy Byrne, Bill Richardson, Kevin Reilly
Q16011692 Q881641 Q888580 Q7495201 Q1134596 Q11579825 Q4964157 Q652658 Q883189 Q4954423 Q11504735 Q7199594 Q889250 Q1074120 Q6140916 Q6708027 Q11536965 Q16216671 Q3082758 Q11593846 Q5162555 Q11593921 Q5666954 Q16014213 Q4664471 Q3101450 Q4933387 Q888606 Q11591251 Q5622576 Q6119204 Q6685616 Q3177637 Q6669624 Q7331253 Q22959020 Q11391518 Q11652563 Q371148 Q11671348 Q1620262 Q11479062 Q16216591 Q6456259 Q11427382 Q6964780 Q6241271 Q7052019 Q5699791 Q5287015 Q11551146 Q11475092 Q6490558 Q11603466 Q16193682 Q11473072 Q869771 Q4909371 Q311782 Q16091330 Q4014560 Q529550 Q6251591 Q5670503 Q11531191 Q5361568 Q885374 Q16018138 Q11356168 Q5487334 Q5171460 Q11369335 Q5719441 Q11576512 Q5210580 Q7169845 Q7171818 Q573029 Q8020252 Q6166706 Q23505 Q1508023 Q4910062 Q4908786 Q7109731 Q5228713 Q6167205 Q722059 Q918265 Q6913938 Q521145 Q203286 Q2545200 Q3476256 Q2427011 Q934093 Q2165678 Q7819273 Q7335488 Q4952325 Q6392996 Q16107275 Q7099693 Q2134176 Q6397335 Q4797790 Q7964154 Q19518294 Q290890 Q7297344 Q207955 Q11469368
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q10871364))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q10871364
relation P106
type Q502895
[ANSWERS] have politician and baseball player as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q10871364']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q82955 . ?y property:P106 resource:Q10871364 . ?y rdf:type ontology:Q502895 }
Jesse Winters Milward L. Simpson Morgan Bulkeley Sherman Jones Joe Saunders Giichirō Shiraki Brian J. Martin Ed Bailey Fred H. Brown Bradbury Robinson Akira Kusaka Pius L. Schwert John K. Tener Randy Bass Takeshi Nomura Lyman Frimodig Susumu Momoi Judson McMillin Frank Mancuso Ajia Fukumoto Conrad L. Raiford Eisuke Fukunaga Harry Arista Mackey Lantz Womack Akira Shimada George Burns Bob McWhorter Frank Lausche Yasuo Fukui Guy S. Houston Jacob Ruppert Lou Lowdermilk Jesse White Lon Warneke Rick Bosetti David W. Dowd Chikō Yatsunami Keiichi Nagasaki Arthur Pue Gorman Eiichirō Takahashi Hiroo Ishii Kazuto Kawabata Bart Hester L.D. "Buddy" Napper Hidetaka Horiba Nap Rucker John J. Ryan Norman Buchanan Heinie Stafford Doc Adams Takenori Emoto Yoshihiro Iwamoto Larry Jackson Shunryū Tsukiji Bill Kintner Kō Okamoto Bobby Richardson Bill Heckroth Bill Richardson Chester Stranczek Roger Williams Platt Adams John P. Harris Harry LeGore Takizō Matsumoto Takeshi Koba John W. Bricker J. J. Harrington Jun Misawa Frank House Cornelius Van Cott Jirō Kuji Henry Clarke Kenjirō Tamiya Dale Orem Perry McGriff Pete Abele Happy Chandler William Wheaton Jay Hoffman George H. W. Bush George P. Codd Bill McAfee Bill Dodd Otto Miller Dave Edler Jay Sniatkowski Walter Johnson Jim Bunning Morris W. Turner Mario Cuomo Kevin Johnson Wilmer Mizell Scott W. Lucas Thomas S. McMillan Lionel Conacher Ronald M. Mottl Tommy Byrne Rip Collins Boyd Cypert Keo Nakama John DeFrancisco Orange Phelps Raymond Joseph Cannon Kevin Reilly Arthur Alber Walter Ancker Conrad F. Becker Hirohisa Fujii Ray Collins Omar Bradley Kenju Yamamoto
John J. Ryan, Lyman Frimodig, Brian J. Martin, Kazuto Kawabata, Bob McWhorter, Kō Okamoto, Takeshi Koba, Tommy Byrne, Bill Richardson and Kevin Reilly have politician and baseball player as his/her means of employment
John J. Ryan Lyman Frimodig Brian J. Martin Kazuto Kawabata Bob McWhorter Kō Okamoto Takeshi Koba Tommy Byrne Bill Richardson Kevin Reilly
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity baseball player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'baseball player']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:politician . ?y property:occupation resource:baseball_player . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6397335
P937
Q56061
USER
What is the location where Kevin Reilly worked ?
(Q6397335,P937,c(Q56061))
action filter_type
action find
entity Q6397335
relation P937
type Q56061
['Q6397335', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6397335 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Kevin Reilly
action filter_type
action find
entity Kevin Reilly
relation work location
type administrative territorial entity
['Kevin Reilly', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Reilly property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28218
SYSTEM
Baton Rouge
Q28218
(Q6397335,P937,c(Q56061))
action filter_type
action find
entity Q6397335
relation P937
type Q56061
The location Kevin Reilly worked is in [ANSWER]
['Q6397335', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6397335 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Baton Rouge
The location Kevin Reilly worked is in Baton Rouge
Baton Rouge
action filter_type
action find
entity Kevin Reilly
relation work location
type administrative territorial entity
['Kevin Reilly', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Kevin_Reilly property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6397335
P69
Q159334
USER
Which secondary school is that person an alumni of ?
(Q28218,P69,c(Q159334))
action filter_type
action find
entity Q6397335
relation P69
type Q159334
['Q28218', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { resource:Q6397335 property:P69 ?i . ?i rdf:type ontology:Q159334 }
Kevin Reilly
action filter_type
action find
entity Kevin Reilly
relation educated at
type secondary school
['Baton Rouge', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { resource:Kevin_Reilly property:educated_at ?i . ?i rdf:type ontology:secondary_school }
[]
secondary school
Q7372418
SYSTEM
Roxbury Latin School
Q7372418
(Q28218,P69,c(Q159334))
action filter_type
action find
entity Q6397335
relation P69
type Q159334
[ANSWER] is that person an alumni of
['Q28218', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { resource:Q6397335 property:P69 ?i . ?i rdf:type ontology:Q159334 }
Roxbury Latin School
Roxbury Latin School is that person an alumni of
Roxbury Latin School
action filter_type
action find
entity Kevin Reilly
relation educated at
type secondary school
['Baton Rouge', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { resource:Kevin_Reilly property:educated_at ?i . ?i rdf:type ontology:secondary_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7372418
P17
Q15617994
USER
Which administrative territory is that secondary school present in ?
(Q7372418,P17,c(Q15617994))
action filter_type
action find
entity Q7372418
relation P17
type Q15617994
['Q7372418', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7372418 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Roxbury Latin School
action filter_type
action find
entity Roxbury Latin School
relation country
type designation for an administrative territorial entity
['Roxbury Latin School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Roxbury_Latin_School property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7372418,P17,c(Q15617994))
action filter_type
action find
entity Q7372418
relation P17
type Q15617994
That secondary school is the [ANSWER]
['Q7372418', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7372418 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
That secondary school is the United States of America
United States of America
action filter_type
action find
entity Roxbury Latin School
relation country
type designation for an administrative territorial entity
['Roxbury Latin School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Roxbury_Latin_School property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]