Simple Question (Direct)
Simple Question
Q16332903
P241
Q781132
USER
Which military branch was Georgios Tombazis a part of ?
(Q16332903,P241,c(Q781132))
action filter_type
action find
entity Q16332903
relation P241
type Q781132
['Q16332903', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q16332903 property:P241 ?t . ?t rdf:type ontology:Q781132 }
Georgios Tombazis
action filter_type
action find
entity Georgios Tombazis
relation military branch
type military branch
['Georgios Tombazis', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Georgios_Tombazis property:military_branch ?t . ?t rdf:type ontology:military_branch }
[]
military branch
Q1129369
SYSTEM
Hellenic Navy
Q1129369
(Q16332903,P241,c(Q781132))
action filter_type
action find
entity Q16332903
relation P241
type Q781132
[ANSWER] was Georgios Tombazis a part of
['Q16332903', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q16332903 property:P241 ?t . ?t rdf:type ontology:Q781132 }
Hellenic Navy
Hellenic Navy was Georgios Tombazis a part of
Hellenic Navy
action filter_type
action find
entity Georgios Tombazis
relation military branch
type military branch
['Georgios Tombazis', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Georgios_Tombazis property:military_branch ?t . ?t rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1129369
P417
Q502895
USER
Which person is the patron saint of that military branch ?
(Q1129369,P417,c(Q502895))
action filter_type
action find
entity Q1129369
relation P417
type Q502895
['Q1129369', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1129369 property:P417 ?r . ?r rdf:type ontology:Q502895 }
Hellenic Navy
action filter_type
action find
entity Hellenic Navy
relation patron saint
type common name
['Hellenic Navy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Hellenic_Navy property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
common name
Q44269
SYSTEM
Saint Nicholas
Q44269
(Q1129369,P417,c(Q502895))
action filter_type
action find
entity Q1129369
relation P417
type Q502895
[ANSWER] is the patron saint of that military branch
['Q1129369', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1129369 property:P417 ?r . ?r rdf:type ontology:Q502895 }
Saint Nicholas
Saint Nicholas is the patron saint of that military branch
Saint Nicholas
action filter_type
action find
entity Hellenic Navy
relation patron saint
type common name
['Hellenic Navy', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Hellenic_Navy property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q44269 Q5801474 Q7400478
P19
Q56061
USER
Does that person have birthplace at Patak-e Beygdeli and Sain, Sareyn ?
(Q44269,P19,Q5801474) (Q44269,P19,Q7400478)
action is_in
entity Q44269
action intersection
action find_reverse
entity Q5801474
relation P19
action find_reverse
entity Q7400478
relation P19
['Q44269', 'P19', 'Q5801474'] ['Q44269', 'P19', 'Q7400478']
ASK WHERE { resource:Q44269 property:P19 resource:Q5801474 . resource:Q44269 property:P19 resource:Q7400478 }
Saint Nicholas Patak-e Beygdeli Sain, Sareyn
action is_in
entity Saint Nicholas
action intersection
action find_reverse
entity Patak-e Beygdeli
relation place of birth
action find_reverse
entity Sain, Sareyn
relation place of birth
['Saint Nicholas', 'place of birth', 'Patak-e Beygdeli'] ['Saint Nicholas', 'place of birth', 'Sain, Sareyn']
ASK WHERE { resource:Saint_Nicholas property:place_of_birth resource:Patak-e_Beygdeli . resource:Saint_Nicholas property:place_of_birth resource:Sain,_Sareyn }
[]
administrative territorial entity
SYSTEM
NO
(Q44269,P19,Q5801474) (Q44269,P19,Q7400478)
action is_in
entity Q44269
action intersection
action find_reverse
entity Q5801474
relation P19
action find_reverse
entity Q7400478
relation P19
[ANSWER]
['Q44269', 'P19', 'Q5801474'] ['Q44269', 'P19', 'Q7400478']
ASK WHERE { resource:Q44269 property:P19 resource:Q5801474 . resource:Q44269 property:P19 resource:Q7400478 }
No
action is_in
entity Saint Nicholas
action intersection
action find_reverse
entity Patak-e Beygdeli
relation place of birth
action find_reverse
entity Sain, Sareyn
relation place of birth
['Saint Nicholas', 'place of birth', 'Patak-e Beygdeli'] ['Saint Nicholas', 'place of birth', 'Sain, Sareyn']
ASK WHERE { resource:Saint_Nicholas property:place_of_birth resource:Patak-e_Beygdeli . resource:Saint_Nicholas property:place_of_birth resource:Sain,_Sareyn }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1129369 Q5182267
P17
Q15617994
USER
Is Hellenic Navy present in Cranston School District ?
(Q1129369,P17,Q5182267)
action is_in
entity Q5182267
action find
entity Q1129369
relation P17
['Q1129369', 'P17', 'Q5182267']
ASK WHERE { resource:Q1129369 property:P17 resource:Q5182267 }
Hellenic Navy Cranston School District
action is_in
entity Cranston School District
action find
entity Hellenic Navy
relation country
['Hellenic Navy', 'country', 'Cranston School District']
ASK WHERE { resource:Hellenic_Navy property:country resource:Cranston_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1129369,P17,Q5182267)
action is_in
entity Q5182267
action find
entity Q1129369
relation P17
[ANSWER]
['Q1129369', 'P17', 'Q5182267']
ASK WHERE { resource:Q1129369 property:P17 resource:Q5182267 }
No
action is_in
entity Cranston School District
action find
entity Hellenic Navy
relation country
['Hellenic Navy', 'country', 'Cranston School District']
ASK WHERE { resource:Hellenic_Navy property:country resource:Cranston_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q44269 Q2277
P2348
Q3024240
USER
Did Saint Nicholas take place Roman Empire ?
(Q44269,P2348,Q2277)
action is_in
entity Q2277
action find
entity Q44269
relation P2348
['Q44269', 'P2348', 'Q2277']
ASK WHERE { resource:Q44269 property:P2348 resource:Q2277 }
Saint Nicholas Roman Empire
action is_in
entity Roman Empire
action find
entity Saint Nicholas
relation period
['Saint Nicholas', 'period', 'Roman Empire']
ASK WHERE { resource:Saint_Nicholas property:period resource:Roman_Empire }
[]
former country
SYSTEM
YES
(Q44269,P2348,Q2277)
action is_in
entity Q2277
action find
entity Q44269
relation P2348
[ANSWER]
['Q44269', 'P2348', 'Q2277']
ASK WHERE { resource:Q44269 property:P2348 resource:Q2277 }
Yes
action is_in
entity Roman Empire
action find
entity Saint Nicholas
relation period
['Saint Nicholas', 'period', 'Roman Empire']
ASK WHERE { resource:Saint_Nicholas property:period resource:Roman_Empire }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P110
Q502895 Q2342494 Q571
USER
Which people had done the illustration of max number of collectables and books ?
(c(Q2342494)|c(Q571),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P110 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q571 } UNION { ?m property:P110 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } GROUP BY ?c } . FILTER ( ?p = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:illustrator ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:book } UNION { ?m property:illustrator ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:collectable } } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:book ) } } GROUP BY ?c } . FILTER ( ?p = ?g ) }
[]
common name collectable book
Q2831042
SYSTEM
Albert Chazelle
Q2831042
(c(Q2342494)|c(Q571),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
[ANSWER] had done the illustration of max number of collectables and books
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P110 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q571 } UNION { ?m property:P110 ?u . ?u rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } GROUP BY ?c } . FILTER ( ?p = ?g ) }
Albert Chazelle
Albert Chazelle had done the illustration of max number of collectables and books
Albert Chazelle
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:illustrator ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:book } UNION { ?m property:illustrator ?u . ?u rdf:type ontology:common_name . ?m rdf:type ontology:collectable } } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:book ) } } GROUP BY ?c } . FILTER ( ?p = ?g ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2831042 Q8199988
P110
Q2342494
USER
Was The Clue in the Diary illustrated by that person ?
(Q8199988,P110,Q2831042)
action is_in
entity Q2831042
action find
entity Q8199988
relation P110
['Q8199988', 'P110', 'Q2831042']
ASK WHERE { resource:Q8199988 property:P110 resource:Q2831042 }
Albert Chazelle The Clue in the Diary
action is_in
entity Albert Chazelle
action find
entity The Clue in the Diary
relation illustrator
['The Clue in the Diary', 'illustrator', 'Albert Chazelle']
ASK WHERE { resource:The_Clue_in_the_Diary property:illustrator resource:Albert_Chazelle }
[]
collectable
SYSTEM
YES
(Q8199988,P110,Q2831042)
action is_in
entity Q2831042
action find
entity Q8199988
relation P110
[ANSWER]
['Q8199988', 'P110', 'Q2831042']
ASK WHERE { resource:Q8199988 property:P110 resource:Q2831042 }
Yes
action is_in
entity Albert Chazelle
action find
entity The Clue in the Diary
relation illustrator
['The Clue in the Diary', 'illustrator', 'Albert Chazelle']
ASK WHERE { resource:The_Clue_in_the_Diary property:illustrator resource:Albert_Chazelle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2831042
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q2831042
relation P21
type Q290
SELECT DISTINCT ?r WHERE { resource:Q2831042 property:P21 ?r . ?r rdf:type ontology:Q290 }
Albert Chazelle
action filter_type
action find
entity Albert Chazelle
relation gender
type sex
SELECT DISTINCT ?r WHERE { resource:Albert_Chazelle property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q2831042
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q2831042 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Albert Chazelle
relation gender
type sex
SELECT DISTINCT ?r WHERE { resource:Albert_Chazelle property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2831042
P20
Q56061
USER
Where did that person expire ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q2831042
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2831042 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Albert Chazelle
action filter_type
action find
entity Albert Chazelle
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Albert_Chazelle property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q2831042
relation P20
type Q56061
That person expired in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q2831042 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Paris
That person expired in Paris
Paris
action filter_type
action find
entity Albert Chazelle
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Albert_Chazelle property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q7275 Q15617994
USER
How many states or administrative territories have that administrative territory as their capital ?
(c(Q7275),P36,Q90) (c(Q15617994),P36,Q90) (c(Q7275),P36,Q90) (c(Q15617994),P36,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P36
type Q7275
action filter_type
action find_reverse
entity Q90
relation P36
type Q15617994
[{'concept': 'Q7275'}, 'P36', 'Q90'] [{'concept': 'Q15617994'}, 'P36', 'Q90'] [{'concept': 'Q7275'}, 'P36', 'Q90'] [{'concept': 'Q15617994'}, 'P36', 'Q90']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } . ?x rdf:type ?l }
action count
action union
action filter_type
action find_reverse
entity Paris
relation capital
type state
action filter_type
action find_reverse
entity Paris
relation capital
type designation for an administrative territorial entity
[{'concept': 'state'}, 'capital', 'Paris'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Paris'] [{'concept': 'state'}, 'capital', 'Paris'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Paris']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?l }
[]
state designation for an administrative territorial entity
SYSTEM
6
Q207162 Q142 Q70972 Q71092 Q106577 Q1142326
(c(Q7275),P36,Q90) (c(Q15617994),P36,Q90) (c(Q7275),P36,Q90) (c(Q15617994),P36,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P36
type Q7275
action filter_type
action find_reverse
entity Q90
relation P36
type Q15617994
[ANSWER]
[{'concept': 'Q7275'}, 'P36', 'Q90'] [{'concept': 'Q15617994'}, 'P36', 'Q90'] [{'concept': 'Q7275'}, 'P36', 'Q90'] [{'concept': 'Q15617994'}, 'P36', 'Q90']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } . ?x rdf:type ?l }
Bourbon Restoration France Kingdom of France Second French Empire Neustria Seine
6
action count
action union
action filter_type
action find_reverse
entity Paris
relation capital
type state
action filter_type
action find_reverse
entity Paris
relation capital
type designation for an administrative territorial entity
[{'concept': 'state'}, 'capital', 'Paris'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Paris'] [{'concept': 'state'}, 'capital', 'Paris'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Paris']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?l }
[]