Simple Question (Direct)
Simple Question
Q2355459
P106
Q12737077
USER
Which occupations have Karel Bonsink as his/her 's career ?
(Q2355459,P106,c(Q12737077))
action filter_type
action find
entity Q2355459
relation P106
type Q12737077
['Q2355459', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2355459 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Karel Bonsink
action filter_type
action find
entity Karel Bonsink
relation occupation
type occupation
['Karel Bonsink', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Karel_Bonsink property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q2355459,P106,c(Q12737077))
action filter_type
action find
entity Q2355459
relation P106
type Q12737077
As [ANSWERS] have Karel Bonsink as his/her 's career
['Q2355459', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2355459 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football manager association football player
As association football manager and association football player have Karel Bonsink as his/her 's career
association football manager association football player
action filter_type
action find
entity Karel Bonsink
relation occupation
type occupation
['Karel Bonsink', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Karel_Bonsink property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2355459
P54
Q476028
USER
What sports team is Karel Bonsink a member of ?
(Q2355459,P54,c(Q476028))
action filter_type
action find
entity Q2355459
relation P54
type Q476028
['Q2355459', 'P54', {'concept': 'Q476028'}]
SELECT DISTINCT ?e WHERE { resource:Q2355459 property:P54 ?e . ?e rdf:type ontology:Q476028 }
Karel Bonsink
action filter_type
action find
entity Karel Bonsink
relation member of sports team
type association football club
['Karel Bonsink', 'member of sports team', {'concept': 'association football club'}]
SELECT DISTINCT ?e WHERE { resource:Karel_Bonsink property:member_of_sports_team ?e . ?e rdf:type ontology:association_football_club }
[]
association football club
Q478766
SYSTEM
Door Wilskracht Sterk
Q478766
(Q2355459,P54,c(Q476028))
action filter_type
action find
entity Q2355459
relation P54
type Q476028
[ANSWER] is Karel Bonsink a member of
['Q2355459', 'P54', {'concept': 'Q476028'}]
SELECT DISTINCT ?e WHERE { resource:Q2355459 property:P54 ?e . ?e rdf:type ontology:Q476028 }
Door Wilskracht Sterk
Door Wilskracht Sterk is Karel Bonsink a member of
Door Wilskracht Sterk
action filter_type
action find
entity Karel Bonsink
relation member of sports team
type association football club
['Karel Bonsink', 'member of sports team', {'concept': 'association football club'}]
SELECT DISTINCT ?e WHERE { resource:Karel_Bonsink property:member_of_sports_team ?e . ?e rdf:type ontology:association_football_club }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15880729
Q476028
USER
And also tell me about Piet Strijbosch?
(Q15880729,P54,c(Q476028))
action filter_type
action find
entity Q15880729
relation P54
type Q476028
['Q15880729', 'P54', {'concept': 'Q476028'}]
SELECT DISTINCT ?k WHERE { resource:Q15880729 property:P54 ?k . ?k rdf:type ontology:Q476028 }
Piet Strijbosch
action filter_type
action find
entity Piet Strijbosch
relation member of sports team
type association football club
['Piet Strijbosch', 'member of sports team', {'concept': 'association football club'}]
SELECT DISTINCT ?k WHERE { resource:Piet_Strijbosch property:member_of_sports_team ?k . ?k rdf:type ontology:association_football_club }
[]
association football club
Q2599914
SYSTEM
Be Quick 1887
Q2599914
(Q15880729,P54,c(Q476028))
action filter_type
action find
entity Q15880729
relation P54
type Q476028
[ANSWER]
['Q15880729', 'P54', {'concept': 'Q476028'}]
SELECT DISTINCT ?k WHERE { resource:Q15880729 property:P54 ?k . ?k rdf:type ontology:Q476028 }
Be Quick 1887
Be Quick 1887
action filter_type
action find
entity Piet Strijbosch
relation member of sports team
type association football club
['Piet Strijbosch', 'member of sports team', {'concept': 'association football club'}]
SELECT DISTINCT ?k WHERE { resource:Piet_Strijbosch property:member_of_sports_team ?k . ?k rdf:type ontology:association_football_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2355459
P27
Q15617994
USER
Which administrative territory is the native country of Karel Bonsink ?
(Q2355459,P27,c(Q15617994))
action filter_type
action find
entity Q2355459
relation P27
type Q15617994
['Q2355459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2355459 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Karel Bonsink
action filter_type
action find
entity Karel Bonsink
relation country of citizenship
type designation for an administrative territorial entity
['Karel Bonsink', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Karel_Bonsink property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2355459,P27,c(Q15617994))
action filter_type
action find
entity Q2355459
relation P27
type Q15617994
[ANSWER] is the native country of Karel Bonsink
['Q2355459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2355459 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Karel Bonsink
Kingdom of the Netherlands
action filter_type
action find
entity Karel Bonsink
relation country of citizenship
type designation for an administrative territorial entity
['Karel Bonsink', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Karel_Bonsink property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19630451
Q15617994
USER
And also tell me about Pierre Pélissier?
(Q19630451,P27,c(Q15617994))
action filter_type
action find
entity Q19630451
relation P27
type Q15617994
['Q19630451', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19630451 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Pierre Pélissier
action filter_type
action find
entity Pierre Pélissier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Pélissier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pierre_Pélissier property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q19630451,P27,c(Q15617994))
action filter_type
action find
entity Q19630451
relation P27
type Q15617994
[ANSWER]
['Q19630451', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19630451 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Pierre Pélissier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Pélissier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pierre_Pélissier property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q201658
USER
How many administrative territories are the origins of less number of collectables and film genres than that administrative territory ?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q201658 } UNION { ?t property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P495 resource:Q142 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q201658 } } } } . FILTER ( ?s < ?o ) }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:film_genre } UNION { ?t property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:country_of_origin resource:France . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:film_genre } } } } . FILTER ( ?s < ?o ) }
[]
designation for an administrative territorial entity collectable film genre
SYSTEM
166
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q55 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(Q2342494)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q201658
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q201658 } UNION { ?t property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P495 resource:Q142 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q201658 } } } } . FILTER ( ?s < ?o ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Netherlands 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
166
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:film_genre } UNION { ?t property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:country_of_origin resource:France . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:film_genre } } } } . FILTER ( ?s < ?o ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4557942 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and did 1901–02 Northern Football League participate in ?
AND((Q937857,P425,c(Q349)), (Q4557942,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4557942
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4557942', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q4557942 property:P641 ?n . resource:Q937857 property:P425 ?n . ?n rdf:type ontology:Q349 }
1901–02 Northern Football League association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity 1901–02 Northern Football League
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['1901–02 Northern Football League', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:1901–02_Northern_Football_League property:sport ?n . resource:association_football_player property:field_of_this_occupation ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q4557942,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4557942
relation P641
type Q349
[ANSWER] have [ANSWER] player as the associated field of occupation and did 1901–02 Northern Football League participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4557942', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q4557942 property:P641 ?n . resource:Q937857 property:P425 ?n . ?n rdf:type ontology:Q349 }
association football
Association football have association football player as the associated field of occupation and did 1901–02 Northern Football League participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity 1901–02 Northern Football League
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['1901–02 Northern Football League', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:1901–02_Northern_Football_League property:sport ?n . resource:association_football_player property:field_of_this_occupation ?n . ?n rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q3179164
P641
Q502895
USER
Is Rožle Prezelj associated with playing that sport ?
(Q3179164,P641,Q2736)
action is_in
entity Q3179164
action find
entity Q2736
relation P641
['Q3179164', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q3179164 }
association football Rožle Prezelj
action is_in
entity Rožle Prezelj
action find
entity association football
relation sport
['Rožle Prezelj', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Rožle_Prezelj }
[]
common name
SYSTEM
NO
(Q3179164,P641,Q2736)
action is_in
entity Q3179164
action find
entity Q2736
relation P641
[ANSWER]
['Q3179164', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q3179164 }
No
action is_in
entity Rožle Prezelj
action find
entity association football
relation sport
['Rožle Prezelj', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Rožle_Prezelj }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q657
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with greater number of administrative territories than Chad ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q657 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?q ) }
Chad
action count
action greater
action find_reverse_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 Chad
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 ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Chad property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q657 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?q ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_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 Chad
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 ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Chad property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q478766
P159
Q13220204
USER
Where is the headquarter of Door Wilskracht Sterk located ?
(Q478766,P159,c(Q13220204))
action filter_type
action find
entity Q478766
relation P159
type Q13220204
['Q478766', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q13220204 . resource:Q478766 property:P159 ?d }
Door Wilskracht Sterk
action filter_type
action find
entity Door Wilskracht Sterk
relation headquarters location
type second-level administrative country subdivision
['Door Wilskracht Sterk', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:second-level_administrative_country_subdivision . resource:Door_Wilskracht_Sterk property:headquarters_location ?d }
[]
second-level administrative country subdivision
Q9899
SYSTEM
Amsterdam
Q9899
(Q478766,P159,c(Q13220204))
action filter_type
action find
entity Q478766
relation P159
type Q13220204
The headquarter of Door Wilskracht Sterk is located in [ANSWER]
['Q478766', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q13220204 . resource:Q478766 property:P159 ?d }
Amsterdam
The headquarter of Door Wilskracht Sterk is located in Amsterdam
Amsterdam
action filter_type
action find
entity Door Wilskracht Sterk
relation headquarters location
type second-level administrative country subdivision
['Door Wilskracht Sterk', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:second-level_administrative_country_subdivision . resource:Door_Wilskracht_Sterk property:headquarters_location ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1184218
Q13220204
USER
And what about Delica?
(Q1184218,P159,c(Q13220204))
action filter_type
action find
entity Q1184218
relation P159
type Q13220204
['Q1184218', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q1184218 property:P159 ?u . ?u rdf:type ontology:Q13220204 }
Delica
action filter_type
action find
entity Delica
relation headquarters location
type second-level administrative country subdivision
['Delica', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Delica property:headquarters_location ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q64665
SYSTEM
Birsfelden
Q64665
(Q1184218,P159,c(Q13220204))
action filter_type
action find
entity Q1184218
relation P159
type Q13220204
[ANSWER]
['Q1184218', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q1184218 property:P159 ?u . ?u rdf:type ontology:Q13220204 }
Birsfelden
Birsfelden
action filter_type
action find
entity Delica
relation headquarters location
type second-level administrative country subdivision
['Delica', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Delica property:headquarters_location ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64665
P190
Q13220204
USER
Which administrative country subdivision is twin town of that one ?
(c(Q13220204),P190,Q64665)
action filter_type
action find
entity Q64665
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q64665']
SELECT DISTINCT ?a WHERE { resource:Q64665 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Birsfelden
action filter_type
action find
entity Birsfelden
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Birsfelden']
SELECT DISTINCT ?a WHERE { resource:Birsfelden property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q65273
SYSTEM
Plan-les-Ouates
Q65273
(c(Q13220204),P190,Q64665)
action filter_type
action find
entity Q64665
relation P190
type Q13220204
[ANSWER] is twin town of that one
[{'concept': 'Q13220204'}, 'P190', 'Q64665']
SELECT DISTINCT ?a WHERE { resource:Q64665 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Plan-les-Ouates
Plan-les-Ouates is twin town of that one
Plan-les-Ouates
action filter_type
action find
entity Birsfelden
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Birsfelden']
SELECT DISTINCT ?a WHERE { resource:Birsfelden property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q65273 Q16105108
P20
Q502895
USER
Does A. C. Heidebrecht have that administrative country subdivision as the area of death ?
(Q16105108,P20,Q65273)
action is_in
entity Q16105108
action find
entity Q65273
relation P20
['Q16105108', 'P20', 'Q65273']
ASK WHERE { resource:Q65273 property:P20 resource:Q16105108 }
Plan-les-Ouates A. C. Heidebrecht
action is_in
entity A. C. Heidebrecht
action find
entity Plan-les-Ouates
relation place of death
['A. C. Heidebrecht', 'place of death', 'Plan-les-Ouates']
ASK WHERE { resource:Plan-les-Ouates property:place_of_death resource:A._C._Heidebrecht }
[]
common name
SYSTEM
NO
(Q16105108,P20,Q65273)
action is_in
entity Q16105108
action find
entity Q65273
relation P20
[ANSWER]
['Q16105108', 'P20', 'Q65273']
ASK WHERE { resource:Q65273 property:P20 resource:Q16105108 }
No
action is_in
entity A. C. Heidebrecht
action find
entity Plan-les-Ouates
relation place of death
['A. C. Heidebrecht', 'place of death', 'Plan-les-Ouates']
ASK WHERE { resource:Plan-les-Ouates property:place_of_death resource:A._C._Heidebrecht }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q811979 Q1076486 Q476028
USER
Which association football clubs have atleast 2 architectural structures or sports venues as their ground ?
(c(Q476028),P115,c(Q811979)|c(Q1076486))
action atleast
action union
action find_tuple_counts
relation P115
type Q476028
type Q811979
action find_tuple_counts
relation P115
type Q476028
type Q1076486
value 2
[{'concept': 'Q476028'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?z property:P115 ?b . ?z rdf:type ontology:Q476028 . ?b rdf:type ontology:Q811979 } UNION { ?z property:P115 ?b . ?z rdf:type ontology:Q476028 . ?b rdf:type ontology:Q1076486 } } GROUP BY ?z } . FILTER ( ?o >= 2 ) }
action atleast
action union
action find_tuple_counts
relation home venue
type association football club
type architectural structure
action find_tuple_counts
relation home venue
type association football club
type sports venue
value 2
[{'concept': 'association football club'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?z property:home_venue ?b . ?z rdf:type ontology:association_football_club . ?b rdf:type ontology:architectural_structure } UNION { ?z property:home_venue ?b . ?z rdf:type ontology:association_football_club . ?b rdf:type ontology:sports_venue } } GROUP BY ?z } . FILTER ( ?o >= 2 ) }
[]
architectural structure sports venue association football club
Q629344
SYSTEM
Blauw-Wit Amsterdam
Q629344
(c(Q476028),P115,c(Q811979)|c(Q1076486))
action atleast
action union
action find_tuple_counts
relation P115
type Q476028
type Q811979
action find_tuple_counts
relation P115
type Q476028
type Q1076486
value 2
[ANSWER] have atleast 2 architectural structures or sports venues as their ground
[{'concept': 'Q476028'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?z property:P115 ?b . ?z rdf:type ontology:Q476028 . ?b rdf:type ontology:Q811979 } UNION { ?z property:P115 ?b . ?z rdf:type ontology:Q476028 . ?b rdf:type ontology:Q1076486 } } GROUP BY ?z } . FILTER ( ?o >= 2 ) }
Blauw-Wit Amsterdam
Blauw-Wit Amsterdam have atleast 2 architectural structures or sports venues as their ground
Blauw-Wit Amsterdam
action atleast
action union
action find_tuple_counts
relation home venue
type association football club
type architectural structure
action find_tuple_counts
relation home venue
type association football club
type sports venue
value 2
[{'concept': 'association football club'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?z WHERE { { ?z property:home_venue ?b . ?z rdf:type ontology:association_football_club . ?b rdf:type ontology:architectural_structure } UNION { ?z property:home_venue ?b . ?z rdf:type ontology:association_football_club . ?b rdf:type ontology:sports_venue } } GROUP BY ?z } . FILTER ( ?o >= 2 ) }
[]