Simple Question (Direct)
Simple Question
Q2502692
P793
Q151885
USER
What is a significant event associated with Vera Chirwa ?
(Q2502692,P793,c(Q151885))
action filter_type
action find
entity Q2502692
relation P793
type Q151885
['Q2502692', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2502692 property:P793 ?f . ?f rdf:type ontology:Q151885 }
Vera Chirwa
action filter_type
action find
entity Vera Chirwa
relation significant event
type concept
['Vera Chirwa', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Vera_Chirwa property:significant_event ?f . ?f rdf:type ontology:concept }
[]
concept
Q4667873
SYSTEM
prisoner of conscience
Q4667873
(Q2502692,P793,c(Q151885))
action filter_type
action find
entity Q2502692
relation P793
type Q151885
A significant event associated with Vera Chirwa is a [ANSWER]
['Q2502692', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2502692 property:P793 ?f . ?f rdf:type ontology:Q151885 }
prisoner of conscience
A significant event associated with Vera Chirwa is a prisoner of conscience
prisoner of conscience
action filter_type
action find
entity Vera Chirwa
relation significant event
type concept
['Vera Chirwa', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Vera_Chirwa property:significant_event ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2502692
P26
Q502895
USER
Who is married to Vera Chirwa ?
(Q2502692,P26,c(Q502895))
action filter_type
action find
entity Q2502692
relation P26
type Q502895
['Q2502692', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q2502692 property:P26 ?d }
Vera Chirwa
action filter_type
action find
entity Vera Chirwa
relation spouse
type common name
['Vera Chirwa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Vera_Chirwa property:spouse ?d }
[]
common name
Q7105088
SYSTEM
Orton Chirwa
Q7105088
(Q2502692,P26,c(Q502895))
action filter_type
action find
entity Q2502692
relation P26
type Q502895
[ANSWER] is married to Vera Chirwa
['Q2502692', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q2502692 property:P26 ?d }
Orton Chirwa
Orton Chirwa is married to Vera Chirwa
Orton Chirwa
action filter_type
action find
entity Vera Chirwa
relation spouse
type common name
['Vera Chirwa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Vera_Chirwa property:spouse ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7105088
P21
Q290
USER
What is the sex of that person ?
(Q7105088,P21,c(Q290))
action filter_type
action find
entity Q7105088
relation P21
type Q290
['Q7105088', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q7105088 property:P21 ?z }
Orton Chirwa
action filter_type
action find
entity Orton Chirwa
relation gender
type sex
['Orton Chirwa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Orton_Chirwa property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7105088,P21,c(Q290))
action filter_type
action find
entity Q7105088
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q7105088', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q7105088 property:P21 ?z }
male
The sex of that person is a male
male
action filter_type
action find
entity Orton Chirwa
relation gender
type sex
['Orton Chirwa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Orton_Chirwa property:gender ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q2342494 Q3516658
USER
How many concepts are depicted in atmost 1 collectables or heraldic symbols ?
(c(Q2342494)|c(Q3516658),P180,c(Q151885))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?l ) WHERE { { ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q3516658 . ?i property:P180 ?n } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q151885 } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type concept
type collectable
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?l ) WHERE { { ?n rdf:type ontology:concept . ?i rdf:type ontology:heraldic_symbol . ?i property:depicts ?n } UNION { ?i property:depicts ?n . ?i rdf:type ontology:collectable . ?n rdf:type ontology:concept } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
[]
concept collectable heraldic symbol
SYSTEM
67
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q8441 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q2342494)|c(Q3516658),P180,c(Q151885))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?l ) WHERE { { ?n rdf:type ontology:Q151885 . ?i rdf:type ontology:Q3516658 . ?i property:P180 ?n } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q151885 } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky man worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
67
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type concept
type collectable
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?l ) WHERE { { ?n rdf:type ontology:concept . ?i rdf:type ontology:heraldic_symbol . ?i property:depicts ?n } UNION { ?i property:depicts ?n . ?i rdf:type ontology:collectable . ?n rdf:type ontology:concept } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2502692
P106
Q12737077
USER
What does Vera Chirwa do for a living ?
(Q2502692,P106,c(Q12737077))
action filter_type
action find
entity Q2502692
relation P106
type Q12737077
['Q2502692', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2502692 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Vera Chirwa
action filter_type
action find
entity Vera Chirwa
relation occupation
type occupation
['Vera Chirwa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Vera_Chirwa property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2502692,P106,c(Q12737077))
action filter_type
action find
entity Q2502692
relation P106
type Q12737077
Vera Chirwa does a [ANSWER] for a living
['Q2502692', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2502692 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
Vera Chirwa does a politician for a living
politician
action filter_type
action find
entity Vera Chirwa
relation occupation
type occupation
['Vera Chirwa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Vera_Chirwa property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2502692
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q2502692
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2502692 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Vera Chirwa
action filter_type
action find
entity Vera Chirwa
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vera_Chirwa property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1020
SYSTEM
Malawi
Q1020
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q2502692
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2502692 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Malawi
Malawi is the native country of that person
Malawi
action filter_type
action find
entity Vera Chirwa
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vera_Chirwa property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than Luxembourg ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?c ) WHERE { ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?v property:P530 ?z } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q32 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?g ) }
Luxembourg
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?c ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?z } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Luxembourg property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
34
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q822 Q241 Q31 Q30 Q38 Q27 Q222 Q347 Q17 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?c ) WHERE { ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?v property:P530 ?z } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q32 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?c > ?g ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Lebanon Cuba Belgium United States of America Italy Ireland Albania Liechtenstein Japan Czech Republic Angola Egypt Libya Cape Verde Zambia
34
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?c ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?z } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Luxembourg property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c > ?g ) }
[]
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 diplomatic relations with atmost 30 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?o ) WHERE { ?l property:P530 ?z . ?l rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?o <= 30 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?o ) WHERE { ?l property:diplomatic_relation ?z . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?o <= 30 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
157
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?o ) WHERE { ?l property:P530 ?z . ?l rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?o <= 30 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
157
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?o ) WHERE { ?l property:diplomatic_relation ?z . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?o <= 30 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P674
Q502895 Q36649 Q15416
USER
Which people appears as a character in max number of visual artss or television programs ?
(c(Q36649)|c(Q15416),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q36649 ) ( ontology:Q15416 ) } } GROUP BY ?p } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?l WHERE { { ?g property:P674 ?l . ?g rdf:type ontology:Q36649 . ?l rdf:type ontology:Q502895 } UNION { ?g property:P674 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15416 } } GROUP BY ?l } } }
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type television program
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:visual_arts ) ( ontology:television_program ) } } GROUP BY ?p } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?l WHERE { { ?g property:characters ?l . ?g rdf:type ontology:visual_arts . ?l rdf:type ontology:common_name } UNION { ?g property:characters ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:television_program } } GROUP BY ?l } } }
[]
common name visual arts television program
Q15718786
SYSTEM
Winona
Q15718786
(c(Q36649)|c(Q15416),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
[ANSWER] appears as a character in max number of visual artss or television programs
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q36649 ) ( ontology:Q15416 ) } } GROUP BY ?p } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?l WHERE { { ?g property:P674 ?l . ?g rdf:type ontology:Q36649 . ?l rdf:type ontology:Q502895 } UNION { ?g property:P674 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q15416 } } GROUP BY ?l } } }
Winona
Winona appears as a character in max number of visual artss or television programs
Winona
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type television program
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:visual_arts ) ( ontology:television_program ) } } GROUP BY ?p } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?l WHERE { { ?g property:characters ?l . ?g rdf:type ontology:visual_arts . ?l rdf:type ontology:common_name } UNION { ?g property:characters ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:television_program } } GROUP BY ?l } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did max number of people dub for ?
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?s ) WHERE { ?h property:P725 ?x . ?h rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?r ) WHERE { ?v property:P725 ?w . ?v rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?r = ?q ) }
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?s ) WHERE { ?h property:voice_actor ?x . ?h rdf:type ontology:television_genre . ?x rdf:type ontology:common_name } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?r ) WHERE { ?v property:voice_actor ?w . ?v rdf:type ontology:television_genre . ?w rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?r = ?q ) }
[]
common name television genre
Q22773153
SYSTEM
Milo Murphy's Law
Q22773153
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
Max number of people dubbed by [ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?s ) WHERE { ?h property:P725 ?x . ?h rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?r ) WHERE { ?v property:P725 ?w . ?v rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?r = ?q ) }
Milo Murphy's Law
Max number of people dubbed by Milo Murphy's Law
Milo Murphy's Law
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?s ) WHERE { ?h property:voice_actor ?x . ?h rdf:type ontology:television_genre . ?x rdf:type ontology:common_name } GROUP BY ?h } } . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?r ) WHERE { ?v property:voice_actor ?w . ?v rdf:type ontology:television_genre . ?w rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?r = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1020
P463
Q43229
USER
What organizations were Malawi a member of ?
(Q1020,P463,c(Q43229))
action filter_type
action find
entity Q1020
relation P463
type Q43229
['Q1020', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q1020 property:P463 ?h . ?h rdf:type ontology:Q43229 }
Malawi
action filter_type
action find
entity Malawi
relation member of
type organization
['Malawi', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Malawi property:member_of ?h . ?h rdf:type ontology:organization }
[]
organization
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q340195 Q191384 Q899770 Q656801 Q7825 Q827525
(Q1020,P463,c(Q43229))
action filter_type
action find
entity Q1020
relation P463
type Q43229
Malawi were the [ANSWERS]
['Q1020', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q1020 property:P463 ?h . ?h rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
Malawi were the World Trade Organization, International Bank for Reconstruction and Development and International Finance Corporation
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Malawi
relation member of
type organization
['Malawi', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Malawi property:member_of ?h . ?h rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1020
P37
Q34770
USER
What is recognized as the official language of Malawi ?
(Q1020,P37,c(Q34770))
action filter_type
action find
entity Q1020
relation P37
type Q34770
['Q1020', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q1020 property:P37 ?z . ?z rdf:type ontology:Q34770 }
Malawi
action filter_type
action find
entity Malawi
relation official language
type language
['Malawi', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Malawi property:official_language ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1020,P37,c(Q34770))
action filter_type
action find
entity Q1020
relation P37
type Q34770
Guinea [ANSWER] is recognized as the official language of Malawi
['Q1020', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q1020 property:P37 ?z . ?z rdf:type ontology:Q34770 }
English
Guinea English is recognized as the official language of Malawi
English
action filter_type
action find
entity Malawi
relation official language
type language
['Malawi', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Malawi property:official_language ?z . ?z rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1020
P47
Q15617994
USER
Which administrative territories share border with Malawi ?
(Q1020,P47,c(Q15617994))
action filter_type
action find
entity Q1020
relation P47
type Q15617994
['Q1020', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q1020 property:P47 ?r }
Malawi
action filter_type
action find
entity Malawi
relation shares border with
type designation for an administrative territorial entity
['Malawi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malawi property:shares_border_with ?r }
[]
designation for an administrative territorial entity
Q924 Q1029 Q953
SYSTEM
Tanzania, Mozambique, Zambia
Q924 Q1029 Q953
(Q1020,P47,c(Q15617994))
action filter_type
action find
entity Q1020
relation P47
type Q15617994
And [ANSWERS] share border with Malawi
['Q1020', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q1020 property:P47 ?r }
Tanzania Mozambique Zambia
And Tanzania, Mozambique and Zambia share border with Malawi
Tanzania Mozambique Zambia
action filter_type
action find
entity Malawi
relation shares border with
type designation for an administrative territorial entity
['Malawi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malawi property:shares_border_with ?r }
[]