Simple Question (Direct)
Simple Question
Q6252541
P20
Q56061
USER
Where did the demise of John Percival occur ?
(Q6252541,P20,c(Q56061))
action filter_type
action find
entity Q6252541
relation P20
type Q56061
['Q6252541', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6252541 property:P20 ?d . ?d rdf:type ontology:Q56061 }
John Percival
action filter_type
action find
entity John Percival
relation place of death
type administrative territorial entity
['John Percival', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Percival property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1024037
SYSTEM
Dorchester
Q1024037
(Q6252541,P20,c(Q56061))
action filter_type
action find
entity Q6252541
relation P20
type Q56061
The demise of John Percival occurred in [ANSWER]
['Q6252541', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6252541 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Dorchester
The demise of John Percival occurred in Dorchester
Dorchester
action filter_type
action find
entity John Percival
relation place of death
type administrative territorial entity
['John Percival', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Percival property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6252541
P241
Q781132
USER
Which military branch is that person associated with ?
(Q1024037,P241,c(Q781132))
action filter_type
action find
entity Q6252541
relation P241
type Q781132
['Q1024037', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { resource:Q6252541 property:P241 ?s . ?s rdf:type ontology:Q781132 }
John Percival
action filter_type
action find
entity John Percival
relation military branch
type military branch
['Dorchester', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { resource:John_Percival property:military_branch ?s . ?s rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q1024037,P241,c(Q781132))
action filter_type
action find
entity Q6252541
relation P241
type Q781132
That person is associated with [ANSWER]
['Q1024037', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { resource:Q6252541 property:P241 ?s . ?s rdf:type ontology:Q781132 }
United States Navy
That person is associated with United States Navy
United States Navy
action filter_type
action find
entity John Percival
relation military branch
type military branch
['Dorchester', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { resource:John_Percival property:military_branch ?s . ?s rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q13406554 Q15991303
USER
How many people were considered to be the statistical leader of atleast 7 sport competitions or association football leagues ?
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 7
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?d WHERE { { ?v property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q13406554 } UNION { ?v property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15991303 } } GROUP BY ?d } . FILTER ( ?k >= 7 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 7
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?d WHERE { { ?v property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:sport_competition } UNION { ?v property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:association_football_league } } GROUP BY ?d } . FILTER ( ?k >= 7 ) }
[]
common name sport competition association football league
SYSTEM
4
Q41421 Q182455 Q351862 Q43744
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 7
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?d WHERE { { ?v property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q13406554 } UNION { ?v property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15991303 } } GROUP BY ?d } . FILTER ( ?k >= 7 ) }
Michael Jordan Wilt Chamberlain Sotiris Kaiafas Gerd Müller
4
action count
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 7
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?d WHERE { { ?v property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:sport_competition } UNION { ?v property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:association_football_league } } GROUP BY ?d } . FILTER ( ?k >= 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6252541
P106
Q12737077
USER
Which occupation is the profession of John Percival ?
(Q6252541,P106,c(Q12737077))
action filter_type
action find
entity Q6252541
relation P106
type Q12737077
['Q6252541', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6252541 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
John Percival
action filter_type
action find
entity John Percival
relation occupation
type occupation
['John Percival', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:John_Percival property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q6252541,P106,c(Q12737077))
action filter_type
action find
entity Q6252541
relation P106
type Q12737077
The [ANSWER] is the profession of John Percival
['Q6252541', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6252541 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
officer
The officer is the profession of John Percival
officer
action filter_type
action find
entity John Percival
relation occupation
type occupation
['John Percival', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:John_Percival property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q189290 Q2253617
P106
Q502895
USER
Does Prince Thomas, Duke of Genoa have a job as that occupation ?
(Q2253617,P106,Q189290)
action is_in
entity Q189290
action find
entity Q2253617
relation P106
['Q2253617', 'P106', 'Q189290']
ASK WHERE { resource:Q2253617 property:P106 resource:Q189290 }
officer Prince Thomas, Duke of Genoa
action is_in
entity officer
action find
entity Prince Thomas, Duke of Genoa
relation occupation
['Prince Thomas, Duke of Genoa', 'occupation', 'officer']
ASK WHERE { resource:Prince_Thomas,_Duke_of_Genoa property:occupation resource:officer }
[]
common name
SYSTEM
YES
(Q2253617,P106,Q189290)
action is_in
entity Q189290
action find
entity Q2253617
relation P106
[ANSWER]
['Q2253617', 'P106', 'Q189290']
ASK WHERE { resource:Q2253617 property:P106 resource:Q189290 }
Yes
action is_in
entity officer
action find
entity Prince Thomas, Duke of Genoa
relation occupation
['Prince Thomas, Duke of Genoa', 'occupation', 'officer']
ASK WHERE { resource:Prince_Thomas,_Duke_of_Genoa property:occupation resource:officer }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1024037 Q52194 Q81544
P17
Q15617994
USER
Is Dorchester situated in Scorrano and San Gregorio Magno ?
(Q1024037,P17,Q52194) (Q1024037,P17,Q81544)
action is_in
entity Q1024037
action intersection
action find_reverse
entity Q52194
relation P17
action find_reverse
entity Q81544
relation P17
['Q1024037', 'P17', 'Q52194'] ['Q1024037', 'P17', 'Q81544']
ASK WHERE { resource:Q1024037 property:P17 resource:Q52194 . resource:Q1024037 property:P17 resource:Q81544 }
Dorchester Scorrano San Gregorio Magno
action is_in
entity Dorchester
action intersection
action find_reverse
entity Scorrano
relation country
action find_reverse
entity San Gregorio Magno
relation country
['Dorchester', 'country', 'Scorrano'] ['Dorchester', 'country', 'San Gregorio Magno']
ASK WHERE { resource:Dorchester property:country resource:Scorrano . resource:Dorchester property:country resource:San_Gregorio_Magno }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1024037,P17,Q52194) (Q1024037,P17,Q81544)
action is_in
entity Q1024037
action intersection
action find_reverse
entity Q52194
relation P17
action find_reverse
entity Q81544
relation P17
[ANSWER]
['Q1024037', 'P17', 'Q52194'] ['Q1024037', 'P17', 'Q81544']
ASK WHERE { resource:Q1024037 property:P17 resource:Q52194 . resource:Q1024037 property:P17 resource:Q81544 }
No
action is_in
entity Dorchester
action intersection
action find_reverse
entity Scorrano
relation country
action find_reverse
entity San Gregorio Magno
relation country
['Dorchester', 'country', 'Scorrano'] ['Dorchester', 'country', 'San Gregorio Magno']
ASK WHERE { resource:Dorchester property:country resource:Scorrano . resource:Dorchester property:country resource:San_Gregorio_Magno }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11220 Q30 Q111818
P17
Q15617994
USER
Is United States Navy located in United States of America and Misano Adriatico ?
(Q11220,P17,Q30) (Q11220,P17,Q111818)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q111818
relation P17
['Q11220', 'P17', 'Q30'] ['Q11220', 'P17', 'Q111818']
ASK WHERE { resource:Q11220 property:P17 resource:Q111818 . resource:Q11220 property:P17 resource:Q30 }
United States Navy United States of America Misano Adriatico
action is_in
entity United States Navy
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Misano Adriatico
relation country
['United States Navy', 'country', 'United States of America'] ['United States Navy', 'country', 'Misano Adriatico']
ASK WHERE { resource:United_States_Navy property:country resource:Misano_Adriatico . resource:United_States_Navy property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q11220,P17,Q30) (Q11220,P17,Q111818)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q111818
relation P17
[ANSWER]
['Q11220', 'P17', 'Q30'] ['Q11220', 'P17', 'Q111818']
ASK WHERE { resource:Q11220 property:P17 resource:Q111818 . resource:Q11220 property:P17 resource:Q30 }
YES and NO respectively
action is_in
entity United States Navy
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Misano Adriatico
relation country
['United States Navy', 'country', 'United States of America'] ['United States Navy', 'country', 'Misano Adriatico']
ASK WHERE { resource:United_States_Navy property:country resource:Misano_Adriatico . resource:United_States_Navy property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11220 Q7890766
P361
Q192350
USER
How many ministries are United States Navy or United States Mission to the United Nations a part of ?
(Q11220,P361,c(Q192350)) (Q7890766,P361,c(Q192350))
action count
action union
action filter_type
action find
entity Q11220
relation P361
type Q192350
action filter_type
action find
entity Q7890766
relation P361
type Q192350
['Q11220', 'P361', {'concept': 'Q192350'}] ['Q7890766', 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q11220 property:P361 ?r . ?r rdf:type ontology:Q192350 } UNION { resource:Q7890766 property:P361 ?r . ?r rdf:type ontology:Q192350 } }
United States Navy United States Mission to the United Nations
action count
action union
action filter_type
action find
entity United States Navy
relation part of
type ministry
action filter_type
action find
entity United States Mission to the United Nations
relation part of
type ministry
['United States Navy', 'part of', {'concept': 'ministry'}] ['United States Mission to the United Nations', 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:United_States_Navy property:part_of ?r . ?r rdf:type ontology:ministry } UNION { resource:United_States_Mission_to_the_United_Nations property:part_of ?r . ?r rdf:type ontology:ministry } }
[]
ministry
SYSTEM
2
Q742787 Q789915
(Q11220,P361,c(Q192350)) (Q7890766,P361,c(Q192350))
action count
action union
action filter_type
action find
entity Q11220
relation P361
type Q192350
action filter_type
action find
entity Q7890766
relation P361
type Q192350
[ANSWER]
['Q11220', 'P361', {'concept': 'Q192350'}] ['Q7890766', 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q11220 property:P361 ?r . ?r rdf:type ontology:Q192350 } UNION { resource:Q7890766 property:P361 ?r . ?r rdf:type ontology:Q192350 } }
United States Department of the Navy United States Department of State
2
action count
action union
action filter_type
action find
entity United States Navy
relation part of
type ministry
action filter_type
action find
entity United States Mission to the United Nations
relation part of
type ministry
['United States Navy', 'part of', {'concept': 'ministry'}] ['United States Mission to the United Nations', 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:United_States_Navy property:part_of ?r . ?r rdf:type ontology:ministry } UNION { resource:United_States_Mission_to_the_United_Nations property:part_of ?r . ?r rdf:type ontology:ministry } }
[]