Simple Question (Direct)
Simple Question
Q738380
P641
Q349
USER
What did Lee Peltier participate in ?
(Q738380,P641,c(Q349))
action filter_type
action find
entity Q738380
relation P641
type Q349
['Q738380', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q738380 property:P641 ?c . ?c rdf:type ontology:Q349 }
Lee Peltier
action filter_type
action find
entity Lee Peltier
relation sport
type sport
['Lee Peltier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Lee_Peltier property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q738380,P641,c(Q349))
action filter_type
action find
entity Q738380
relation P641
type Q349
Lee Peltier participated in [ANSWER]
['Q738380', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q738380 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Lee Peltier participated in association football
association football
action filter_type
action find
entity Lee Peltier
relation sport
type sport
['Lee Peltier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Lee_Peltier property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q738380
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q738380
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q738380 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Lee Peltier
action filter_type
action find
entity Lee Peltier
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Lee_Peltier property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q738380
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q738380 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Liverpool
That person was born in Liverpool
Liverpool
action filter_type
action find
entity Lee Peltier
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Lee_Peltier property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q24826,P190,c(Q56061))
action count
action filter_type
action find
entity Q24826
relation P190
type Q56061
['Q24826', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q24826 property:P190 ?s . ?s rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Liverpool
relation sister city
type administrative territorial entity
['Liverpool', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Liverpool property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
6
Q8686 Q6506 Q8678 Q365 Q1874 Q34370
(Q24826,P190,c(Q56061))
action count
action filter_type
action find
entity Q24826
relation P190
type Q56061
[ANSWER]
['Q24826', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q24826 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Shanghai Varna Rio de Janeiro Cologne Odessa Rotterdam
6
action count
action filter_type
action find
entity Liverpool
relation sister city
type administrative territorial entity
['Liverpool', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Liverpool property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P17
Q15617994
USER
Which administrative territory does Liverpool belong to ?
(Q24826,P17,c(Q15617994))
action filter_type
action find
entity Q24826
relation P17
type Q15617994
['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q24826 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Liverpool
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Liverpool property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q24826,P17,c(Q15617994))
action filter_type
action find
entity Q24826
relation P17
type Q15617994
Liverpool belongs to [ANSWER]
['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q24826 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
Liverpool belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Liverpool property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q142
P530
Q15617994
USER
Does France have diplomatic relations with that one ?
(Q145,P530,Q142)
action is_in
entity Q142
action find
entity Q145
relation P530
['Q145', 'P530', 'Q142']
ASK WHERE { resource:Q145 property:P530 resource:Q142 }
United Kingdom France
action is_in
entity France
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'France']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q145,P530,Q142)
action is_in
entity Q142
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q142']
ASK WHERE { resource:Q145 property:P530 resource:Q142 }
Yes
action is_in
entity France
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'France']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with approximately 7 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 7
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = 7 ) }
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 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = 7 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 7
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = 7 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
What is associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { resource:Q145 property:P163 ?k . ?k rdf:type ontology:Q14660 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { resource:United_Kingdom property:flag ?k . ?k rdf:type ontology:flag }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The [ANSWER] is associated with United Kingdom
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { resource:Q145 property:P163 ?k . ?k rdf:type ontology:Q14660 }
flag of the United Kingdom
The flag of the United Kingdom is associated with United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { resource:United_Kingdom property:flag ?k . ?k rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P915
Q15416
USER
Which television program was filmed at United Kingdom ?
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q145 . ?q rdf:type ontology:Q15416 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:United_Kingdom . ?q rdf:type ontology:television_program }
[]
television program
Q21427546
SYSTEM
Hunted
Q21427546
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
Were [ANSWER] was filmed at United Kingdom
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q145 . ?q rdf:type ontology:Q15416 }
Hunted
Were Hunted was filmed at United Kingdom
Hunted
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:United_Kingdom . ?q rdf:type ontology:television_program }
[]