Simple Question (Direct)
Simple Question
Q16213733
P39
Q12737077
USER
Which occupation was a position held by Eddie Rodriguez ?
(Q16213733,P39,c(Q12737077))
action filter_type
action find
entity Q16213733
relation P39
type Q12737077
['Q16213733', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16213733 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Eddie Rodriguez
action filter_type
action find
entity Eddie Rodriguez
relation position held
type occupation
['Eddie Rodriguez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Eddie_Rodriguez property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q18604553
SYSTEM
member of the Texas House of Representatives
Q18604553
(Q16213733,P39,c(Q12737077))
action filter_type
action find
entity Q16213733
relation P39
type Q12737077
The [ANSWER] was a position held by Eddie Rodriguez
['Q16213733', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16213733 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
member of the Texas House of Representatives
The member of the Texas House of Representatives was a position held by Eddie Rodriguez
member of the Texas House of Representatives
action filter_type
action find
entity Eddie Rodriguez
relation position held
type occupation
['Eddie Rodriguez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Eddie_Rodriguez property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16213733
P102
Q7210356
USER
Which political organization is Eddie Rodriguez a member of ?
(Q16213733,P102,c(Q7210356))
action filter_type
action find
entity Q16213733
relation P102
type Q7210356
['Q16213733', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q16213733 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Eddie Rodriguez
action filter_type
action find
entity Eddie Rodriguez
relation member of political party
type political organization
['Eddie Rodriguez', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Eddie_Rodriguez property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q16213733,P102,c(Q7210356))
action filter_type
action find
entity Q16213733
relation P102
type Q7210356
The [ANSWER] is Eddie Rodriguez a member of
['Q16213733', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q16213733 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party is Eddie Rodriguez a member of
Democratic Party
action filter_type
action find
entity Eddie Rodriguez
relation member of political party
type political organization
['Eddie Rodriguez', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Eddie_Rodriguez property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16213733
P1412
Q34770
USER
Which language can that person read ?
(Q29552,P1412,c(Q34770))
action filter_type
action find
entity Q16213733
relation P1412
type Q34770
['Q29552', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q16213733 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Eddie Rodriguez
action filter_type
action find
entity Eddie Rodriguez
relation languages spoken, written or signed
type language
['Democratic Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Eddie_Rodriguez property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q29552,P1412,c(Q34770))
action filter_type
action find
entity Q16213733
relation P1412
type Q34770
That person can read the [ANSWER]
['Q29552', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q16213733 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Eddie Rodriguez
relation languages spoken, written or signed
type language
['Democratic Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Eddie_Rodriguez property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were exactly 3 works of art or collectables mainly about ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 . ?p property:P921 ?b } } GROUP BY ?b } . FILTER ( ?c = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 3
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:main_subject ?b . ?b rdf:type ontology:occupation . ?p rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:occupation . ?p rdf:type ontology:collectable . ?p property:main_subject ?b } } GROUP BY ?b } . FILTER ( ?c = 3 ) }
[]
occupation work of art collectable
Q11631 Q937857 Q16003605
SYSTEM
astronaut, association football player, elementary school student
Q11631 Q937857 Q16003605
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 3
The [ANSWERS] were exactly 3 works of art or collectables mainly about
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P921 ?b . ?b rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q2342494 . ?p property:P921 ?b } } GROUP BY ?b } . FILTER ( ?c = 3 ) }
astronaut association football player elementary school student
The astronaut, association football player and elementary school student were exactly 3 works of art or collectables mainly about
astronaut association football player elementary school student
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 3
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:main_subject ?b . ?b rdf:type ontology:occupation . ?p rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:occupation . ?p rdf:type ontology:collectable . ?p property:main_subject ?b } } GROUP BY ?b } . FILTER ( ?c = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q638141 Q16213733
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Eddie Rodriguez or Stanisław Gorczyca ?
OR((Q16213733,P27,c(Q15617994)), (Q638141,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16213733
relation P27
action find
entity Q638141
relation P27
type Q15617994
{'OR': [['Q16213733', 'P27', {'concept': 'Q15617994'}], ['Q638141', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q16213733 property:P27 ?z } UNION { resource:Q638141 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Stanisław Gorczyca Eddie Rodriguez
action filter_type
action union
action find
entity Eddie Rodriguez
relation country of citizenship
action find
entity Stanisław Gorczyca
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eddie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stanisław Gorczyca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Eddie_Rodriguez property:country_of_citizenship ?z } UNION { resource:Stanisław_Gorczyca property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q16213733,P27,c(Q15617994)), (Q638141,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16213733
relation P27
action find
entity Q638141
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Eddie Rodriguez or Stanisław Gorczyca
{'OR': [['Q16213733', 'P27', {'concept': 'Q15617994'}], ['Q638141', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q16213733 property:P27 ?z } UNION { resource:Q638141 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
United States of America Poland
United States of America and Poland are the countries of citizenship of Eddie Rodriguez or Stanisław Gorczyca
United States of America Poland
action filter_type
action union
action find
entity Eddie Rodriguez
relation country of citizenship
action find
entity Stanisław Gorczyca
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eddie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stanisław Gorczyca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Eddie_Rodriguez property:country_of_citizenship ?z } UNION { resource:Stanisław_Gorczyca property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q638141
P19
Q56061
USER
Where was Stanisław Gorczyca born ?
(Q30,P19,c(Q56061)) (Q36,P19,c(Q56061))
action filter_type
action find
entity Q638141
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}] ['Q36', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q638141 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Stanisław Gorczyca
action filter_type
action find
entity Stanisław Gorczyca
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}] ['Poland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Stanisław_Gorczyca property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q995877
SYSTEM
Miłomłyn
Q995877
(Q30,P19,c(Q56061)) (Q36,P19,c(Q56061))
action filter_type
action find
entity Q638141
relation P19
type Q56061
Stanisław Gorczyca was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}] ['Q36', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q638141 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Miłomłyn
Stanisław Gorczyca was born in Miłomłyn
Miłomłyn
action filter_type
action find
entity Stanisław Gorczyca
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}] ['Poland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Stanisław_Gorczyca property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q638141
P106
Q12737077
USER
What is the job of that person ?
(Q995877,P106,c(Q12737077))
action filter_type
action find
entity Q638141
relation P106
type Q12737077
['Q995877', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q638141 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Stanisław Gorczyca
action filter_type
action find
entity Stanisław Gorczyca
relation occupation
type occupation
['Miłomłyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Stanisław_Gorczyca property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q995877,P106,c(Q12737077))
action filter_type
action find
entity Q638141
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q995877', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q638141 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Stanisław Gorczyca
relation occupation
type occupation
['Miłomłyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Stanisław_Gorczyca property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q638141
P21
Q290
USER
What is the sex of that person ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q638141
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q638141 property:P21 ?h . ?h rdf:type ontology:Q290 }
Stanisław Gorczyca
action filter_type
action find
entity Stanisław Gorczyca
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Stanisław_Gorczyca property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q638141
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q638141 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Stanisław Gorczyca
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Stanisław_Gorczyca property:gender ?h . ?h rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6353401 Q30
P57 P6
Q502895
USER
Which people have United States of America as their heads of government or directed Kalki ?
OR((Q30,P6,c(Q502895)), (Q6353401,P57,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q6353401
relation P57
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q6353401', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q30 property:P6 ?v } UNION { resource:Q6353401 property:P57 ?v } } . ?v rdf:type ontology:Q502895 }
Kalki United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Kalki
relation director
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Kalki', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:United_States_of_America property:head_of_government ?v } UNION { resource:Kalki property:director ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q11816 Q12312 Q11806 Q9960 Q35498 Q11613 Q9588 Q36023 Q35041 Q33866
SYSTEM
Some of them are John Quincy Adams, Franklin Pierce, John Adams, Ronald Reagan, Chester A. Arthur, Harry S. Truman, Richard Nixon, Calvin Coolidge, William McKinley, Theodore Roosevelt
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q3520369 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q6353401,P57,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q6353401
relation P57
type Q502895
[ANSWERS] have United States of America as their heads of government or directed Kalki
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q6353401', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q30 property:P6 ?v } UNION { resource:Q6353401 property:P57 ?v } } . ?v rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams K. Balachander Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
John Quincy Adams, Franklin Pierce, John Adams, Ronald Reagan, Chester A. Arthur, Harry S. Truman, Richard Nixon, Calvin Coolidge, William McKinley and Theodore Roosevelt have United States of America as their heads of government or directed Kalki
John Quincy Adams Franklin Pierce John Adams Ronald Reagan Chester A. Arthur Harry S. Truman Richard Nixon Calvin Coolidge William McKinley Theodore Roosevelt
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Kalki
relation director
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Kalki', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:United_States_of_America property:head_of_government ?v } UNION { resource:Kalki property:director ?v } } . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9960
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Ronald Reagan ?
(Q9960,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9960
relation P27
type Q15617994
['Q9960', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q9960 property:P27 ?e }
Ronald Reagan
action count
action filter_type
action find
entity Ronald Reagan
relation country of citizenship
type designation for an administrative territorial entity
['Ronald Reagan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ronald_Reagan property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q9960,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9960
relation P27
type Q15617994
[ANSWER]
['Q9960', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q9960 property:P27 ?e }
United States of America
1
action count
action filter_type
action find
entity Ronald Reagan
relation country of citizenship
type designation for an administrative territorial entity
['Ronald Reagan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ronald_Reagan property:country_of_citizenship ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9960
P40
Q502895
USER
Whose child are that one ?
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q9960 . ?s rdf:type ontology:Q502895 }
Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
SELECT DISTINCT ?s WHERE { ?s property:child resource:Ronald_Reagan . ?s rdf:type ontology:common_name }
[]
common name
Q6990072 Q6114763
SYSTEM
Nelle Wilson Reagan, Jack Reagan
Q6990072 Q6114763
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
[ANSWERS] are that one
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q9960 . ?s rdf:type ontology:Q502895 }
Nelle Wilson Reagan Jack Reagan
Nelle Wilson Reagan and Jack Reagan are that one
Nelle Wilson Reagan Jack Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
SELECT DISTINCT ?s WHERE { ?s property:child resource:Ronald_Reagan . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9960
P39
Q12737077 Q895526
USER
How many occupations and authority organs were the positions held by Ronald Reagan ?
(Q9960,P39,c(Q12737077)) (Q9960,P39,c(Q895526))
action count
action union
action filter_type
action find
entity Q9960
relation P39
type Q12737077
action filter_type
action find
entity Q9960
relation P39
type Q895526
['Q9960', 'P39', {'concept': 'Q12737077'}] ['Q9960', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q9960 property:P39 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q9960 property:P39 ?c . ?c rdf:type ontology:Q895526 } }
Ronald Reagan
action count
action union
action filter_type
action find
entity Ronald Reagan
relation position held
type occupation
action filter_type
action find
entity Ronald Reagan
relation position held
type authority organ
['Ronald Reagan', 'position held', {'concept': 'occupation'}] ['Ronald Reagan', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Ronald_Reagan property:position_held ?c . ?c rdf:type ontology:occupation } UNION { resource:Ronald_Reagan property:position_held ?c . ?c rdf:type ontology:authority_organ } }
[]
occupation authority organ
SYSTEM
1 occupations and 1 authority organs
Q887010 Q11696
(Q9960,P39,c(Q12737077)) (Q9960,P39,c(Q895526))
action count
action union
action filter_type
action find
entity Q9960
relation P39
type Q12737077
action filter_type
action find
entity Q9960
relation P39
type Q895526
[ANSWER]
['Q9960', 'P39', {'concept': 'Q12737077'}] ['Q9960', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q9960 property:P39 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q9960 property:P39 ?c . ?c rdf:type ontology:Q895526 } }
Governor of California President of the United States of America
1 occupations and 1 authority organs
action count
action union
action filter_type
action find
entity Ronald Reagan
relation position held
type occupation
action filter_type
action find
entity Ronald Reagan
relation position held
type authority organ
['Ronald Reagan', 'position held', {'concept': 'occupation'}] ['Ronald Reagan', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Ronald_Reagan property:position_held ?c . ?c rdf:type ontology:occupation } UNION { resource:Ronald_Reagan property:position_held ?c . ?c rdf:type ontology:authority_organ } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9960
P991
Q40231
USER
Where were Ronald Reagan elected successfully from ?
(c(Q40231),P991,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q9960']
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q9960 . ?l rdf:type ontology:Q40231 }
Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Ronald Reagan']
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Ronald_Reagan . ?l rdf:type ontology:election }
[]
election
Q17100425 Q7892825 Q17016751
SYSTEM
United States presidential election in Louisiana, 1984, United States presidential election in Maryland, 1980, United States presidential election in Vermont, 1980
Q17100425 Q7892825 Q17016751 Q17100374 Q17016885 Q17108645 Q7892710 Q7892828 Q17100913 Q17016736 Q17101056 Q17016904 Q5021252 Q7892908 Q7314683 Q7893111 Q17100894 Q17016860 Q17100923 Q17100999 Q17006707 Q17016866 Q17100537 Q17016719 Q17100532 Q17002364 Q17100410 Q16959311 Q7892955 Q7892709 Q17100435 Q7892740 Q17100719 Q17101023 Q17100612 Q16158991 Q17100592 Q7892973 Q17100903 Q7892971 Q20311882 Q7892850 Q7892874 Q17100597 Q17100887 Q16161085 Q17016817 Q17100789 Q16158980 Q17016835 Q17100982 Q17100561 Q17007083 Q17100713 Q17001977 Q5021251 Q17100542 Q17100362 Q16959302 Q17100366 Q17100402 Q17100386 Q17090699
(c(Q40231),P991,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P991
type Q40231
[ANSWERS]
[{'concept': 'Q40231'}, 'P991', 'Q9960']
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q9960 . ?l rdf:type ontology:Q40231 }
United States presidential election in Louisiana, 1984 United States presidential election in Maryland, 1980 United States presidential election in Vermont, 1980 United States presidential election in Idaho, 1984 United States presidential election in Wisconsin, 1984 United States presidential election in Iowa, 1984 United States presidential election in California, 1984 United States presidential election in Maryland, 1984 United States presidential election in Oklahoma, 1984 United States presidential election in Utah, 1980 United States presidential election in Texas, 1984 United States presidential election in Wyoming, 1984 California gubernatorial election, 1970 United States presidential election in Montana, 1980 Republican Party presidential primaries, 1984 United States presidential election in Vermont, 1984 United States presidential election in North Dakota, 1984 United States presidential election in Washington (state), 1984 United States presidential election in Oregon, 1984 United States presidential election in South Dakota, 1984 United States presidential election in Georgia, 1984 United States presidential election in West Virginia, 1984 United States presidential election in Massachusetts, 1984 United States presidential election in Minnesota, 1980 United States presidential election in Massachusetts, 1980 United States presidential election in Arkansas, 1984 United States presidential election in Kentucky, 1984 United States presidential election in Connecticut, 1984 United States presidential election in New York, 1984 United States presidential election in California, 1980 United States presidential election in Maine, 1984 United States presidential election in Florida, 1980 United States presidential election in New Jersey, 1984 United States presidential election in Tennessee, 1984 United States presidential election in Nevada, 1984 United States presidential election in Alaska, 1984 United States presidential election in Montana, 1984 United States presidential election in North Carolina, 1984 United States presidential election in Ohio, 1984 United States presidential election in North Carolina, 1980 United States presidential election in Arkansas, 1980 United States presidential election in Minnesota, 1984 United States presidential election in Missouri, 1984 United States presidential election in Nebraska, 1984 United States presidential election in New York, 1980 United States presidential election in Arizona, 1984 United States presidential election in Utah, 1984 United States presidential election in New Mexico, 1984 United States presidential election in Alaska, 1980 United States presidential election in Virginia, 1984 United States presidential election in South Carolina, 1984 United States presidential election in Mississippi, 1984 United States presidential election in Delaware, 1984 United States presidential election in New Jersey, 1980 United States presidential election in Alabama, 1984 California gubernatorial election, 1966 United States presidential election in Michigan, 1984 United States presidential election in Florida, 1984 United States presidential election in Colorado, 1984 United States presidential election in Hawaii, 1984 United States presidential election in Kansas, 1984 United States presidential election in Illinois, 1984 United States presidential election in Rhode Island, 1984
Successfully from the United States presidential election in Louisiana, 1984, United States presidential election in Maryland, 1980 and United States presidential election in Vermont, 1980 Ronald Reagan were elected
United States presidential election in Louisiana, 1984 United States presidential election in Maryland, 1980 United States presidential election in Vermont, 1980
action filter_type
action find_reverse
entity Ronald Reagan
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Ronald Reagan']
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Ronald_Reagan . ?l rdf:type ontology:election }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17100425
P17
Q15617994
USER
Which administrative territory is that election a part of ?
(Q17100425,P17,c(Q15617994))
action filter_type
action find
entity Q17100425
relation P17
type Q15617994
['Q17100425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q17100425 property:P17 ?x }
United States presidential election in Louisiana, 1984
action filter_type
action find
entity United States presidential election in Louisiana, 1984
relation country
type designation for an administrative territorial entity
['United States presidential election in Louisiana, 1984', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_presidential_election_in_Louisiana,_1984 property:country ?x }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7892825
SYSTEM
Did you mean United States presidential election in Maryland, 1980 ?
Q17100425 Q7892825 Q17016751
(Q17100425,P17,c(Q15617994)) (Q7892825,P17,c(Q15617994)) (Q17016751,P17,c(Q15617994))
[ANSWER]
['Q17100425', 'P17', {'concept': 'Q15617994'}] ['Q7892825', 'P17', {'concept': 'Q15617994'}] ['Q17016751', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q17100425 property:P17 ?x }
United States presidential election in Louisiana, 1984 United States presidential election in Maryland, 1980 United States presidential election in Vermont, 1980
Did you mean United States presidential election in Maryland, 1980 ?
United States presidential election in Maryland, 1980
['United States presidential election in Louisiana, 1984', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States presidential election in Maryland, 1980', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States presidential election in Vermont, 1980', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_presidential_election_in_Louisiana,_1984 property:country ?x }
[]
Simple Question (Coreferenced)
USER
No, I meant United States presidential election in Louisiana, 1984. Could you tell me the answer for that?
(Q17100425,P17,c(Q15617994))
Q17100425
['Q17100425', 'P17', {'concept': 'Q15617994'}]
['United States presidential election in Louisiana, 1984', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q17100425,P17,c(Q15617994))
action filter_type
action find
entity Q17100425
relation P17
type Q15617994
The [ANSWER] is that election a part of
['Q17100425', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q17100425 property:P17 ?x }
United States of America
The United States of America is that election a part of
United States of America
action filter_type
action find
entity United States presidential election in Louisiana, 1984
relation country
type designation for an administrative territorial entity
['United States presidential election in Louisiana, 1984', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_presidential_election_in_Louisiana,_1984 property:country ?x }
[]