Simple Question (Direct)
Simple Question
Q16236306
P641
Q349
USER
Which sport was James Loveridge a part of ?
(Q16236306,P641,c(Q349))
action filter_type
action find
entity Q16236306
relation P641
type Q349
['Q16236306', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q16236306 property:P641 ?p . ?p rdf:type ontology:Q349 }
James Loveridge
action filter_type
action find
entity James Loveridge
relation sport
type sport
['James Loveridge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:James_Loveridge property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16236306,P641,c(Q349))
action filter_type
action find
entity Q16236306
relation P641
type Q349
The [ANSWER] was James Loveridge a part of
['Q16236306', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q16236306 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The association football was James Loveridge a part of
association football
action filter_type
action find
entity James Loveridge
relation sport
type sport
['James Loveridge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:James_Loveridge property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16236306
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q16236306
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16236306 property:P27 ?s }
James Loveridge
action filter_type
action find
entity James Loveridge
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Loveridge property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q16236306
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16236306 property:P27 ?s }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity James Loveridge
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Loveridge property:country_of_citizenship ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q2342494
USER
How many administrative territories are the countries of origin of around the same number of musical ensembles or collectables as that administrative territory ?
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action count
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 Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q2088357
type Q2342494
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g rdf:type ontology:Q2088357 . ?o rdf:type ontology:Q15617994 . ?g property:P495 ?o } UNION { ?g property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:Q2088357 } UNION { ?u rdf:type ontology:Q2342494 } } . ?u property:P495 resource:Q145 } } . FILTER ( ?r = ?p ) }
action count
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 collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g rdf:type ontology:musical_ensemble . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country_of_origin ?o } UNION { ?g property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:musical_ensemble } UNION { ?u rdf:type ontology:collectable } } . ?u property:country_of_origin resource:United_Kingdom } } . FILTER ( ?r = ?p ) }
[]
designation for an administrative territorial entity musical ensemble collectable
SYSTEM
1
Q145
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action count
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 Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q2088357
type Q2342494
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g rdf:type ontology:Q2088357 . ?o rdf:type ontology:Q15617994 . ?g property:P495 ?o } UNION { ?g property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:Q2088357 } UNION { ?u rdf:type ontology:Q2342494 } } . ?u property:P495 resource:Q145 } } . FILTER ( ?r = ?p ) }
United Kingdom
1
action count
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 collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?r ) WHERE { { ?g rdf:type ontology:musical_ensemble . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country_of_origin ?o } UNION { ?g property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:musical_ensemble } UNION { ?u rdf:type ontology:collectable } } . ?u property:country_of_origin resource:United_Kingdom } } . FILTER ( ?r = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q804
P530
Q15617994 Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with greater number of administrative territories or political territories than Panama ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q804
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P530 resource:Q804 . { { ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q1048835 } } } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?x WHERE { { ?b property:P530 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } UNION { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } }
Panama
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Panama
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:diplomatic_relation resource:Panama . { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?x WHERE { { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q37 Q711 Q717 Q252 Q399 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 Q230 Q233 Q20 Q1041 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q916 Q833 Q1009 Q1008 Q971 Q79 Q77 Q878 Q774 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q804
relation P530
type Q15617994
type Q1048835
[ANSWERS] have diplomatic relations with greater number of administrative territories or political territories than Panama
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P530 resource:Q804 . { { ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q1048835 } } } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?x WHERE { { ?b property:P530 ?x . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } UNION { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia 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 Georgia Malta Norway Senegal Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Angola Malaysia Cameroon Côte d'Ivoire Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories or political territories than Panama
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Panama
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:diplomatic_relation resource:Panama . { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?h > ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?x WHERE { { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q971
P530
Q15617994 Q15617994 Q1048835
USER
And also tell me about Republic of the Congo?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q971
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?k WHERE { { ?s property:P530 ?k . ?s rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } UNION { ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 . ?s property:P530 ?k } } GROUP BY ?k } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q1048835 } } . ?a property:P530 resource:Q971 } } }
Republic of the Congo
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?k WHERE { { ?s property:diplomatic_relation ?k . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation ?k } } GROUP BY ?k } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:political_territorial_entity } } . ?a property:diplomatic_relation resource:Republic_of_the_Congo } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q27 Q1049 Q843 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q971
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?k WHERE { { ?s property:P530 ?k . ?s rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } UNION { ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 . ?s property:P530 ?k } } GROUP BY ?k } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q1048835 } } . ?a property:P530 resource:Q971 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Ireland Sudan Pakistan Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?k WHERE { { ?s property:diplomatic_relation ?k . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation ?k } } GROUP BY ?k } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:political_territorial_entity } } . ?a property:diplomatic_relation resource:Republic_of_the_Congo } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1747906
P17
Q484652
USER
Are Confederation situated in those administrative territories ?
(Q1747906,P17,Q38) (Q1747906,P17,Q155) (Q1747906,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1747906
relation P17
['Q1747906', 'P17', 'Q38'] ['Q1747906', 'P17', 'Q155'] ['Q1747906', 'P17', 'Q30']
ASK WHERE { resource:Q1747906 property:P17 ?u . VALUES ( ?u ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Confederation
action is_in
entity prev_answer
action find
entity Confederation
relation country
['Confederation', 'country', 'Italy'] ['Confederation', 'country', 'Brazil'] ['Confederation', 'country', 'United States of America']
ASK WHERE { resource:Confederation property:country ?u . VALUES ( ?u ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
international organization
SYSTEM
NO
(Q1747906,P17,Q38) (Q1747906,P17,Q155) (Q1747906,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1747906
relation P17
[ANSWER]
['Q1747906', 'P17', 'Q38'] ['Q1747906', 'P17', 'Q155'] ['Q1747906', 'P17', 'Q30']
ASK WHERE { resource:Q1747906 property:P17 ?u . VALUES ( ?u ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
No
action is_in
entity prev_answer
action find
entity Confederation
relation country
['Confederation', 'country', 'Italy'] ['Confederation', 'country', 'Brazil'] ['Confederation', 'country', 'United States of America']
ASK WHERE { resource:Confederation property:country ?u . VALUES ( ?u ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q4442237
P530
Q1048835
USER
Does Stepove have diplomatic relationships with United Kingdom ?
(Q145,P530,Q4442237)
action is_in
entity Q4442237
action find
entity Q145
relation P530
['Q145', 'P530', 'Q4442237']
ASK WHERE { resource:Q145 property:P530 resource:Q4442237 }
United Kingdom Stepove
action is_in
entity Stepove
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Stepove']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Stepove }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q4442237)
action is_in
entity Q4442237
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q4442237']
ASK WHERE { resource:Q145 property:P530 resource:Q4442237 }
No
action is_in
entity Stepove
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Stepove']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Stepove }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16236306 Q990125
P19
Q56061
USER
Is Llanelli the place of birth of that person ?
(Q16236306,P19,Q990125)
action is_in
entity Q990125
action find
entity Q16236306
relation P19
['Q16236306', 'P19', 'Q990125']
ASK WHERE { resource:Q16236306 property:P19 resource:Q990125 }
James Loveridge Llanelli
action is_in
entity Llanelli
action find
entity James Loveridge
relation place of birth
['James Loveridge', 'place of birth', 'Llanelli']
ASK WHERE { resource:James_Loveridge property:place_of_birth resource:Llanelli }
[]
administrative territorial entity
SYSTEM
YES
(Q16236306,P19,Q990125)
action is_in
entity Q990125
action find
entity Q16236306
relation P19
[ANSWER]
['Q16236306', 'P19', 'Q990125']
ASK WHERE { resource:Q16236306 property:P19 resource:Q990125 }
Yes
action is_in
entity Llanelli
action find
entity James Loveridge
relation place of birth
['James Loveridge', 'place of birth', 'Llanelli']
ASK WHERE { resource:James_Loveridge property:place_of_birth resource:Llanelli }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16236306
P106
Q12737077
USER
How many occupations have James Loveridge as his/her as a career ?
(Q16236306,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16236306
relation P106
type Q12737077
['Q16236306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16236306 property:P106 ?b }
James Loveridge
action count
action filter_type
action find
entity James Loveridge
relation occupation
type occupation
['James Loveridge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:occupation . resource:James_Loveridge property:occupation ?b }
[]
occupation
SYSTEM
1
Q937857
(Q16236306,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16236306
relation P106
type Q12737077
[ANSWER]
['Q16236306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16236306 property:P106 ?b }
association football player
1
action count
action filter_type
action find
entity James Loveridge
relation occupation
type occupation
['James Loveridge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:occupation . resource:James_Loveridge property:occupation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16236306
P106
Q12737077
USER
What is the job of that person ?
action filter_type
action find
entity Q16236306
relation P106
type Q12737077
SELECT DISTINCT ?t WHERE { resource:Q16236306 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
James Loveridge
action filter_type
action find
entity James Loveridge
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:James_Loveridge property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
action filter_type
action find
entity Q16236306
relation P106
type Q12737077
The job of that person is an [ANSWER]
SELECT DISTINCT ?t WHERE { resource:Q16236306 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity James Loveridge
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:James_Loveridge property:occupation ?t . ?t rdf:type ontology:occupation }
[]