Simple Question (Direct)
Simple Question
Q5700103
P106
Q28640
USER
Which professions have Antonio Wong Rengifo as his/her 's career ?
(Q5700103,P106,c(Q28640))
action filter_type
action find
entity Q5700103
relation P106
type Q28640
['Q5700103', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q5700103 property:P106 ?b . ?b rdf:type ontology:Q28640 }
Antonio Wong Rengifo
action filter_type
action find
entity Antonio Wong Rengifo
relation occupation
type profession
['Antonio Wong Rengifo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Antonio_Wong_Rengifo property:occupation ?b . ?b rdf:type ontology:profession }
[]
profession
Q2526255 Q3282637 Q28389
SYSTEM
film director, film producer, screenwriter
Q2526255 Q3282637 Q28389
(Q5700103,P106,c(Q28640))
action filter_type
action find
entity Q5700103
relation P106
type Q28640
[ANSWERS] have Antonio Wong Rengifo as his/her 's career
['Q5700103', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q5700103 property:P106 ?b . ?b rdf:type ontology:Q28640 }
film director film producer screenwriter
Film director, film producer and screenwriter have Antonio Wong Rengifo as his/her 's career
film director film producer screenwriter
action filter_type
action find
entity Antonio Wong Rengifo
relation occupation
type profession
['Antonio Wong Rengifo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Antonio_Wong_Rengifo property:occupation ?b . ?b rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5700103
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q2526255,P19,c(Q56061)) (Q3282637,P19,c(Q56061)) (Q28389,P19,c(Q56061))
action filter_type
action find
entity Q5700103
relation P19
type Q56061
['Q2526255', 'P19', {'concept': 'Q56061'}] ['Q3282637', 'P19', {'concept': 'Q56061'}] ['Q28389', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5700103 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Antonio Wong Rengifo
action filter_type
action find
entity Antonio Wong Rengifo
relation place of birth
type administrative territorial entity
['film director', 'place of birth', {'concept': 'administrative territorial entity'}] ['film producer', 'place of birth', {'concept': 'administrative territorial entity'}] ['screenwriter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Wong_Rengifo property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q193289
SYSTEM
Iquitos
Q193289
(Q2526255,P19,c(Q56061)) (Q3282637,P19,c(Q56061)) (Q28389,P19,c(Q56061))
action filter_type
action find
entity Q5700103
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q2526255', 'P19', {'concept': 'Q56061'}] ['Q3282637', 'P19', {'concept': 'Q56061'}] ['Q28389', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5700103 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Iquitos
Iquitos is the place of birth of that person
Iquitos
action filter_type
action find
entity Antonio Wong Rengifo
relation place of birth
type administrative territorial entity
['film director', 'place of birth', {'concept': 'administrative territorial entity'}] ['film producer', 'place of birth', {'concept': 'administrative territorial entity'}] ['screenwriter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Wong_Rengifo property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q193289 Q490 Q981185
P190
Q56061
USER
Is that administrative territory twin city of Milan and Mont Belvieu ?
(Q193289,P190,Q490) (Q193289,P190,Q981185)
action is_in
entity Q193289
action intersection
action find_reverse
entity Q490
relation P190
action find_reverse
entity Q981185
relation P190
['Q193289', 'P190', 'Q490'] ['Q193289', 'P190', 'Q981185']
ASK WHERE { resource:Q193289 property:P190 resource:Q490 . resource:Q193289 property:P190 resource:Q981185 }
Iquitos Milan Mont Belvieu
action is_in
entity Iquitos
action intersection
action find_reverse
entity Milan
relation sister city
action find_reverse
entity Mont Belvieu
relation sister city
['Iquitos', 'sister city', 'Milan'] ['Iquitos', 'sister city', 'Mont Belvieu']
ASK WHERE { resource:Iquitos property:sister_city resource:Milan . resource:Iquitos property:sister_city resource:Mont_Belvieu }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q193289,P190,Q490) (Q193289,P190,Q981185)
action is_in
entity Q193289
action intersection
action find_reverse
entity Q490
relation P190
action find_reverse
entity Q981185
relation P190
[ANSWER]
['Q193289', 'P190', 'Q490'] ['Q193289', 'P190', 'Q981185']
ASK WHERE { resource:Q193289 property:P190 resource:Q490 . resource:Q193289 property:P190 resource:Q981185 }
YES and NO respectively
action is_in
entity Iquitos
action intersection
action find_reverse
entity Milan
relation sister city
action find_reverse
entity Mont Belvieu
relation sister city
['Iquitos', 'sister city', 'Milan'] ['Iquitos', 'sister city', 'Mont Belvieu']
ASK WHERE { resource:Iquitos property:sister_city resource:Milan . resource:Iquitos property:sister_city resource:Mont_Belvieu }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q193289
P19
Q502895
USER
How many people have birthplace at Iquitos ?
(c(Q502895),P19,Q193289)
action count
action filter_type
action find_reverse
entity Q193289
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q193289']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P19 resource:Q193289 . ?s rdf:type ontology:Q502895 }
Iquitos
action count
action filter_type
action find_reverse
entity Iquitos
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Iquitos']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:place_of_birth resource:Iquitos . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
31
Q16097466 Q5934628 Q6140200 Q982365 Q1421573 Q6110384 Q25231179 Q7078856 Q5930993 Q6072154 Q5700103 Q10527275 Q5996136 Q27831250 Q5746156 Q5925129 Q5931012 Q7107282 Q5647548 Q16562523 Q18417295 Q430587 Q19161854 Q5711774 Q5840941 Q5950065 Q5955936 Q7944589 Q5865196 Q5984632 Q1423620
(c(Q502895),P19,Q193289)
action count
action filter_type
action find_reverse
entity Q193289
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q193289']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P19 resource:Q193289 . ?s rdf:type ontology:Q502895 }
Teresa Burga Jorge Bosmediano Teddy Cardama César Calvo Tigresa del Oriente Rocío Del Pilar Rojas Gonzáles Alexian Kernel Ofelia Montesco Jhonny Olórtegui Percy Moreyra Antonio Wong Rengifo Nicolás Celis Marcial Salazar Ezequiel Alvarado Guevara Camucha Negrete Jaime La Torre Jhoys Nogueira Osnar Noronha Óscar Calvo Gustavo González Fernando Lores Tenazoa Nicole Faverón Cabo Víctor Pantoja Augusto Yep Gustavo Gonzáles Teruel Juan Iriarte Julius Rengifo Víctor Balta Francisco Bardales Luis Ángel Pinasco Simone Collinet
31
action count
action filter_type
action find_reverse
entity Iquitos
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Iquitos']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:place_of_birth resource:Iquitos . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6076
P19
Q502895
USER
And how about Kemerovo Oblast?
(c(Q502895),P19,Q6076)
action count
action filter_type
action find_reverse
entity Q6076
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q6076']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P19 resource:Q6076 . ?g rdf:type ontology:Q502895 }
Kemerovo Oblast
action count
action filter_type
action find_reverse
entity Kemerovo Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kemerovo Oblast']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:place_of_birth resource:Kemerovo_Oblast . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
11
Q4245495 Q1652538 Q1395558 Q4421605 Q4100574 Q15965974 Q43331 Q7296697 Q1386849 Q4385787 Q2570061
(c(Q502895),P19,Q6076)
action count
action filter_type
action find_reverse
entity Q6076
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q6076']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P19 resource:Q6076 . ?g rdf:type ontology:Q502895 }
Alexei Kuzmitsky Ivan Yarygin Rustem Khamitov Gennady Skarlygin Valentin Bukhtoyarov Vladimir Leonidovich Kleyman Viktor Ishayev Ravil Khabutdinov Alexander Spesivtsev Volodymyr Pyatenko Viktor Solodov
11
action count
action filter_type
action find_reverse
entity Kemerovo Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kemerovo Oblast']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:place_of_birth resource:Kemerovo_Oblast . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526255
P361
Q16334295
USER
Which group of humans is film director a component of ?
(Q2526255,P361,c(Q16334295))
action filter_type
action find
entity Q2526255
relation P361
type Q16334295
['Q2526255', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?i WHERE { resource:Q2526255 property:P361 ?i . ?i rdf:type ontology:Q16334295 }
film director
action filter_type
action find
entity film director
relation part of
type group of humans
['film director', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?i WHERE { resource:film_director property:part_of ?i . ?i rdf:type ontology:group_of_humans }
[]
group of humans
Q506702
SYSTEM
film crew
Q506702
(Q2526255,P361,c(Q16334295))
action filter_type
action find
entity Q2526255
relation P361
type Q16334295
The [ANSWER] is film director a component of
['Q2526255', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?i WHERE { resource:Q2526255 property:P361 ?i . ?i rdf:type ontology:Q16334295 }
film crew
The film crew is film director a component of
film crew
action filter_type
action find
entity film director
relation part of
type group of humans
['film director', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?i WHERE { resource:film_director property:part_of ?i . ?i rdf:type ontology:group_of_humans }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q326887 Q2526255
P361 P180
Q16334295
USER
Which groups of humans are film director a part of or are depicted in The Black Brunswicker ?
OR((Q2526255,P361,c(Q16334295)), (Q326887,P180,c(Q16334295)))
action filter_type
action union
action find
entity Q2526255
relation P361
action find
entity Q326887
relation P180
type Q16334295
{'OR': [['Q2526255', 'P361', {'concept': 'Q16334295'}], ['Q326887', 'P180', {'concept': 'Q16334295'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2526255 property:P361 ?o } UNION { resource:Q326887 property:P180 ?o } } . ?o rdf:type ontology:Q16334295 }
The Black Brunswicker film director
action filter_type
action union
action find
entity film director
relation part of
action find
entity The Black Brunswicker
relation depicts
type group of humans
{'OR': [['film director', 'part of', {'concept': 'group of humans'}], ['The Black Brunswicker', 'depicts', {'concept': 'group of humans'}]]}
SELECT DISTINCT ?o WHERE { { { resource:film_director property:part_of ?o } UNION { resource:The_Black_Brunswicker property:depicts ?o } } . ?o rdf:type ontology:group_of_humans }
[]
group of humans
Q219160 Q506702
SYSTEM
couple, film crew
Q219160 Q506702
OR((Q2526255,P361,c(Q16334295)), (Q326887,P180,c(Q16334295)))
action filter_type
action union
action find
entity Q2526255
relation P361
action find
entity Q326887
relation P180
type Q16334295
The [ANSWERS] are film director a part of or are depicted in The Black Brunswicker
{'OR': [['Q2526255', 'P361', {'concept': 'Q16334295'}], ['Q326887', 'P180', {'concept': 'Q16334295'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2526255 property:P361 ?o } UNION { resource:Q326887 property:P180 ?o } } . ?o rdf:type ontology:Q16334295 }
couple film crew
The couple and film crew are film director a part of or are depicted in The Black Brunswicker
couple film crew
action filter_type
action union
action find
entity film director
relation part of
action find
entity The Black Brunswicker
relation depicts
type group of humans
{'OR': [['film director', 'part of', {'concept': 'group of humans'}], ['The Black Brunswicker', 'depicts', {'concept': 'group of humans'}]]}
SELECT DISTINCT ?o WHERE { { { resource:film_director property:part_of ?o } UNION { resource:The_Black_Brunswicker property:depicts ?o } } . ?o rdf:type ontology:group_of_humans }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q461205 Q193289
P47 P190
Q13220204
USER
Which administrative country subdivisions are sister towns of Iquitos or are bordered by Brzeg County ?
OR((Q193289,P190,c(Q13220204)), (Q461205,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q193289
relation P190
action find
entity Q461205
relation P47
type Q13220204
{'OR': [['Q193289', 'P190', {'concept': 'Q13220204'}], ['Q461205', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q193289 property:P190 ?c } UNION { resource:Q461205 property:P47 ?c } } . ?c rdf:type ontology:Q13220204 }
Brzeg County Iquitos
action filter_type
action union
action find
entity Iquitos
relation sister city
action find
entity Brzeg County
relation shares border with
type second-level administrative country subdivision
{'OR': [['Iquitos', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Brzeg County', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Iquitos property:sister_city ?c } UNION { resource:Brzeg_County property:shares_border_with ?c } } . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q4273107 Q462066 Q214913 Q715475 Q179986 Q461537
SYSTEM
Namysłów County, Opole County, Leticia, Oława County, Strzelin County, Nysa County
Q4273107 Q462066 Q214913 Q715475 Q179986 Q461537
OR((Q193289,P190,c(Q13220204)), (Q461205,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q193289
relation P190
action find
entity Q461205
relation P47
type Q13220204
[ANSWERS] are sister towns of Iquitos or are bordered by Brzeg County
{'OR': [['Q193289', 'P190', {'concept': 'Q13220204'}], ['Q461205', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q193289 property:P190 ?c } UNION { resource:Q461205 property:P47 ?c } } . ?c rdf:type ontology:Q13220204 }
Namysłów County Opole County Leticia Oława County Strzelin County Nysa County
Namysłów County, Opole County, Leticia, Oława County, Strzelin County and Nysa County are sister towns of Iquitos or are bordered by Brzeg County
Namysłów County Opole County Leticia Oława County Strzelin County Nysa County
action filter_type
action union
action find
entity Iquitos
relation sister city
action find
entity Brzeg County
relation shares border with
type second-level administrative country subdivision
{'OR': [['Iquitos', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Brzeg County', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Iquitos property:sister_city ?c } UNION { resource:Brzeg_County property:shares_border_with ?c } } . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q715475
P17
Q15617994
USER
Which administrative territory is Oława County present in ?
(Q715475,P17,c(Q15617994))
action filter_type
action find
entity Q715475
relation P17
type Q15617994
['Q715475', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q715475 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Oława County
action filter_type
action find
entity Oława County
relation country
type designation for an administrative territorial entity
['Oława County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Oława_County property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q715475,P17,c(Q15617994))
action filter_type
action find
entity Q715475
relation P17
type Q15617994
Oława County is in [ANSWER]
['Q715475', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q715475 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Poland
Oława County is in Poland
Poland
action filter_type
action find
entity Oława County
relation country
type designation for an administrative territorial entity
['Oława County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Oława_County property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5739088
Q15617994
USER
And what about Heritage USA?
(Q5739088,P17,c(Q15617994))
action filter_type
action find
entity Q5739088
relation P17
type Q15617994
['Q5739088', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q5739088 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Heritage USA
action filter_type
action find
entity Heritage USA
relation country
type designation for an administrative territorial entity
['Heritage USA', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Heritage_USA property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5739088,P17,c(Q15617994))
action filter_type
action find
entity Q5739088
relation P17
type Q15617994
[ANSWER]
['Q5739088', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q5739088 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Heritage USA
relation country
type designation for an administrative territorial entity
['Heritage USA', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Heritage_USA property:country ?r . ?r 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 atmost 14 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?e <= 14 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?e <= 14 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 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_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?e <= 14 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?e <= 14 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:P530 ?z . ?b rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?y = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?a rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?a property:P530 ?l } GROUP BY ?a } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:diplomatic_relation ?z . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?y = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?l } GROUP BY ?a } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:P530 ?z . ?b rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?y = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?a rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?a property:P530 ?l } GROUP BY ?a } } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania are known to have diplomatic connections with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:diplomatic_relation ?z . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?y = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?s ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?l } GROUP BY ?a } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P1001
Q12737077
USER
Which occupations have jurisdiction over Dominican Republic ?
(c(Q12737077),P1001,Q786)
action filter_type
action find_reverse
entity Q786
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q786']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q786 . ?o rdf:type ontology:Q12737077 }
Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Dominican Republic']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Dominican_Republic . ?o rdf:type ontology:occupation }
[]
occupation
Q21295132 Q21328590
SYSTEM
member of the Senate of the Dominican Republic, Member of the Chamber of Deputies of the Dominican Republic
Q21295132 Q21328590
(c(Q12737077),P1001,Q786)
action filter_type
action find_reverse
entity Q786
relation P1001
type Q12737077
The [ANSWERS] have jurisdiction over Dominican Republic
[{'concept': 'Q12737077'}, 'P1001', 'Q786']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q786 . ?o rdf:type ontology:Q12737077 }
member of the Senate of the Dominican Republic Member of the Chamber of Deputies of the Dominican Republic
The member of the Senate of the Dominican Republic and Member of the Chamber of Deputies of the Dominican Republic have jurisdiction over Dominican Republic
member of the Senate of the Dominican Republic Member of the Chamber of Deputies of the Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Dominican Republic']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Dominican_Republic . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21295132 Q21328590
P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of those occupations ?
(Q21295132,P1001,c(Q15617994)) (Q21328590,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q21295132', 'P1001', {'concept': 'Q15617994'}] ['Q21328590', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?m property:P1001 ?z . VALUES ( ?m ) { ( resource:Q21295132 ) ( resource:Q21328590 ) } . ?z rdf:type ontology:Q15617994 }
member of the Senate of the Dominican Republic Member of the Chamber of Deputies of the Dominican Republic
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Dominican Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Member of the Chamber of Deputies of the Dominican Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?m property:applies_to_jurisdiction ?z . VALUES ( ?m ) { ( resource:member_of_the_Senate_of_the_Dominican_Republic ) ( resource:Member_of_the_Chamber_of_Deputies_of_the_Dominican_Republic ) } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q786 Q786
SYSTEM
Dominican Republic
Q786 Q786
(Q21295132,P1001,c(Q15617994)) (Q21328590,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWER] and [ANSWER] apply to jurisdiction of those occupations
['Q21295132', 'P1001', {'concept': 'Q15617994'}] ['Q21328590', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?m property:P1001 ?z . VALUES ( ?m ) { ( resource:Q21295132 ) ( resource:Q21328590 ) } . ?z rdf:type ontology:Q15617994 }
Dominican Republic Dominican Republic
Dominican Republic and Dominican Republic apply to jurisdiction of those occupations
Dominican Republic Dominican Republic
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Dominican Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Member of the Chamber of Deputies of the Dominican Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?m property:applies_to_jurisdiction ?z . VALUES ( ?m ) { ( resource:member_of_the_Senate_of_the_Dominican_Republic ) ( resource:Member_of_the_Chamber_of_Deputies_of_the_Dominican_Republic ) } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]