Simple Question (Direct)
Simple Question
Q1949208
P102
Q7210356
USER
Which party is Moses Kinkaid affiliated with ?
(Q1949208,P102,c(Q7210356))
action filter_type
action find
entity Q1949208
relation P102
type Q7210356
['Q1949208', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1949208 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Moses Kinkaid
action filter_type
action find
entity Moses Kinkaid
relation member of political party
type political organization
['Moses Kinkaid', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Moses_Kinkaid property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1949208,P102,c(Q7210356))
action filter_type
action find
entity Q1949208
relation P102
type Q7210356
Moses Kinkaid is affiliated with [ANSWER]
['Q1949208', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1949208 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Republican Party
Moses Kinkaid is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Moses Kinkaid
relation member of political party
type political organization
['Moses Kinkaid', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Moses_Kinkaid property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1949208
P39
Q12737077
USER
What was the position held by Moses Kinkaid ?
(Q1949208,P39,c(Q12737077))
action filter_type
action find
entity Q1949208
relation P39
type Q12737077
['Q1949208', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1949208 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Moses Kinkaid
action filter_type
action find
entity Moses Kinkaid
relation position held
type occupation
['Moses Kinkaid', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Moses_Kinkaid property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q1949208,P39,c(Q12737077))
action filter_type
action find
entity Q1949208
relation P39
type Q12737077
The position held by Moses Kinkaid was a [ANSWER]
['Q1949208', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1949208 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
United States representative
The position held by Moses Kinkaid was a United States representative
United States representative
action filter_type
action find
entity Moses Kinkaid
relation position held
type occupation
['Moses Kinkaid', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Moses_Kinkaid property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1949208
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q13218630,P19,c(Q56061))
action filter_type
action find
entity Q1949208
relation P19
type Q56061
['Q13218630', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1949208 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Moses Kinkaid
action filter_type
action find
entity Moses Kinkaid
relation place of birth
type administrative territorial entity
['United States representative', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Moses_Kinkaid property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q653636
SYSTEM
Morgantown
Q653636
(Q13218630,P19,c(Q56061))
action filter_type
action find
entity Q1949208
relation P19
type Q56061
That person was born in [ANSWER]
['Q13218630', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1949208 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Morgantown
That person was born in Morgantown
Morgantown
action filter_type
action find
entity Moses Kinkaid
relation place of birth
type administrative territorial entity
['United States representative', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Moses_Kinkaid property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q653636
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q653636,P17,c(Q15617994))
action filter_type
action find
entity Q653636
relation P17
type Q15617994
['Q653636', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q653636 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Morgantown
action filter_type
action find
entity Morgantown
relation country
type designation for an administrative territorial entity
['Morgantown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Morgantown property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q653636,P17,c(Q15617994))
action filter_type
action find
entity Q653636
relation P17
type Q15617994
That administrative territory is located the [ANSWER]
['Q653636', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q653636 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
That administrative territory is located the United States of America
United States of America
action filter_type
action find
entity Morgantown
relation country
type designation for an administrative territorial entity
['Morgantown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Morgantown property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with around 40 administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 40
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?x WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?x } . FILTER ( ?u = 40 ) }
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?x WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?x } . FILTER ( ?u = 40 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 40
[ANSWER] have tactful political relations with around 40 administrative territories and political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?x WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?x } . FILTER ( ?u = 40 ) }
Belarus
Belarus have tactful political relations with around 40 administrative territories and political territories
Belarus
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?x WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?x } . FILTER ( ?u = 40 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q2472587 Q271669 Q15617994
USER
Which administrative territories are named after max number of peoples or landforms ?
(c(Q15617994),P138,c(Q2472587)|c(Q271669))
action argmax
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?t WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2472587 ) ( ontology:Q271669 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?m WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2472587 ) ( ontology:Q271669 ) } } GROUP BY ?m } . FILTER ( ?p = ?r ) }
action argmax
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'landform'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?t WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:people ) ( ontology:landform ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?m WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:people ) ( ontology:landform ) } } GROUP BY ?m } . FILTER ( ?p = ?r ) }
[]
people landform designation for an administrative territorial entity
Q754
SYSTEM
Trinidad and Tobago
Q754
(c(Q15617994),P138,c(Q2472587)|c(Q271669))
action argmax
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q271669
[ANSWER] is named after max number of peoples or landforms
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?t WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2472587 ) ( ontology:Q271669 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?m WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2472587 ) ( ontology:Q271669 ) } } GROUP BY ?m } . FILTER ( ?p = ?r ) }
Trinidad and Tobago
Trinidad and Tobago is named after max number of peoples or landforms
Trinidad and Tobago
action argmax
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'landform'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?t WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:people ) ( ontology:landform ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?m WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:people ) ( ontology:landform ) } } GROUP BY ?m } . FILTER ( ?p = ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q42620
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with United States of America or Palestinian National Authority ?
(c(Q1048835),P530,Q30) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P530 resource:Q30 . ?a rdf:type ontology:Q1048835 } UNION { ?a property:P530 resource:Q42620 . ?a rdf:type ontology:Q1048835 } }
United States of America Palestinian National Authority
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:diplomatic_relation resource:United_States_of_America . ?a rdf:type ontology:political_territorial_entity } UNION { ?a property:diplomatic_relation resource:Palestinian_National_Authority . ?a rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
3
Q408 Q16 Q183
(c(Q1048835),P530,Q30) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P530 resource:Q30 . ?a rdf:type ontology:Q1048835 } UNION { ?a property:P530 resource:Q42620 . ?a rdf:type ontology:Q1048835 } }
Australia Canada Germany
3
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:diplomatic_relation resource:United_States_of_America . ?a rdf:type ontology:political_territorial_entity } UNION { ?a property:diplomatic_relation resource:Palestinian_National_Authority . ?a rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around 60 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?g ) WHERE { ?z property:P530 ?o . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?g = 60 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?g ) WHERE { ?z property:diplomatic_relation ?o . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?g = 60 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[ANSWER] have diplomatic relations with around 60 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?g ) WHERE { ?z property:P530 ?o . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?g = 60 ) }
Brazil
Brazil have diplomatic relations with around 60 administrative territories
Brazil
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?g ) WHERE { ?z property:diplomatic_relation ?o . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?g = 60 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P101
Q502895
USER
Which person has his/her area as Belarus ?
(c(Q502895),P101,Q184)
action filter_type
action find_reverse
entity Q184
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q184']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q184 . ?o rdf:type ontology:Q502895 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Belarus']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:Belarus . ?o rdf:type ontology:common_name }
[]
common name
Q22815253
SYSTEM
Virginie Symaniec
Q22815253
(c(Q502895),P101,Q184)
action filter_type
action find_reverse
entity Q184
relation P101
type Q502895
[ANSWER] has his/her area as Belarus
[{'concept': 'Q502895'}, 'P101', 'Q184']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q184 . ?o rdf:type ontology:Q502895 }
Virginie Symaniec
Virginie Symaniec has his/her area as Belarus
Virginie Symaniec
action filter_type
action find_reverse
entity Belarus
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Belarus']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:Belarus . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22815253
P512
Q189533
USER
Which academic degree does that person hold ?
(Q22815253,P512,c(Q189533))
action filter_type
action find
entity Q22815253
relation P512
type Q189533
['Q22815253', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?q WHERE { resource:Q22815253 property:P512 ?q . ?q rdf:type ontology:Q189533 }
Virginie Symaniec
action filter_type
action find
entity Virginie Symaniec
relation academic degree
type academic degree
['Virginie Symaniec', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?q WHERE { resource:Virginie_Symaniec property:academic_degree ?q . ?q rdf:type ontology:academic_degree }
[]
academic degree
Q3033550
SYSTEM
Doctorat (France)
Q3033550
(Q22815253,P512,c(Q189533))
action filter_type
action find
entity Q22815253
relation P512
type Q189533
That person holds a [ANSWER]
['Q22815253', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?q WHERE { resource:Q22815253 property:P512 ?q . ?q rdf:type ontology:Q189533 }
Doctorat (France)
That person holds a Doctorat (France)
Doctorat (France)
action filter_type
action find
entity Virginie Symaniec
relation academic degree
type academic degree
['Virginie Symaniec', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?q WHERE { resource:Virginie_Symaniec property:academic_degree ?q . ?q rdf:type ontology:academic_degree }
[]