Simple Question (Direct)
Simple Question
Q155392
P106
Q12737077
USER
What is the job of Georgi Kiknadze ?
(Q155392,P106,c(Q12737077))
action filter_type
action find
entity Q155392
relation P106
type Q12737077
['Q155392', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q155392 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Georgi Kiknadze
action filter_type
action find
entity Georgi Kiknadze
relation occupation
type occupation
['Georgi Kiknadze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Georgi_Kiknadze property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q155392,P106,c(Q12737077))
action filter_type
action find
entity Q155392
relation P106
type Q12737077
The job of Georgi Kiknadze is an [ANSWER]
['Q155392', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q155392 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The job of Georgi Kiknadze is an association football player
association football player
action filter_type
action find
entity Georgi Kiknadze
relation occupation
type occupation
['Georgi Kiknadze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Georgi_Kiknadze property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155392
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q155392
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q155392 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Georgi Kiknadze
action filter_type
action find
entity Georgi Kiknadze
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Georgi_Kiknadze property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q155392
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q155392 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Georgia
That person belongs to a Georgia
Georgia
action filter_type
action find
entity Georgi Kiknadze
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Georgi_Kiknadze property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around 12 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?r ) WHERE { ?e property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?r = 12 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?r ) WHERE { ?e property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?r = 12 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
29
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q822 Q241 Q31 Q27 Q222 Q347 Q17 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?r ) WHERE { ?e property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?r = 12 ) }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Lebanon Cuba Belgium Ireland Albania Liechtenstein Japan Czech Republic Angola Egypt Libya Cape Verde Zambia
29
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?r ) WHERE { ?e property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?r = 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q230 Q362
P137
Q2235308
USER
How many ship types were operated by Georgia or World War II ?
(c(Q2235308),P137,Q230) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q230
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q230'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z property:P137 resource:Q230 . ?z rdf:type ontology:Q2235308 } UNION { ?z property:P137 resource:Q362 . ?z rdf:type ontology:Q2235308 } }
Georgia World War II
action count
action union
action filter_type
action find_reverse
entity Georgia
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Georgia'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z property:operator resource:Georgia . ?z rdf:type ontology:ship_type } UNION { ?z property:operator resource:World_War_II . ?z rdf:type ontology:ship_type } }
[]
ship type
SYSTEM
4
Q11705699 Q7500115 Q11708758 Q5115983
(c(Q2235308),P137,Q230) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q230
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q230'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z property:P137 resource:Q230 . ?z rdf:type ontology:Q2235308 } UNION { ?z property:P137 resource:Q362 . ?z rdf:type ontology:Q2235308 } }
Toku Daihatsu-class landing craft Shohatsu class landing craft Moku Daihatsu-class landing craft Chuhatsu class landing craft
4
action count
action union
action filter_type
action find_reverse
entity Georgia
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Georgia'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z property:operator resource:Georgia . ?z rdf:type ontology:ship_type } UNION { ?z property:operator resource:World_War_II . ?z rdf:type ontology:ship_type } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q16979650 Q6619679
USER
How many sibling groups or fictional humanoids have the profession as association football player ?
(c(Q16979650),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:Q16979650 . ?f property:P106 resource:Q937857 } UNION { ?f property:P106 resource:Q937857 . ?f rdf:type ontology:Q6619679 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:sibling_group . ?f property:occupation resource:association_football_player } UNION { ?f property:occupation resource:association_football_player . ?f rdf:type ontology:fictional_humanoid } }
[]
sibling group fictional humanoid
SYSTEM
25
Q8994224 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q1000560 Q7384370 Q6163280 Q5049092 Q1000043 Q7626893 Q6371793 Q2939461 Q7937796 Q5136888 Q3482651 Q6701906 Q5195672 Q6027090 Q4913115 Q5360264 Q5489814
(c(Q16979650),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[ANSWER]
[{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:Q16979650 . ?f property:P106 resource:Q937857 } UNION { ?f property:P106 resource:Q937857 . ?f rdf:type ontology:Q6619679 } }
Lee Presley Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Hikaru Matsuyama Ryan Naysmith Jason Porter Casper Rose Ken Wakashimazu Stuart Naysmith Karl Fletcher Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Luke Davenport Curtis Alexander Milija and Pavle Bakić Billy O'Neil Eli Knox Frank Stone
25
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:sibling_group . ?f property:occupation resource:association_football_player } UNION { ?f property:occupation resource:association_football_player . ?f rdf:type ontology:fictional_humanoid } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q701632 Q11204 Q12737077
USER
Which occupations did atleast 1 municipal councils and legislatures appoint ?
(c(Q12737077),P748,c(Q701632)|c(Q11204))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } . ?g rdf:type ?m } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:municipal_council ) ( ontology:legislature ) } . ?g rdf:type ?m } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
[]
municipal council legislature occupation
Q655407 Q4122271 Q26000995
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, President of the Parliament of Catalonia
Q20748656 Q20890913 Q11793630 Q21371106 Q21013169 Q20872382 Q20872273 Q655407 Q20891385 Q21384866 Q596123 Q20194364 Q21383592 Q1043568 Q20859388 Q20867550 Q866680 Q20872296 Q26000995 Q4122271 Q20872339 Q26209358 Q20992515 Q26721218
(c(Q12737077),P748,c(Q701632)|c(Q11204))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
Atleast 1 municipal councils and legislatures appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } . ?g rdf:type ?m } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
municipal executive of Zoetermeer municipal executive of Eindhoven governor of national banks of Serbia and Yugoslavia municipal executive of Amersfoort municipal executive of The Hague municipal executive of Coevorden municipal executive of Boxmeer President of the People's Republic of China municipal executive of Deventer municipal executive of Rotterdam president of Bangladesh municipal executive of Amsterdam municipal executive of Haarlem Prime Minister of Vietnam municipal executive of Mierlo municipal executive of Gorinchem President of Vietnam municipal executive of Almere President of the Parliament of Catalonia Premier of the People's Republic of China municipal executive of Woerden municipal executive of Warffum municipal executive of Utrecht municipal executive of Almere
Atleast 1 municipal councils and legislatures appointed by President of the People's Republic of China, Premier of the People's Republic of China and President of the Parliament of Catalonia
President of the People's Republic of China Premier of the People's Republic of China President of the Parliament of Catalonia
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:municipal_council ) ( ontology:legislature ) } . ?g rdf:type ?m } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q655407 Q4122271 Q26000995
P39
Q502895
USER
Which people were responsible for occupying the position of President of the People's Republic of China, Premier of the People's Republic of China and President of the Parliament of Catalonia ?
(c(Q502895),P39,Q655407) (c(Q502895),P39,Q4122271) (c(Q502895),P39,Q26000995)
action union
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
action filter_type
action find_reverse
entity Q4122271
relation P39
type Q502895
action filter_type
action find_reverse
entity Q26000995
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q655407'] [{'concept': 'Q502895'}, 'P39', 'Q4122271'] [{'concept': 'Q502895'}, 'P39', 'Q26000995']
SELECT DISTINCT ?g WHERE { { ?g property:P39 resource:Q655407 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P39 resource:Q4122271 } }
President of the People's Republic of China Premier of the People's Republic of China President of the Parliament of Catalonia
action union
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
action filter_type
action find_reverse
entity Premier of the People's Republic of China
relation position held
type common name
action filter_type
action find_reverse
entity President of the Parliament of Catalonia
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"] [{'concept': 'common name'}, 'position held', "Premier of the People's Republic of China"] [{'concept': 'common name'}, 'position held', 'President of the Parliament of Catalonia']
SELECT DISTINCT ?g WHERE { { ?g property:position_held resource:President_of_the_People's_Republic_of_China . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:position_held resource:Premier_of_the_People's_Republic_of_China } }
[]
common name
Q5816 Q17132 Q15031
SYSTEM
Mao Zedong, Soong Ching-ling, Xi Jinping
Q311413 Q17132 Q377935 Q15031 Q15029 Q16988 Q968038 Q5816 Q16597 Q17410 Q18111 Q18301 Q18285 Q99829 Q41570 Q16628 Q171194 Q2681411
(c(Q502895),P39,Q655407) (c(Q502895),P39,Q4122271) (c(Q502895),P39,Q26000995)
action union
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
action filter_type
action find_reverse
entity Q4122271
relation P39
type Q502895
action filter_type
action find_reverse
entity Q26000995
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of President of the People's Republic of China, Premier of the People's Republic of China and President of the Parliament of Catalonia
[{'concept': 'Q502895'}, 'P39', 'Q655407'] [{'concept': 'Q502895'}, 'P39', 'Q4122271'] [{'concept': 'Q502895'}, 'P39', 'Q26000995']
SELECT DISTINCT ?g WHERE { { ?g property:P39 resource:Q655407 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P39 resource:Q4122271 } }
Li Xiannian Soong Ching-ling Yang Shangkun Xi Jinping Hu Jintao Liu Shaoqi Dong Biwu Mao Zedong Jiang Zemin Zhou Enlai Li Keqiang Li Peng Zhu Rongji Zhao Ziyang Hua Guofeng Wen Jiabao Núria de Gispert Carme Forcadell
Mao Zedong, Soong Ching-ling and Xi Jinping were responsible for occupying the position of President of the People's Republic of China, Premier of the People's Republic of China and President of the Parliament of Catalonia
Mao Zedong Soong Ching-ling Xi Jinping
action union
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
action filter_type
action find_reverse
entity Premier of the People's Republic of China
relation position held
type common name
action filter_type
action find_reverse
entity President of the Parliament of Catalonia
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"] [{'concept': 'common name'}, 'position held', "Premier of the People's Republic of China"] [{'concept': 'common name'}, 'position held', 'President of the Parliament of Catalonia']
SELECT DISTINCT ?g WHERE { { ?g property:position_held resource:President_of_the_People's_Republic_of_China . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:position_held resource:Premier_of_the_People's_Republic_of_China } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17132
P26
Q502895
USER
Which person is married to that one ?
(Q17132,P26,c(Q502895))
action filter_type
action find
entity Q17132
relation P26
type Q502895
['Q17132', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q17132 property:P26 ?k }
Soong Ching-ling
action filter_type
action find
entity Soong Ching-ling
relation spouse
type common name
['Soong Ching-ling', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Soong_Ching-ling property:spouse ?k }
[]
common name
Clarification for simple ques.
Q5816
SYSTEM
Did you mean Mao Zedong ?
Q5816 Q17132 Q15031
(Q5816,P26,c(Q502895)) (Q17132,P26,c(Q502895)) (Q15031,P26,c(Q502895))
[ANSWER]
['Q5816', 'P26', {'concept': 'Q502895'}] ['Q17132', 'P26', {'concept': 'Q502895'}] ['Q15031', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q17132 property:P26 ?k }
Mao Zedong Soong Ching-ling Xi Jinping
Did you mean Mao Zedong ?
Mao Zedong
['Mao Zedong', 'spouse', {'concept': 'common name'}] ['Soong Ching-ling', 'spouse', {'concept': 'common name'}] ['Xi Jinping', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Soong_Ching-ling property:spouse ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant Soong Ching-ling. Could you tell me the answer for that?
(Q17132,P26,c(Q502895))
Q17132
['Q17132', 'P26', {'concept': 'Q502895'}]
['Soong Ching-ling', 'spouse', {'concept': 'common name'}]
[]
Q8573
SYSTEM
Sun Yat-sen
Q8573
(Q17132,P26,c(Q502895))
action filter_type
action find
entity Q17132
relation P26
type Q502895
[ANSWER] is married to that one
['Q17132', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q17132 property:P26 ?k }
Sun Yat-sen
Sun Yat-sen is married to that one
Sun Yat-sen
action filter_type
action find
entity Soong Ching-ling
relation spouse
type common name
['Soong Ching-ling', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Soong_Ching-ling property:spouse ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6244748
P248
Q1914636 Q191067 Q502895
USER
Which people have been stated in less number of activities or articles than John Lewis ?
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6244748
relation P248
type Q1914636
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e property:P248 ?p . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1914636 } UNION { ?e property:P248 ?p . ?p rdf:type ontology:Q191067 . ?e rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q6244748 property:P248 ?y . { VALUES ( ?i ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } . ?y rdf:type ?i } } } . FILTER ( ?g < ?d ) }
John Lewis
action less
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Lewis
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e property:stated_in ?p . ?e rdf:type ontology:common_name . ?p rdf:type ontology:activity } UNION { ?e property:stated_in ?p . ?p rdf:type ontology:article . ?e rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:John_Lewis property:stated_in ?y . { VALUES ( ?i ) { ( ontology:article ) ( ontology:activity ) } . ?y rdf:type ?i } } } . FILTER ( ?g < ?d ) }
[]
activity article common name
Q6251897 Q6255286 Q6260652
SYSTEM
John Parker, John Robinson, John Thompson
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6244748
relation P248
type Q1914636
type Q191067
[ANSWERS] have been stated in less number of activities or articles than John Lewis
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e property:P248 ?p . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1914636 } UNION { ?e property:P248 ?p . ?p rdf:type ontology:Q191067 . ?e rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q6244748 property:P248 ?y . { VALUES ( ?i ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } . ?y rdf:type ?i } } } . FILTER ( ?g < ?d ) }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Bell James Brown Shelby Harris William Williams John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Rogers John Williams John Williams John Williams Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
John Parker, John Robinson and John Thompson have been stated in less number of activities or articles than John Lewis
John Parker John Robinson John Thompson
action less
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Lewis
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?e property:stated_in ?p . ?e rdf:type ontology:common_name . ?p rdf:type ontology:activity } UNION { ?e property:stated_in ?p . ?p rdf:type ontology:article . ?e rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:John_Lewis property:stated_in ?y . { VALUES ( ?i ) { ( ontology:article ) ( ontology:activity ) } . ?y rdf:type ?i } } } . FILTER ( ?g < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6255417
P248
Q1914636 Q191067 Q502895
USER
And how about John Rogers?
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6255417
relation P248
type Q1914636
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q6255417 property:P248 ?h . { { ?h rdf:type ontology:Q1914636 } UNION { ?h rdf:type ontology:Q191067 } } } } . FILTER ( ?v < ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?v ) WHERE { { ?y property:P248 ?l . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q1914636 } UNION { ?y property:P248 ?l . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q191067 } } GROUP BY ?y } }
John Rogers
action less
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Rogers
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:John_Rogers property:stated_in ?h . { { ?h rdf:type ontology:activity } UNION { ?h rdf:type ontology:article } } } } . FILTER ( ?v < ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?v ) WHERE { { ?y property:stated_in ?l . ?y rdf:type ontology:common_name . ?l rdf:type ontology:activity } UNION { ?y property:stated_in ?l . ?y rdf:type ontology:common_name . ?l rdf:type ontology:article } } GROUP BY ?y } }
[]
activity article common name
Q6251897 Q6255286 Q6260652
SYSTEM
John Parker, John Robinson, John Thompson
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6255417
relation P248
type Q1914636
type Q191067
[ANSWERS]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q6255417 property:P248 ?h . { { ?h rdf:type ontology:Q1914636 } UNION { ?h rdf:type ontology:Q191067 } } } } . FILTER ( ?v < ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?v ) WHERE { { ?y property:P248 ?l . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q1914636 } UNION { ?y property:P248 ?l . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q191067 } } GROUP BY ?y } }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Bell James Brown Shelby Harris William Williams John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Rogers John Williams John Williams John Williams Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
John Parker John Robinson John Thompson
action less
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Rogers
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:John_Rogers property:stated_in ?h . { { ?h rdf:type ontology:activity } UNION { ?h rdf:type ontology:article } } } } . FILTER ( ?v < ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?v ) WHERE { { ?y property:stated_in ?l . ?y rdf:type ontology:common_name . ?l rdf:type ontology:activity } UNION { ?y property:stated_in ?l . ?y rdf:type ontology:common_name . ?l rdf:type ontology:article } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6251897 Q6255286 Q6260652
P106
Q12737077
USER
What are the professions of John Parker, John Robinson and John Thompson ?
(Q6251897,P106,c(Q12737077)) (Q6255286,P106,c(Q12737077)) (Q6260652,P106,c(Q12737077))
action union
action filter_type
action find
entity Q6251897
relation P106
type Q12737077
action filter_type
action find
entity Q6255286
relation P106
type Q12737077
action filter_type
action find
entity Q6260652
relation P106
type Q12737077
['Q6251897', 'P106', {'concept': 'Q12737077'}] ['Q6255286', 'P106', {'concept': 'Q12737077'}] ['Q6260652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { resource:Q6255286 property:P106 ?e . ?e rdf:type ontology:Q12737077 } UNION { resource:Q6251897 property:P106 ?e . ?e rdf:type ontology:Q12737077 } }
John Parker John Robinson John Thompson
action union
action filter_type
action find
entity John Parker
relation occupation
type occupation
action filter_type
action find
entity John Robinson
relation occupation
type occupation
action filter_type
action find
entity John Thompson
relation occupation
type occupation
['John Parker', 'occupation', {'concept': 'occupation'}] ['John Robinson', 'occupation', {'concept': 'occupation'}] ['John Thompson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { resource:John_Robinson property:occupation ?e . ?e rdf:type ontology:occupation } UNION { resource:John_Parker property:occupation ?e . ?e rdf:type ontology:occupation } }
[]
occupation
Q82955 Q937857 Q937857
SYSTEM
politician for 1st, association football player for 2nd, 3rd
Q82955 Q937857 Q937857
(Q6251897,P106,c(Q12737077)) (Q6255286,P106,c(Q12737077)) (Q6260652,P106,c(Q12737077))
action union
action filter_type
action find
entity Q6251897
relation P106
type Q12737077
action filter_type
action find
entity Q6255286
relation P106
type Q12737077
action filter_type
action find
entity Q6260652
relation P106
type Q12737077
[ANSWERS]
['Q6251897', 'P106', {'concept': 'Q12737077'}] ['Q6255286', 'P106', {'concept': 'Q12737077'}] ['Q6260652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { resource:Q6255286 property:P106 ?e . ?e rdf:type ontology:Q12737077 } UNION { resource:Q6251897 property:P106 ?e . ?e rdf:type ontology:Q12737077 } }
politician association football player association football player
The professions of John Parker , John Robinson and John are a politician, association football player and association football player
politician association football player association football player
action union
action filter_type
action find
entity John Parker
relation occupation
type occupation
action filter_type
action find
entity John Robinson
relation occupation
type occupation
action filter_type
action find
entity John Thompson
relation occupation
type occupation
['John Parker', 'occupation', {'concept': 'occupation'}] ['John Robinson', 'occupation', {'concept': 'occupation'}] ['John Thompson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { resource:John_Robinson property:occupation ?e . ?e rdf:type ontology:occupation } UNION { resource:John_Parker property:occupation ?e . ?e rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6251897
P21
Q290
USER
Which sex does that person possess ?
(Q6251897,P21,c(Q290))
action filter_type
action find
entity Q6251897
relation P21
type Q290
['Q6251897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6251897 property:P21 ?k . ?k rdf:type ontology:Q290 }
John Parker
action filter_type
action find
entity John Parker
relation gender
type sex
['John Parker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:John_Parker property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q6251897
SYSTEM
Did you mean John Parker ?
Q82955 Q937857 Q937857
(Q82955,P21,c(Q290)) (Q937857,P21,c(Q290)) (Q937857,P21,c(Q290))
[ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6251897 property:P21 ?k . ?k rdf:type ontology:Q290 }
politician association football player association football player
Did you mean John Parker ?
John Parker
['politician', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:John_Parker property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6251897,P21,c(Q290))
['Q6251897', 'P21', {'concept': 'Q290'}]
['John Parker', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q6251897,P21,c(Q290))
action filter_type
action find
entity Q6251897
relation P21
type Q290
That person possesses a [ANSWER]
['Q6251897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6251897 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity John Parker
relation gender
type sex
['John Parker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:John_Parker property:gender ?k . ?k rdf:type ontology:sex }
[]