Simple Question (Direct)
Simple Question
Q4885297
P54
Q12973014
USER
Which sports team is Ben Beynon a member of ?
(Q4885297,P54,c(Q12973014))
action filter_type
action find
entity Q4885297
relation P54
type Q12973014
['Q4885297', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q4885297 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Ben Beynon
action filter_type
action find
entity Ben Beynon
relation member of sports team
type sports team
['Ben Beynon', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Ben_Beynon property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
sports team
Q822877
SYSTEM
Wales national rugby union team
Q822877
(Q4885297,P54,c(Q12973014))
action filter_type
action find
entity Q4885297
relation P54
type Q12973014
The [ANSWER] is Ben Beynon a member of
['Q4885297', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q4885297 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Wales national rugby union team
The Wales national rugby union team is Ben Beynon a member of
Wales national rugby union team
action filter_type
action find
entity Ben Beynon
relation member of sports team
type sports team
['Ben Beynon', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Ben_Beynon property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12589788 Q4885297
P27
Q15617994
USER
Which administrative territories are the native countriesof Ben Beynon or Nam Da-reum ?
OR((Q4885297,P27,c(Q15617994)), (Q12589788,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4885297
relation P27
action find
entity Q12589788
relation P27
type Q15617994
{'OR': [['Q4885297', 'P27', {'concept': 'Q15617994'}], ['Q12589788', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?c ) { ( resource:Q4885297 ) ( resource:Q12589788 ) } . ?c property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Nam Da-reum Ben Beynon
action filter_type
action union
action find
entity Ben Beynon
relation country of citizenship
action find
entity Nam Da-reum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ben Beynon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nam Da-reum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?c ) { ( resource:Ben_Beynon ) ( resource:Nam_Da-reum ) } . ?c property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q145
SYSTEM
South Korea, United Kingdom
Q884 Q145
OR((Q4885297,P27,c(Q15617994)), (Q12589788,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4885297
relation P27
action find
entity Q12589788
relation P27
type Q15617994
[ANSWERS] are the native countriesof Ben Beynon or Nam Da-reum
{'OR': [['Q4885297', 'P27', {'concept': 'Q15617994'}], ['Q12589788', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?c ) { ( resource:Q4885297 ) ( resource:Q12589788 ) } . ?c property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
South Korea United Kingdom
South Korea and United Kingdom are the native countriesof Ben Beynon or Nam Da-reum
South Korea United Kingdom
action filter_type
action union
action find
entity Ben Beynon
relation country of citizenship
action find
entity Nam Da-reum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ben Beynon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nam Da-reum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?c ) { ( resource:Ben_Beynon ) ( resource:Nam_Da-reum ) } . ?c property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share the border with that administrative territory ?
(Q884,P47,c(Q15617994))
['Q884', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q884 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
['South Korea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:South_Korea property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q884
SYSTEM
Did you mean South Korea ?
(Q884,P47,c(Q15617994)) (Q145,P47,c(Q15617994))
[ANSWER]
['Q884', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q884 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean South Korea ?
South Korea
['South Korea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:South_Korea property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q884,P47,c(Q15617994))
['Q884', 'P47', {'concept': 'Q15617994'}]
['South Korea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3
Q423 Q17 Q148
(Q884,P47,c(Q15617994))
[ANSWER]
['Q884', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q884 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
North Korea Japan People's Republic of China
3
['South Korea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:South_Korea property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q15617994 Q2342494 Q838948
USER
Which administrative territories are min number of collectables or works of art set in ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?f WHERE { { ?s property:P840 ?f . ?f rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P840 ?f . ?f rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?w WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?m = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?f WHERE { { ?s property:narrative_location ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } UNION { ?s property:narrative_location ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?w WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?m = ?b ) }
[]
designation for an administrative territorial entity collectable work of art
Q32 Q1011 Q948
SYSTEM
Luxembourg, Cape Verde, Tunisia
Q3278 Q18021 Q1460 Q403 Q165040 Q12515 Q32 Q928 Q58477 Q769680 Q12538 Q233 Q1860611 Q1029 Q225 Q163966 Q12700 Q3207 Q159689 Q114 Q833 Q948 Q817 Q1016 Q1011 Q12545 Q53216
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
Min number of collectables or works of art are set in [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?f WHERE { { ?s property:P840 ?f . ?f rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P840 ?f . ?f rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?w WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?m = ?b ) }
Charente-Maritime Biella Sicily Serbia Duchy of Parma Gard Luxembourg Philippines Capua Bornholm Haute-Garonne Malta Viby Mozambique Bosnia and Herzegovina Mitte Hautes-Pyrénées Aude Bomarzo Kenya Malaysia Tunisia Kuwait Libya Cape Verde Hérault Aquileia
Min number of collectables or works of art are set in Luxembourg, Cape Verde and Tunisia
Luxembourg Cape Verde Tunisia
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?f WHERE { { ?s property:narrative_location ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } UNION { ?s property:narrative_location ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?w WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?m = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q20667921 Q15617994
USER
Which administrative territories have around 4 administrative territories and french administrative divisions as their capital ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 4
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?m rdf:type ?n } GROUP BY ?b } . FILTER ( ?o = 4 ) }
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?n } GROUP BY ?b } . FILTER ( ?o = 4 ) }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
Q12789
SYSTEM
Var
Q12789
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 4
[ANSWER] have around 4 administrative territories and french administrative divisions as their capital
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?m rdf:type ?n } GROUP BY ?b } . FILTER ( ?o = 4 ) }
Var
Var have around 4 administrative territories and french administrative divisions as their capital
Var
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?n } GROUP BY ?b } . FILTER ( ?o = 4 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12789 Q243155 Q1007667
P36
Q20667921
USER
Does Var have Forges and Saint-Quentin-de-Caplong as its administrative centre ?
(Q12789,P36,Q243155) (Q12789,P36,Q1007667)
action is_in
entity Q12789
action intersection
action find_reverse
entity Q243155
relation P36
action find_reverse
entity Q1007667
relation P36
['Q12789', 'P36', 'Q243155'] ['Q12789', 'P36', 'Q1007667']
ASK WHERE { resource:Q12789 property:P36 resource:Q243155 . resource:Q12789 property:P36 resource:Q1007667 }
Var Forges Saint-Quentin-de-Caplong
action is_in
entity Var
action intersection
action find_reverse
entity Forges
relation capital
action find_reverse
entity Saint-Quentin-de-Caplong
relation capital
['Var', 'capital', 'Forges'] ['Var', 'capital', 'Saint-Quentin-de-Caplong']
ASK WHERE { resource:Var property:capital resource:Forges . resource:Var property:capital resource:Saint-Quentin-de-Caplong }
[]
type of french administrative division
SYSTEM
NO
(Q12789,P36,Q243155) (Q12789,P36,Q1007667)
action is_in
entity Q12789
action intersection
action find_reverse
entity Q243155
relation P36
action find_reverse
entity Q1007667
relation P36
[ANSWER]
['Q12789', 'P36', 'Q243155'] ['Q12789', 'P36', 'Q1007667']
ASK WHERE { resource:Q12789 property:P36 resource:Q243155 . resource:Q12789 property:P36 resource:Q1007667 }
No
action is_in
entity Var
action intersection
action find_reverse
entity Forges
relation capital
action find_reverse
entity Saint-Quentin-de-Caplong
relation capital
['Var', 'capital', 'Forges'] ['Var', 'capital', 'Saint-Quentin-de-Caplong']
ASK WHERE { resource:Var property:capital resource:Forges . resource:Var property:capital resource:Saint-Quentin-de-Caplong }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q838948
USER
Which administrative territories are the countries of origin of atmost 34611 literary works and works of art ?
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 34611
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?v WHERE { { ?k rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q15617994 . ?k property:P495 ?v } UNION { ?k property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?t <= 34611 ) }
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 34611
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?v WHERE { { ?k rdf:type ontology:literary_work . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:country_of_origin ?v } UNION { ?k property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?t <= 34611 ) }
[]
designation for an administrative territorial entity literary work work of art
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q838948),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 34611
[ANSWERS] are the countries of origin of atmost 34611 literary works and works of art
[[{'concept': 'Q7725634'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?v WHERE { { ?k rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q15617994 . ?k property:P495 ?v } UNION { ?k property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?t <= 34611 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of atmost 34611 literary works and works of art
Italy Brazil Georgia
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 34611
[[{'concept': 'literary work'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?v WHERE { { ?k rdf:type ontology:literary_work . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:country_of_origin ?v } UNION { ?k property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?t <= 34611 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?d property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?d property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q38 Q155 Q230
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWERS]
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?d property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Italy Brazil Georgia
Those ones belong to Italy, Brazil and Georgia
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?d ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?d property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P463
Q874405
USER
What social groups had those administrative territories as their member ?
(Q38,P463,c(Q874405)) (Q155,P463,c(Q874405)) (Q230,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
['Q38', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?c ) { ( resource:Q38 ) ( resource:Q155 ) ( resource:Q230 ) } . ?c property:P463 ?e . ?e rdf:type ontology:Q874405 }
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation member of
type social group
['Italy', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?c ) { ( resource:Italy ) ( resource:Brazil ) ( resource:Georgia ) } . ?c property:member_of ?e . ?e rdf:type ontology:social_group }
[]
social group
Q7817 Q7817 Q8908
SYSTEM
World Health Organization for 1st, 2nd, Council of Europe for 3rd
Q663492 Q8908 Q376150 Q41984 Q782942 Q848633 Q1374456 Q7817 Q602399 Q47539 Q1484463 Q7817 Q8908
(Q38,P463,c(Q874405)) (Q155,P463,c(Q874405)) (Q230,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
[ANSWERS]
['Q38', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?c ) { ( resource:Q38 ) ( resource:Q155 ) ( resource:Q230 ) } . ?c property:P463 ?e . ?e rdf:type ontology:Q874405 }
Eurocontrol Council of Europe International Telecommunication Union International Atomic Energy Agency Australia Group International Chamber of Commerce Euro-Atlantic Partnership Council World Health Organization Amazon Cooperation Treaty Organization South Atlantic Peace and Cooperation Zone G8+5 World Health Organization Council of Europe
World Health Organization, World Health Organization and Council of Europe had those administrative territories as their member
World Health Organization World Health Organization Council of Europe
action filter_type
action find
entity prev_answer
relation member of
type social group
['Italy', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?c ) { ( resource:Italy ) ( resource:Brazil ) ( resource:Georgia ) } . ?c property:member_of ?e . ?e rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1001
Q4164871
USER
Which positions preside the jurisdiction over Italy ?
(c(Q4164871),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q38']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q38 . ?i rdf:type ontology:Q4164871 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Italy . ?i rdf:type ontology:position }
[]
position
Q3911030 Q3911031 Q3965289
SYSTEM
president of Italian region, province president, Undersecretary to the Presidency of the Council
Q3965289 Q3911030 Q3911031 Q25973167 Q25514257
(c(Q4164871),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q4164871
[ANSWERS] preside the jurisdiction over Italy
[{'concept': 'Q4164871'}, 'P1001', 'Q38']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q38 . ?i rdf:type ontology:Q4164871 }
Undersecretary to the Presidency of the Council president of Italian region province president Minister of Justice Minister of Communications
President of Italian region, province president and Undersecretary to the Presidency of the Council preside the jurisdiction over Italy
president of Italian region province president Undersecretary to the Presidency of the Council
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Italy . ?i rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7817
P123
Q21114848
USER
Which magazine genres were issued by World Health Organization ?
(c(Q21114848),P123,Q7817)
action filter_type
action find_reverse
entity Q7817
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q7817']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q21114848 . ?n property:P123 resource:Q7817 }
World Health Organization
action filter_type
action find_reverse
entity World Health Organization
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'World Health Organization']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:magazine_genre . ?n property:publisher resource:World_Health_Organization }
[]
magazine genre
Q20823921 Q21157441 Q5330283
SYSTEM
WHO Drug Information, Chronicle of the World Health Organization, Eastern Mediterranean Health Journal
Q2928049 Q8035805 Q20823921 Q21157441 Q5330283
(c(Q21114848),P123,Q7817)
action filter_type
action find_reverse
entity Q7817
relation P123
type Q21114848
[ANSWERS] were issued by World Health Organization
[{'concept': 'Q21114848'}, 'P123', 'Q7817']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q21114848 . ?n property:P123 resource:Q7817 }
Bulletin of the World Health Organization World Health Report WHO Drug Information Chronicle of the World Health Organization Eastern Mediterranean Health Journal
WHO Drug Information, Chronicle of the World Health Organization and Eastern Mediterranean Health Journal were issued by World Health Organization
WHO Drug Information Chronicle of the World Health Organization Eastern Mediterranean Health Journal
action filter_type
action find_reverse
entity World Health Organization
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'World Health Organization']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:magazine_genre . ?n property:publisher resource:World_Health_Organization }
[]