Simple Question (Direct)
Simple Question
Q3479205
P69
Q874405
USER
What is the social group where Serge Bilé was educated ?
(Q3479205,P69,c(Q874405))
action filter_type
action find
entity Q3479205
relation P69
type Q874405
['Q3479205', 'P69', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q3479205 property:P69 ?k }
Serge Bilé
action filter_type
action find
entity Serge Bilé
relation educated at
type social group
['Serge Bilé', 'educated at', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Serge_Bilé property:educated_at ?k }
[]
social group
Q3578450
SYSTEM
Lille school of journalism - École supérieure de journalisme de Lille
Q3578450
(Q3479205,P69,c(Q874405))
action filter_type
action find
entity Q3479205
relation P69
type Q874405
The social group Serge Bilé was educated is the Lille school of journalism-École supérieure de journalisme de Lille
['Q3479205', 'P69', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q3479205 property:P69 ?k }
Lille school of journalism - École supérieure de journalisme de Lille
The social group Serge Bilé was educated is the Lille school of journalism-École supérieure de journalisme de Lille
Lille school of journalism - École supérieure de journalisme de Lille
action filter_type
action find
entity Serge Bilé
relation educated at
type social group
['Serge Bilé', 'educated at', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Serge_Bilé property:educated_at ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3479205
P106
Q12737077
USER
Which occupation is the profession of Serge Bilé ?
(Q3479205,P106,c(Q12737077))
action filter_type
action find
entity Q3479205
relation P106
type Q12737077
['Q3479205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3479205 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Serge Bilé
action filter_type
action find
entity Serge Bilé
relation occupation
type occupation
['Serge Bilé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Serge_Bilé property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q3479205,P106,c(Q12737077))
action filter_type
action find
entity Q3479205
relation P106
type Q12737077
The [ANSWER] is the profession of Serge Bilé
['Q3479205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3479205 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
journalist
The journalist is the profession of Serge Bilé
journalist
action filter_type
action find
entity Serge Bilé
relation occupation
type occupation
['Serge Bilé', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Serge_Bilé property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3479205
P21
Q290
USER
Which sex does that person have ?
(Q1930187,P21,c(Q290))
action filter_type
action find
entity Q3479205
relation P21
type Q290
['Q1930187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3479205 property:P21 ?j . ?j rdf:type ontology:Q290 }
Serge Bilé
action filter_type
action find
entity Serge Bilé
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Serge_Bilé property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1930187,P21,c(Q290))
action filter_type
action find
entity Q3479205
relation P21
type Q290
That person has a [ANSWER]
['Q1930187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3479205 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Serge Bilé
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Serge_Bilé property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3479205
P27
Q15617994
USER
Which administrative territories do that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3479205
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3479205 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Serge Bilé
action filter_type
action find
entity Serge Bilé
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Serge_Bilé property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1008
SYSTEM
France, Côte d'Ivoire
Q142 Q1008
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3479205
relation P27
type Q15617994
That person belong to [ANSWERS]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3479205 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
France Côte d'Ivoire
That person belong to France and Côte d'Ivoire
France Côte d'Ivoire
action filter_type
action find
entity Serge Bilé
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Serge_Bilé property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18088117
P27
Q502895
USER
Are Marcel Lejoly a citizen of those administrative territories ?
(Q18088117,P27,Q142) (Q18088117,P27,Q1008)
action is_in
entity prev_answer
action find
entity Q18088117
relation P27
['Q18088117', 'P27', 'Q142'] ['Q18088117', 'P27', 'Q1008']
ASK WHERE { resource:Q18088117 property:P27 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q1008 ) } }
Marcel Lejoly
action is_in
entity prev_answer
action find
entity Marcel Lejoly
relation country of citizenship
['Marcel Lejoly', 'country of citizenship', 'France'] ['Marcel Lejoly', 'country of citizenship', "Côte d'Ivoire"]
ASK WHERE { resource:Marcel_Lejoly property:country_of_citizenship ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Côte_d'Ivoire ) } }
[]
common name
SYSTEM
NO
(Q18088117,P27,Q142) (Q18088117,P27,Q1008)
action is_in
entity prev_answer
action find
entity Q18088117
relation P27
[ANSWER]
['Q18088117', 'P27', 'Q142'] ['Q18088117', 'P27', 'Q1008']
ASK WHERE { resource:Q18088117 property:P27 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q1008 ) } }
No
action is_in
entity prev_answer
action find
entity Marcel Lejoly
relation country of citizenship
['Marcel Lejoly', 'country of citizenship', 'France'] ['Marcel Lejoly', 'country of citizenship', "Côte d'Ivoire"]
ASK WHERE { resource:Marcel_Lejoly property:country_of_citizenship ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Côte_d'Ivoire ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q373528
P47
Q13220204
USER
How many administrative country subdivisions do France or Bragança share a border with ?
(c(Q13220204),P47,Q142) (c(Q13220204),P47,Q373528)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q373528
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q142'] [{'concept': 'Q13220204'}, 'P47', 'Q373528']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:Q13220204 . ?c property:P47 resource:Q142 } UNION { ?c property:P47 resource:Q373528 . ?c rdf:type ontology:Q13220204 } }
France Bragança
action count
action union
action filter_type
action find_reverse
entity France
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Bragança
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'France'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Bragança']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:second-level_administrative_country_subdivision . ?c property:shares_border_with resource:France } UNION { ?c property:shares_border_with resource:Bragança . ?c rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
SYSTEM
3
Q71080 Q71113 Q95038
(c(Q13220204),P47,Q142) (c(Q13220204),P47,Q373528)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q373528
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q142'] [{'concept': 'Q13220204'}, 'P47', 'Q373528']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:Q13220204 . ?c property:P47 resource:Q142 } UNION { ?c property:P47 resource:Q373528 . ?c rdf:type ontology:Q13220204 } }
Salamanca Province Zamora Province Ourense Province
3
action count
action union
action filter_type
action find_reverse
entity France
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Bragança
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'France'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Bragança']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:second-level_administrative_country_subdivision . ?c property:shares_border_with resource:France } UNION { ?c property:shares_border_with resource:Bragança . ?c rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1008
P163
Q14660
USER
Which flag is associated with Côte d'Ivoire ?
(Q1008,P163,c(Q14660))
action filter_type
action find
entity Q1008
relation P163
type Q14660
['Q1008', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q1008 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Côte d'Ivoire
action filter_type
action find
entity Côte d'Ivoire
relation flag
type flag
["Côte d'Ivoire", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Côte_d'Ivoire property:flag ?r . ?r rdf:type ontology:flag }
[]
flag
Q102967
SYSTEM
Flag of Ivory Coast
Q102967
(Q1008,P163,c(Q14660))
action filter_type
action find
entity Q1008
relation P163
type Q14660
And [ANSWER] is associated with Côte d'Ivoire
['Q1008', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { resource:Q1008 property:P163 ?r . ?r rdf:type ontology:Q14660 }
Flag of Ivory Coast
And Flag of Ivory Coast is associated with Côte d'Ivoire
Flag of Ivory Coast
action filter_type
action find
entity Côte d'Ivoire
relation flag
type flag
["Côte d'Ivoire", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { resource:Côte_d'Ivoire property:flag ?r . ?r rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16551
Q14660
USER
And how about Vermont?
(Q16551,P163,c(Q14660))
action filter_type
action find
entity Q16551
relation P163
type Q14660
['Q16551', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . resource:Q16551 property:P163 ?p }
Vermont
action filter_type
action find
entity Vermont
relation flag
type flag
['Vermont', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . resource:Vermont property:flag ?p }
[]
flag
Q524824
SYSTEM
Flag of Vermont
Q524824
(Q16551,P163,c(Q14660))
action filter_type
action find
entity Q16551
relation P163
type Q14660
[ANSWER]
['Q16551', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . resource:Q16551 property:P163 ?p }
Flag of Vermont
Flag of Vermont
action filter_type
action find
entity Vermont
relation flag
type flag
['Vermont', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . resource:Vermont property:flag ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q524824 Q7634816
P163
Q852446
USER
Does Sugar Grove have its flag named that one ?
(Q7634816,P163,Q524824)
action is_in
entity Q7634816
action find
entity Q524824
relation P163
['Q7634816', 'P163', 'Q524824']
ASK WHERE { resource:Q524824 property:P163 resource:Q7634816 }
Flag of Vermont Sugar Grove
action is_in
entity Sugar Grove
action find
entity Flag of Vermont
relation flag
['Sugar Grove', 'flag', 'Flag of Vermont']
ASK WHERE { resource:Flag_of_Vermont property:flag resource:Sugar_Grove }
[]
administrative territorial entity of the United States
SYSTEM
NO
(Q7634816,P163,Q524824)
action is_in
entity Q7634816
action find
entity Q524824
relation P163
[ANSWER]
['Q7634816', 'P163', 'Q524824']
ASK WHERE { resource:Q524824 property:P163 resource:Q7634816 }
No
action is_in
entity Sugar Grove
action find
entity Flag of Vermont
relation flag
['Sugar Grove', 'flag', 'Flag of Vermont']
ASK WHERE { resource:Flag_of_Vermont property:flag resource:Sugar_Grove }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q478798 Q14660
USER
Which images are expressed in atleast 2 flags ?
(c(Q14660),P180,c(Q478798))
action atleast
action find_reverse_tuple_counts
relation P180
type Q478798
type Q14660
value 2
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P180 ?e . ?e rdf:type ontology:Q478798 . ?h rdf:type ontology:Q14660 } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
action atleast
action find_reverse_tuple_counts
relation depicts
type image
type flag
value 2
[{'concept': 'flag'}, 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:depicts ?e . ?e rdf:type ontology:image . ?h rdf:type ontology:flag } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
[]
image flag
Q208578 Q3592503 Q5488888
SYSTEM
red star, star and crescent, crescent
Q208578 Q3592503 Q5488888 Q170266
(c(Q14660),P180,c(Q478798))
action atleast
action find_reverse_tuple_counts
relation P180
type Q478798
type Q14660
value 2
[ANSWERS] are expressed in atleast 2 flags
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P180 ?e . ?e rdf:type ontology:Q478798 . ?h rdf:type ontology:Q14660 } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
red star star and crescent crescent hammer and sickle
Red star, star and crescent and crescent are expressed in atleast 2 flags
red star star and crescent crescent
action atleast
action find_reverse_tuple_counts
relation depicts
type image
type flag
value 2
[{'concept': 'flag'}, 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:depicts ?e . ?e rdf:type ontology:image . ?h rdf:type ontology:flag } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q478798 Q386724
USER
Which works demonstrate max number of images ?
(c(Q386724),P180,c(Q478798))
action argmax
action find_tuple_counts
relation P180
type Q386724
type Q478798
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?d ) WHERE { ?j property:P180 ?y . ?j rdf:type ontology:Q386724 . ?y rdf:type ontology:Q478798 } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?v ) WHERE { ?w property:P180 ?f . ?w rdf:type ontology:Q386724 . ?f rdf:type ontology:Q478798 } GROUP BY ?w } . FILTER ( ?v = ?l ) }
action argmax
action find_tuple_counts
relation depicts
type work
type image
[{'concept': 'work'}, 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?d ) WHERE { ?j property:depicts ?y . ?j rdf:type ontology:work . ?y rdf:type ontology:image } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?v ) WHERE { ?w property:depicts ?f . ?w rdf:type ontology:work . ?f rdf:type ontology:image } GROUP BY ?w } . FILTER ( ?v = ?l ) }
[]
image work
Q2901063 Q20668011
SYSTEM
Borghese Vase, Funerary stele of Thalea
Q2901063 Q20668011
(c(Q386724),P180,c(Q478798))
action argmax
action find_tuple_counts
relation P180
type Q386724
type Q478798
[ANSWERS] demonstrate max number of images
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?d ) WHERE { ?j property:P180 ?y . ?j rdf:type ontology:Q386724 . ?y rdf:type ontology:Q478798 } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?v ) WHERE { ?w property:P180 ?f . ?w rdf:type ontology:Q386724 . ?f rdf:type ontology:Q478798 } GROUP BY ?w } . FILTER ( ?v = ?l ) }
Borghese Vase Funerary stele of Thalea
Borghese Vase and Funerary stele of Thalea demonstrate max number of images
Borghese Vase Funerary stele of Thalea
action argmax
action find_tuple_counts
relation depicts
type work
type image
[{'concept': 'work'}, 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?l ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?d ) WHERE { ?j property:depicts ?y . ?j rdf:type ontology:work . ?y rdf:type ontology:image } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?v ) WHERE { ?w property:depicts ?f . ?w rdf:type ontology:work . ?f rdf:type ontology:image } GROUP BY ?w } . FILTER ( ?v = ?l ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2901063 Q20668011
P180
Q478798
USER
Which images are depicted in Borghese Vase and Funerary stele of Thalea ?
(Q2901063,P180,c(Q478798)) (Q20668011,P180,c(Q478798))
action union
action filter_type
action find
entity Q2901063
relation P180
type Q478798
action filter_type
action find
entity Q20668011
relation P180
type Q478798
['Q2901063', 'P180', {'concept': 'Q478798'}] ['Q20668011', 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?l WHERE { { resource:Q2901063 property:P180 ?l . ?l rdf:type ontology:Q478798 } UNION { resource:Q20668011 property:P180 ?l . ?l rdf:type ontology:Q478798 } }
Borghese Vase Funerary stele of Thalea
action union
action filter_type
action find
entity Borghese Vase
relation depicts
type image
action filter_type
action find
entity Funerary stele of Thalea
relation depicts
type image
['Borghese Vase', 'depicts', {'concept': 'image'}] ['Funerary stele of Thalea', 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?l WHERE { { resource:Borghese_Vase property:depicts ?l . ?l rdf:type ontology:image } UNION { resource:Funerary_stele_of_Thalea property:depicts ?l . ?l rdf:type ontology:image } }
[]
image
Q170984 Q170984
SYSTEM
crown
Q170984 Q170984
(Q2901063,P180,c(Q478798)) (Q20668011,P180,c(Q478798))
action union
action filter_type
action find
entity Q2901063
relation P180
type Q478798
action filter_type
action find
entity Q20668011
relation P180
type Q478798
As [ANSWER] and [ANSWER] are depicted in Borghese Vase and Funerary stele of Thalea
['Q2901063', 'P180', {'concept': 'Q478798'}] ['Q20668011', 'P180', {'concept': 'Q478798'}]
SELECT DISTINCT ?l WHERE { { resource:Q2901063 property:P180 ?l . ?l rdf:type ontology:Q478798 } UNION { resource:Q20668011 property:P180 ?l . ?l rdf:type ontology:Q478798 } }
crown crown
As crown and crown are depicted in Borghese Vase and Funerary stele of Thalea
crown crown
action union
action filter_type
action find
entity Borghese Vase
relation depicts
type image
action filter_type
action find
entity Funerary stele of Thalea
relation depicts
type image
['Borghese Vase', 'depicts', {'concept': 'image'}] ['Funerary stele of Thalea', 'depicts', {'concept': 'image'}]
SELECT DISTINCT ?l WHERE { { resource:Borghese_Vase property:depicts ?l . ?l rdf:type ontology:image } UNION { resource:Funerary_stele_of_Thalea property:depicts ?l . ?l rdf:type ontology:image } }
[]