Simple Question (Direct)
Simple Question
Q18630849
P641
Q349
USER
What was the sport that Matt Kingsley was a part of ?
(Q18630849,P641,c(Q349))
action filter_type
action find
entity Q18630849
relation P641
type Q349
['Q18630849', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q18630849 property:P641 ?a }
Matt Kingsley
action filter_type
action find
entity Matt Kingsley
relation sport
type sport
['Matt Kingsley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Matt_Kingsley property:sport ?a }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q18630849,P641,c(Q349))
action filter_type
action find
entity Q18630849
relation P641
type Q349
The sport that Matt Kingsley was a part of was h [ANSWER]
['Q18630849', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q18630849 property:P641 ?a }
basketball
The sport that Matt Kingsley was a part of was h basketball
basketball
action filter_type
action find
entity Matt Kingsley
relation sport
type sport
['Matt Kingsley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Matt_Kingsley property:sport ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18630849
P69
Q159334
USER
What is the secondary school where Matt Kingsley was educated ?
(Q18630849,P69,c(Q159334))
action filter_type
action find
entity Q18630849
relation P69
type Q159334
['Q18630849', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?e WHERE { resource:Q18630849 property:P69 ?e . ?e rdf:type ontology:Q159334 }
Matt Kingsley
action filter_type
action find
entity Matt Kingsley
relation educated at
type secondary school
['Matt Kingsley', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?e WHERE { resource:Matt_Kingsley property:educated_at ?e . ?e rdf:type ontology:secondary_school }
[]
secondary school
Q5200321
SYSTEM
Cypress Creek High School
Q5200321
(Q18630849,P69,c(Q159334))
action filter_type
action find
entity Q18630849
relation P69
type Q159334
The secondary school Matt Kingsley was educated is at [ANSWER]
['Q18630849', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?e WHERE { resource:Q18630849 property:P69 ?e . ?e rdf:type ontology:Q159334 }
Cypress Creek High School
The secondary school Matt Kingsley was educated is at Cypress Creek High School
Cypress Creek High School
action filter_type
action find
entity Matt Kingsley
relation educated at
type secondary school
['Matt Kingsley', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?e WHERE { resource:Matt_Kingsley property:educated_at ?e . ?e rdf:type ontology:secondary_school }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q108429
P366
Q349 Q6671777 Q8205328
USER
How many sports are considered as the main functionality of lesser number of structures or artefacts than archery ?
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q108429
relation P366
type Q6671777
type Q8205328
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q6671777 ) ( ontology:Q8205328 ) } . ?o rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P366 resource:Q108429 . { { ?b rdf:type ontology:Q6671777 } UNION { ?b rdf:type ontology:Q8205328 } } } } . FILTER ( ?u < ?p ) }
archery
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity archery
relation use
type structure
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?s WHERE { VALUES ( ?z ) { ( ontology:structure ) ( ontology:artefact ) } . ?o rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:use resource:archery . { { ?b rdf:type ontology:structure } UNION { ?b rdf:type ontology:artefact } } } } . FILTER ( ?u < ?p ) }
[]
sport structure artefact
SYSTEM
19
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q108429
relation P366
type Q6671777
type Q8205328
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q6671777 ) ( ontology:Q8205328 ) } . ?o rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P366 resource:Q108429 . { { ?b rdf:type ontology:Q6671777 } UNION { ?b rdf:type ontology:Q8205328 } } } } . FILTER ( ?u < ?p ) }
rallying basketball handball volleyball shooting sport bandy cross country running air racing gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
19
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity archery
relation use
type structure
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?s WHERE { VALUES ( ?z ) { ( ontology:structure ) ( ontology:artefact ) } . ?o rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:use resource:archery . { { ?b rdf:type ontology:structure } UNION { ?b rdf:type ontology:artefact } } } } . FILTER ( ?u < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14300548
P366
Q349 Q6671777 Q8205328
USER
And how about skating?
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q6671777
type Q8205328
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:Q8205328 ) ( ontology:Q6671777 ) } . ?y rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P366 resource:Q14300548 . { { ?i rdf:type ontology:Q6671777 } UNION { ?i rdf:type ontology:Q8205328 } } } } . FILTER ( ?d < ?f ) }
skating
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type structure
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:artefact ) ( ontology:structure ) } . ?y rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:use resource:skating . { { ?i rdf:type ontology:structure } UNION { ?i rdf:type ontology:artefact } } } } . FILTER ( ?d < ?f ) }
[]
sport structure artefact
SYSTEM
19
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q6671777
type Q8205328
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:Q8205328 ) ( ontology:Q6671777 ) } . ?y rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P366 resource:Q14300548 . { { ?i rdf:type ontology:Q6671777 } UNION { ?i rdf:type ontology:Q8205328 } } } } . FILTER ( ?d < ?f ) }
rallying basketball handball volleyball shooting sport bandy cross country running air racing gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
19
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type structure
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:artefact ) ( ontology:structure ) } . ?y rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:use resource:skating . { { ?i rdf:type ontology:structure } UNION { ?i rdf:type ontology:artefact } } } } . FILTER ( ?d < ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3135090 Q18630849
P27
Q15617994
USER
Which administrative territories do Matt Kingsley or Hey Puthong belong to ?
OR((Q18630849,P27,c(Q15617994)), (Q3135090,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18630849
relation P27
action find
entity Q3135090
relation P27
type Q15617994
{'OR': [['Q18630849', 'P27', {'concept': 'Q15617994'}], ['Q3135090', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18630849 property:P27 ?n } UNION { resource:Q3135090 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Hey Puthong Matt Kingsley
action filter_type
action union
action find
entity Matt Kingsley
relation country of citizenship
action find
entity Hey Puthong
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matt Kingsley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hey Puthong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Matt_Kingsley property:country_of_citizenship ?n } UNION { resource:Hey_Puthong property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q424
SYSTEM
United States of America, Cambodia
Q30 Q424
OR((Q18630849,P27,c(Q15617994)), (Q3135090,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18630849
relation P27
action find
entity Q3135090
relation P27
type Q15617994
Matt Kingsley or Hey Puthong belong to [ANSWERS]
{'OR': [['Q18630849', 'P27', {'concept': 'Q15617994'}], ['Q3135090', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18630849 property:P27 ?n } UNION { resource:Q3135090 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Cambodia
Matt Kingsley or Hey Puthong belong to United States of America and Cambodia
United States of America Cambodia
action filter_type
action union
action find
entity Matt Kingsley
relation country of citizenship
action find
entity Hey Puthong
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matt Kingsley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hey Puthong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Matt_Kingsley property:country_of_citizenship ?n } UNION { resource:Hey_Puthong property:country_of_citizenship ?n } } . ?n 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 holds diplomatic relationship with around 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P530 ?w . ?c rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?d = 8 ) }
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:diplomatic_relation ?w . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?d = 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
134
Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P530 ?w . ?c rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?d = 8 ) }
Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela 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 Barbados Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan 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 Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
134
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:diplomatic_relation ?w . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?d = 8 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q152582
P710
Q1190554
USER
How many events did United States of America and Free France participate in ?
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q152582)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q152582
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q152582']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q1190554 . ?q property:P710 resource:Q30 . ?q property:P710 resource:Q152582 . ?q rdf:type ontology:Q1190554 }
United States of America Free France
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Free France
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Free France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:event . ?q property:participant resource:United_States_of_America . ?q property:participant resource:Free_France . ?q rdf:type ontology:event }
[]
event
SYSTEM
2
Q218678 Q16470
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q152582)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q152582
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q152582']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q1190554 . ?q property:P710 resource:Q30 . ?q property:P710 resource:Q152582 . ?q rdf:type ontology:Q1190554 }
North African Campaign Normandy landings
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Free France
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Free France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:event . ?q property:participant resource:United_States_of_America . ?q property:participant resource:Free_France . ?q rdf:type ontology:event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1000
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with less number of administrative territories than Gabon ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { FILTER ( ?i < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q1000 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } }
Gabon
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { FILTER ( ?i < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Gabon property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { FILTER ( ?i < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q1000 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } }
Solomon Islands Papua New Guinea
2
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { FILTER ( ?i < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Gabon property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q1048835 Q15617994
USER
And also tell me about Austria?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q40 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?w } }
Austria
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Austria property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
9
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q40 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?w } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
9
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Austria property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q21
P38
Q8142
USER
How many currencies are used as the currencies of United States of America or England ?
(Q30,P38,c(Q8142)) (Q21,P38,c(Q8142))
action count
action union
action filter_type
action find
entity Q30
relation P38
type Q8142
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}] ['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { resource:Q30 property:P38 ?n . ?n rdf:type ontology:Q8142 } UNION { resource:Q21 property:P38 ?n . ?n rdf:type ontology:Q8142 } }
United States of America England
action count
action union
action filter_type
action find
entity United States of America
relation currency
type currency
action filter_type
action find
entity England
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}] ['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { resource:United_States_of_America property:currency ?n . ?n rdf:type ontology:currency } UNION { resource:England property:currency ?n . ?n rdf:type ontology:currency } }
[]
currency
SYSTEM
2
Q25224 Q4917
(Q30,P38,c(Q8142)) (Q21,P38,c(Q8142))
action count
action union
action filter_type
action find
entity Q30
relation P38
type Q8142
action filter_type
action find
entity Q21
relation P38
type Q8142
[ANSWER]
['Q30', 'P38', {'concept': 'Q8142'}] ['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { resource:Q30 property:P38 ?n . ?n rdf:type ontology:Q8142 } UNION { resource:Q21 property:P38 ?n . ?n rdf:type ontology:Q8142 } }
pound sterling United States dollar
2
action count
action union
action filter_type
action find
entity United States of America
relation currency
type currency
action filter_type
action find
entity England
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}] ['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { resource:United_States_of_America property:currency ?n . ?n rdf:type ontology:currency } UNION { resource:England property:currency ?n . ?n rdf:type ontology:currency } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P136
Q2342494
USER
Which collectable as that administrative territory as its category ?
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q30 . ?z rdf:type ontology:Q2342494 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
SELECT DISTINCT ?z WHERE { ?z property:genre resource:United_States_of_America . ?z rdf:type ontology:collectable }
[]
collectable
Q7979149
SYSTEM
Wedge: The Secret War between the FBI and CIA
Q7979149
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[ANSWER]
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q30 . ?z rdf:type ontology:Q2342494 }
Wedge: The Secret War between the FBI and CIA
Wedge: The Secret War between the FBI and CIA
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
SELECT DISTINCT ?z WHERE { ?z property:genre resource:United_States_of_America . ?z rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is the etymology of that administrative territory ?
(Q7979149,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q7979149', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P138 ?x . ?x rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['Wedge: The Secret War between the FBI and CIA', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:named_after ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q7979149,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
[ANSWER]
['Q7979149', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P138 ?x . ?x rdf:type ontology:Q2221906 }
Americas
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['Wedge: The Secret War between the FBI and CIA', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:named_after ?x . ?x rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q828
P361
Q484298
USER
Which surface is that geographic location a part of ?
(Q828,P361,c(Q484298))
action filter_type
action find
entity Q828
relation P361
type Q484298
['Q828', 'P361', {'concept': 'Q484298'}]
SELECT DISTINCT ?i WHERE { resource:Q828 property:P361 ?i . ?i rdf:type ontology:Q484298 }
Americas
action filter_type
action find
entity Americas
relation part of
type surface
['Americas', 'part of', {'concept': 'surface'}]
SELECT DISTINCT ?i WHERE { resource:Americas property:part_of ?i . ?i rdf:type ontology:surface }
[]
surface
Q1349417
SYSTEM
Earth's surface
Q1349417
(Q828,P361,c(Q484298))
action filter_type
action find
entity Q828
relation P361
type Q484298
[ANSWER]
['Q828', 'P361', {'concept': 'Q484298'}]
SELECT DISTINCT ?i WHERE { resource:Q828 property:P361 ?i . ?i rdf:type ontology:Q484298 }
Earth's surface
Earth's surface
action filter_type
action find
entity Americas
relation part of
type surface
['Americas', 'part of', {'concept': 'surface'}]
SELECT DISTINCT ?i WHERE { resource:Americas property:part_of ?i . ?i rdf:type ontology:surface }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1532
Q502895
USER
Which people play for United States of America ?
(c(Q502895),P1532,Q30)
action filter_type
action find_reverse
entity Q30
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P1532 resource:Q30 . ?y rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:country_for_sport resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
common name
Q25893330 Q24256226 Q22751947
SYSTEM
Leonard Essau Korir, Roland McGhee, Sharon Couch
Q20729960 Q23658063 Q25915450 Q746477 Q21470974 Q11702974 Q25350184 Q23306222 Q23771293 Q20727830 Q25893375 Q21642724 Q24951533 Q23772388 Q24893052 Q23774398 Q23043635 Q16211626 Q25909388 Q26018246 Q24001915 Q25350692 Q6758711 Q23043633 Q25861088 Q22751947 Q22667421 Q25915600 Q24150830 Q23047595 Q4909212 Q22341605 Q23479384 Q26160493 Q23479504 Q25915537 Q24006480 Q20827839 Q23031872 Q26405994 Q25768282 Q24852516 Q21735912 Q21501633 Q26132285 Q21683921 Q25893328 Q23907406 Q6721061 Q25893000 Q22002442 Q25893330 Q9310362 Q26217996 Q6162247 Q13562889 Q5363684 Q21623144 Q25803631 Q16210747 Q23308048 Q27642893 Q23043631 Q23308124 Q25909407 Q3007808 Q25861104 Q25909425 Q24256226 Q20524610 Q23766543 Q9324132 Q22083504 Q23009372 Q25999135 Q26111360 Q16299090 Q24955939 Q3518887 Q23658061 Q23319245 Q21402245 Q23801154 Q2224177 Q26015633
(c(Q502895),P1532,Q30)
action filter_type
action find_reverse
entity Q30
relation P1532
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1532', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P1532 resource:Q30 . ?y rdf:type ontology:Q502895 }
Aaron Russell Spencer Adams Cale Simmons Kylie Hutson Emma Bates Gwen Berry Christian Coleman Quanera Hayes Gwen Gardner Ameer Webb Byron Robinson Matt Llano Chris Benard Dawane Wallace Tia Jones Derrick Williams Terrance Herrington Deworski Odom Lexi Weeks Marc Sylvester Neely Spence Gracey Chrishuna Williams Mardy Scales Mike Sayenko Raven Saunders Sharon Couch Molly Watcke Andrew Evans Gordon McKee Yolanda Henry Bill Green Cheryl Taplin Jim Spisak Josephus Lyles Kellyn Taylor Logan Cunningham Barbara Perry Herb Lindsay Stanley Redwine Anthony Peters Heather Miller Tony Migliozzi Angie Vaughn Randy Will Kendall Sheffield Caleb Jones Felisha Johnson James Farmer Maalik Reynolds Rudy Winkler Max King Leonard Essau Korir Ricky Robertson McKayla Fricker Jason Colwick Juliana Yendork Elizabeth Wanless Jessica Tonn Deajah Stevens Jason Lunn Christopher Giesting Nick Rogers Fasil Bizuneh Sam Mattis Kali Davis-White Curtis Johnson Maggie Malone Tavis Bailey Roland McGhee Hendrik Blok James Butler Russell Winger Dawn Bowles Ellison Goodall Deakin Volz Wilbert London Steve Holman Sydney McLaughlin Terry Brahm Brianne Nelson Alphonso Jordan Emily Sisson Ben Blankenship Sara Hall Paige Kouba
Leonard Essau Korir Roland McGhee Sharon Couch
action filter_type
action find_reverse
entity United States of America
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:country_for_sport resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
What people are United States of America the head of goverment of ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P6 ?u . ?u rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]