Simple Question (Direct)
Simple Question
Q609172
P39
Q12737077
USER
Which occupation was a position for which Roland Burris was appointed ?
(Q609172,P39,c(Q12737077))
action filter_type
action find
entity Q609172
relation P39
type Q12737077
['Q609172', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q609172 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Roland Burris
action filter_type
action find
entity Roland Burris
relation position held
type occupation
['Roland Burris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Roland_Burris property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q13217683
SYSTEM
United States Senator
Q13217683
(Q609172,P39,c(Q12737077))
action filter_type
action find
entity Q609172
relation P39
type Q12737077
The [ANSWER] was a position for which Roland Burris was appointed
['Q609172', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q609172 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
United States Senator
The United States Senator was a position for which Roland Burris was appointed
United States Senator
action filter_type
action find
entity Roland Burris
relation position held
type occupation
['Roland Burris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Roland_Burris property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q609172
P102
Q7210356
USER
Which party is Roland Burris affiliated with ?
(Q609172,P102,c(Q7210356))
action filter_type
action find
entity Q609172
relation P102
type Q7210356
['Q609172', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q609172 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Roland Burris
action filter_type
action find
entity Roland Burris
relation member of political party
type political organization
['Roland Burris', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Roland_Burris property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q609172,P102,c(Q7210356))
action filter_type
action find
entity Q609172
relation P102
type Q7210356
Roland Burris is affiliated with [ANSWER]
['Q609172', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q609172 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Democratic Party
Roland Burris is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Roland Burris
relation member of political party
type political organization
['Roland Burris', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Roland_Burris property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29552 Q11194042
P102
Q502895
USER
Is Fenita Arie a member of that political organization ?
(Q11194042,P102,Q29552)
action is_in
entity Q11194042
action find
entity Q29552
relation P102
['Q11194042', 'P102', 'Q29552']
ASK WHERE { resource:Q29552 property:P102 resource:Q11194042 }
Democratic Party Fenita Arie
action is_in
entity Fenita Arie
action find
entity Democratic Party
relation member of political party
['Fenita Arie', 'member of political party', 'Democratic Party']
ASK WHERE { resource:Democratic_Party property:member_of_political_party resource:Fenita_Arie }
[]
common name
SYSTEM
NO
(Q11194042,P102,Q29552)
action is_in
entity Q11194042
action find
entity Q29552
relation P102
[ANSWER]
['Q11194042', 'P102', 'Q29552']
ASK WHERE { resource:Q29552 property:P102 resource:Q11194042 }
No
action is_in
entity Fenita Arie
action find
entity Democratic Party
relation member of political party
['Fenita Arie', 'member of political party', 'Democratic Party']
ASK WHERE { resource:Democratic_Party property:member_of_political_party resource:Fenita_Arie }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P17
Q15617994
USER
Which administrative territory is Democratic Party located in ?
(Q29552,P17,c(Q15617994))
action filter_type
action find
entity Q29552
relation P17
type Q15617994
['Q29552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q29552 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Democratic Party
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Democratic_Party property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q29552,P17,c(Q15617994))
action filter_type
action find
entity Q29552
relation P17
type Q15617994
Which administrative territory is Democratic Party located in
['Q29552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q29552 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Democratic Party located in
United States of America
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Democratic_Party property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q11891 Q23505
P6
Q502895
USER
Is James K. Polk and George H. W. Bush the head of the goverment of Q30 ?
(Q30,P6,Q11891) (Q30,P6,Q23505)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11891
relation P6
action find_reverse
entity Q23505
relation P6
['Q30', 'P6', 'Q11891'] ['Q30', 'P6', 'Q23505']
ASK WHERE { resource:Q30 property:P6 resource:Q11891 . resource:Q30 property:P6 resource:Q23505 }
United States of America James K. Polk George H. W. Bush
action is_in
entity United States of America
action intersection
action find_reverse
entity James K. Polk
relation head of government
action find_reverse
entity George H. W. Bush
relation head of government
['United States of America', 'head of government', 'James K. Polk'] ['United States of America', 'head of government', 'George H. W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_K._Polk . resource:United_States_of_America property:head_of_government resource:George_H._W._Bush }
[]
common name
SYSTEM
YES
(Q30,P6,Q11891) (Q30,P6,Q23505)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11891
relation P6
action find_reverse
entity Q23505
relation P6
[ANSWER]
['Q30', 'P6', 'Q11891'] ['Q30', 'P6', 'Q23505']
ASK WHERE { resource:Q30 property:P6 resource:Q11891 . resource:Q30 property:P6 resource:Q23505 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity James K. Polk
relation head of government
action find_reverse
entity George H. W. Bush
relation head of government
['United States of America', 'head of government', 'James K. Polk'] ['United States of America', 'head of government', 'George H. W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_K._Polk . resource:United_States_of_America property:head_of_government resource:George_H._W._Bush }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q609172 Q4775153
P69
Q163740
USER
Is Roland Burris an alumni of Antiquarian Booksellers Association of Korea ?
(Q609172,P69,Q4775153)
action is_in
entity Q4775153
action find
entity Q609172
relation P69
['Q609172', 'P69', 'Q4775153']
ASK WHERE { resource:Q609172 property:P69 resource:Q4775153 }
Roland Burris Antiquarian Booksellers Association of Korea
action is_in
entity Antiquarian Booksellers Association of Korea
action find
entity Roland Burris
relation educated at
['Roland Burris', 'educated at', 'Antiquarian Booksellers Association of Korea']
ASK WHERE { resource:Roland_Burris property:educated_at resource:Antiquarian_Booksellers_Association_of_Korea }
[]
nonprofit organization
SYSTEM
NO
(Q609172,P69,Q4775153)
action is_in
entity Q4775153
action find
entity Q609172
relation P69
[ANSWER]
['Q609172', 'P69', 'Q4775153']
ASK WHERE { resource:Q609172 property:P69 resource:Q4775153 }
No
action is_in
entity Antiquarian Booksellers Association of Korea
action find
entity Roland Burris
relation educated at
['Roland Burris', 'educated at', 'Antiquarian Booksellers Association of Korea']
ASK WHERE { resource:Roland_Burris property:educated_at resource:Antiquarian_Booksellers_Association_of_Korea }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29552 Q4828177 Q61
P159
Q56061
USER
Does Democratic Party have headquarters located at Kurudere and Washington, D.C. ?
(Q29552,P159,Q4828177) (Q29552,P159,Q61)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q4828177
relation P159
action find_reverse
entity Q61
relation P159
['Q29552', 'P159', 'Q4828177'] ['Q29552', 'P159', 'Q61']
ASK WHERE { resource:Q29552 property:P159 resource:Q4828177 . resource:Q29552 property:P159 resource:Q61 }
Democratic Party Kurudere Washington, D.C.
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Kurudere
relation headquarters location
action find_reverse
entity Washington, D.C.
relation headquarters location
['Democratic Party', 'headquarters location', 'Kurudere'] ['Democratic Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Democratic_Party property:headquarters_location resource:Kurudere . resource:Democratic_Party property:headquarters_location resource:Washington,_D.C. }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q29552,P159,Q4828177) (Q29552,P159,Q61)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q4828177
relation P159
action find_reverse
entity Q61
relation P159
[ANSWER]
['Q29552', 'P159', 'Q4828177'] ['Q29552', 'P159', 'Q61']
ASK WHERE { resource:Q29552 property:P159 resource:Q4828177 . resource:Q29552 property:P159 resource:Q61 }
NO and YES respectively
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Kurudere
relation headquarters location
action find_reverse
entity Washington, D.C.
relation headquarters location
['Democratic Party', 'headquarters location', 'Kurudere'] ['Democratic Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Democratic_Party property:headquarters_location resource:Kurudere . resource:Democratic_Party property:headquarters_location resource:Washington,_D.C. }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3462133
P1376
Q15617994 Q56061 Q515
USER
How many administrative territories have less number of administrative territories and cities have their center of administration than Saxe-Coburg and Gotha ?
(c(Q56061)|c(Q515),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q3462133
relation P1376
type Q56061
type Q515
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?c ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?h } GROUP BY ?z } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P1376 resource:Q3462133 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q515 } } } } }
Saxe-Coburg and Gotha
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Saxe-Coburg and Gotha
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?c ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?h } GROUP BY ?z } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:capital_of resource:Saxe-Coburg_and_Gotha . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:city } } } } }
[]
designation for an administrative territorial entity administrative territorial entity city
SYSTEM
128
Q12631 Q3368 Q1111401 Q3044731 Q12689 Q2527360 Q699731 Q3377 Q3372 Q3093 Q3259 Q2528268 Q12594 Q739 Q733 Q12574 Q12798 Q12792 Q1284 Q541811 Q1458 Q12700 Q12703 Q12709 Q12569 Q12642 Q3216 Q3194 Q541589 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q731547 Q33788 Q709 Q12740 Q12745 Q12779 Q12607 Q290739 Q12789 Q1452646 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q3148 Q280312 Q492437 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q686312 Q697 Q12730 Q12736 Q1270568 Q12657 Q12652 Q12556 Q694594 Q874 Q176 Q12816 Q3353 Q3357 Q389004 Q492430 Q3278 Q3184 Q239502 Q2900529 Q12772 Q1090678 Q1999970 Q155019 Q107426 Q511365 Q598193 Q1270623 Q10957559 Q965 Q962 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q474421 Q3349 Q3083 Q3249 Q34762 Q12761 Q12765 Q1443 Q224 Q691265 Q313175 Q3334 Q12572 Q12576 Q12578 Q12679 Q3514973 Q3113 Q1234961 Q1222 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q56061)|c(Q515),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q3462133
relation P1376
type Q56061
type Q515
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?c ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?h } GROUP BY ?z } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P1376 resource:Q3462133 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q515 } } } } }
Meuse Essonne Kispest District Guyane Pas-de-Calais Stura Wied Eure-et-Loir Eure Aisne Cantal Mont-Blanc Marne Colombia Paraguay Loiret Vendée Vaucluse Abruzzo Ems-Oriental Calabria Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Morbihan Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Corrèze Cher Charente Vosges Lippe New Caledonia Marshall Islands Sarthe Savoie Tarn-et-Garonne Haute-Marne Sesia Var Montenotte Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Ardèche Principality of Lüneburg Bouches-du-Weser Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Duchy of Amalfi Nauru Haute-Saône Saône-et-Loire Ems Nièvre Moselle Indre-et-Loire Bremen-Verden Turkmenistan Quebec Yonne Creuse Dordogne Wallachia Bouches-de-l'Elbe Charente-Maritime Ariège Kingdom of Galicia–Volhynia Bezirk Lothringen Tarn Sègre Upper Alsace Duchy of Lorraine Anjou Arvika Municipality Apennins Meurthe Moldavia Burkina Faso Benin Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Principality of Fürstenberg Côtes-d'Armor Ain Calvados Principality of Bayreuth Seine-Saint-Denis Deux-Sèvres Molise Croatia Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Tanaro Allier Doire Aosta Valley Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
128
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Saxe-Coburg and Gotha
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?c ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?h } GROUP BY ?z } . FILTER ( ?c < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:capital_of resource:Saxe-Coburg_and_Gotha . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:city } } } } }
[]