Simple Question (Direct)
Simple Question
Q16929694
P27
Q15617994
USER
Which administrative territory is Basri Lohy a civilian of ?
(Q16929694,P27,c(Q15617994))
action filter_type
action find
entity Q16929694
relation P27
type Q15617994
['Q16929694', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q16929694 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Basri Lohy
action filter_type
action find
entity Basri Lohy
relation country of citizenship
type designation for an administrative territorial entity
['Basri Lohy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Basri_Lohy property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q16929694,P27,c(Q15617994))
action filter_type
action find
entity Q16929694
relation P27
type Q15617994
[ANSWER] is Basri Lohy a civilian of
['Q16929694', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q16929694 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Indonesia
Indonesia is Basri Lohy a civilian of
Indonesia
action filter_type
action find
entity Basri Lohy
relation country of citizenship
type designation for an administrative territorial entity
['Basri Lohy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Basri_Lohy property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16929694
P106
Q12737077
USER
Which occupation has Basri Lohy as his/her 's career ?
(Q16929694,P106,c(Q12737077))
action filter_type
action find
entity Q16929694
relation P106
type Q12737077
['Q16929694', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16929694 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Basri Lohy
action filter_type
action find
entity Basri Lohy
relation occupation
type occupation
['Basri Lohy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Basri_Lohy property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16929694,P106,c(Q12737077))
action filter_type
action find
entity Q16929694
relation P106
type Q12737077
As [ANSWER] has Basri Lohy as his/her 's career
['Q16929694', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16929694 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
As association football player has Basri Lohy as his/her 's career
association football player
action filter_type
action find
entity Basri Lohy
relation occupation
type occupation
['Basri Lohy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Basri_Lohy property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16929694
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q16929694
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q16929694 property:P641 ?o . ?o rdf:type ontology:Q349 }
Basri Lohy
action filter_type
action find
entity Basri Lohy
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Basri_Lohy property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q16929694
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q16929694 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Basri Lohy
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Basri_Lohy property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16929694
P19
Q15617994
USER
Which administrative territory is the birthplace of Basri Lohy ?
(Q16929694,P19,c(Q15617994))
action filter_type
action find
entity Q16929694
relation P19
type Q15617994
['Q16929694', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q16929694 property:P19 ?c }
Basri Lohy
action filter_type
action find
entity Basri Lohy
relation place of birth
type designation for an administrative territorial entity
['Basri Lohy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Basri_Lohy property:place_of_birth ?c }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q16929694,P19,c(Q15617994))
action filter_type
action find
entity Q16929694
relation P19
type Q15617994
[ANSWER] is the birthplace of Basri Lohy
['Q16929694', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q16929694 property:P19 ?c }
Indonesia
Indonesia is the birthplace of Basri Lohy
Indonesia
action filter_type
action find
entity Basri Lohy
relation place of birth
type designation for an administrative territorial entity
['Basri Lohy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Basri_Lohy property:place_of_birth ?c }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q2031291
USER
Which administrative territories are the origin of approximately the same number of musical ensembles or releases as that administrative territory ?
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q252
relation P495
type Q2088357
type Q2031291
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?n property:P495 ?w . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P495 ?w . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2031291 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P495 resource:Q252 . { { ?f rdf:type ontology:Q2031291 } UNION { ?f rdf:type ontology:Q2088357 } } } } . FILTER ( ?p = ?q ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Indonesia
relation country of origin
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?n property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:release } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:country_of_origin resource:Indonesia . { { ?f rdf:type ontology:release } UNION { ?f rdf:type ontology:musical_ensemble } } } } . FILTER ( ?p = ?q ) }
[]
designation for an administrative territorial entity musical ensemble release
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(Q2088357)|c(Q2031291),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q252
relation P495
type Q2088357
type Q2031291
[ANSWERS] are the origin of approximately the same number of musical ensembles or releases as that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?n property:P495 ?w . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P495 ?w . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2031291 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P495 resource:Q252 . { { ?f rdf:type ontology:Q2031291 } UNION { ?f rdf:type ontology:Q2088357 } } } } . FILTER ( ?p = ?q ) }
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 origin of approximately the same number of musical ensembles or releases as that administrative territory
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Indonesia
relation country of origin
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?n property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:release } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:country_of_origin resource:Indonesia . { { ?f rdf:type ontology:release } UNION { ?f rdf:type ontology:musical_ensemble } } } } . FILTER ( ?p = ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q252
P47
Q56061 Q1048835
USER
How many administrative territories and political territories have a shared border with Indonesia ?
(Q252,P47,c(Q56061)) (Q252,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q252
relation P47
type Q56061
action filter_type
action find
entity Q252
relation P47
type Q1048835
['Q252', 'P47', {'concept': 'Q56061'}] ['Q252', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { resource:Q252 property:P47 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q252 property:P47 ?h . ?h rdf:type ontology:Q1048835 } }
Indonesia
action count
action union
action filter_type
action find
entity Indonesia
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Indonesia
relation shares border with
type political territorial entity
['Indonesia', 'shares border with', {'concept': 'administrative territorial entity'}] ['Indonesia', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { resource:Indonesia property:shares_border_with ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:Indonesia property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity } }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 2 political territories
Q334 Q408 Q691
(Q252,P47,c(Q56061)) (Q252,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q252
relation P47
type Q56061
action filter_type
action find
entity Q252
relation P47
type Q1048835
[ANSWER]
['Q252', 'P47', {'concept': 'Q56061'}] ['Q252', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { resource:Q252 property:P47 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q252 property:P47 ?h . ?h rdf:type ontology:Q1048835 } }
Singapore Australia Papua New Guinea
1 administrative territories and 2 political territories
action count
action union
action filter_type
action find
entity Indonesia
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Indonesia
relation shares border with
type political territorial entity
['Indonesia', 'shares border with', {'concept': 'administrative territorial entity'}] ['Indonesia', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { resource:Indonesia property:shares_border_with ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:Indonesia property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10517035 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation or did Tommy McHale participate in ?
OR((Q937857,P425,c(Q349)), (Q10517035,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q10517035
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q10517035', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q937857 property:P425 ?v } UNION { resource:Q10517035 property:P641 ?v } } . ?v rdf:type ontology:Q349 }
Tommy McHale association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Tommy McHale
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Tommy McHale', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { { { resource:association_football_player property:field_of_this_occupation ?v } UNION { resource:Tommy_McHale property:sport ?v } } . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q10517035,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q10517035
relation P641
type Q349
Player [ANSWER] have [ANSWER] player as thier associated field of occupation or did Tommy McHale participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q10517035', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q937857 property:P425 ?v } UNION { resource:Q10517035 property:P641 ?v } } . ?v rdf:type ontology:Q349 }
association football
Player association football have association football player as thier associated field of occupation or did Tommy McHale participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Tommy McHale
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Tommy McHale', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { { { resource:association_football_player property:field_of_this_occupation ?v } UNION { resource:Tommy_McHale property:sport ?v } } . ?v rdf:type ontology:sport }
[]