Simple Question (Direct)
Simple Question
Q3369282
P27
Q15617994
USER
Which administrative territory is Patrick Braouezec a civilian of ?
(Q3369282,P27,c(Q15617994))
action filter_type
action find
entity Q3369282
relation P27
type Q15617994
['Q3369282', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3369282 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Patrick Braouezec
action filter_type
action find
entity Patrick Braouezec
relation country of citizenship
type designation for an administrative territorial entity
['Patrick Braouezec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_Braouezec property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3369282,P27,c(Q15617994))
action filter_type
action find
entity Q3369282
relation P27
type Q15617994
[ANSWER] is Patrick Braouezec a civilian of
['Q3369282', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3369282 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
France is Patrick Braouezec a civilian of
France
action filter_type
action find
entity Patrick Braouezec
relation country of citizenship
type designation for an administrative territorial entity
['Patrick Braouezec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_Braouezec property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P123
Q2342494
USER
Which collectable was issued by that administrative territory ?
(c(Q2342494),P123,Q142)
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q142 . ?x rdf:type ontology:Q2342494 }
France
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:France . ?x rdf:type ontology:collectable }
[]
collectable
Q22338335
SYSTEM
Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX
Q22338335
(c(Q2342494),P123,Q142)
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[ANSWER] was issued by that administrative territory
[{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q142 . ?x rdf:type ontology:Q2342494 }
Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX
Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX was issued by that administrative territory
Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:France . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P88
Q340169
USER
What did France commission ?
(c(Q340169),P88,Q142)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
[{'concept': 'Q340169'}, 'P88', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P88 resource:Q142 . ?p rdf:type ontology:Q340169 }
France
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'France']
SELECT DISTINCT ?p WHERE { ?p property:commissioned_by resource:France . ?p rdf:type ontology:media }
[]
media
Q2956370
SYSTEM
Chanteur florentin du XVe siècle
Q2956370
(c(Q340169),P88,Q142)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
France commissioned [ANSWER]
[{'concept': 'Q340169'}, 'P88', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P88 resource:Q142 . ?p rdf:type ontology:Q340169 }
Chanteur florentin du XVe siècle
France commissioned Chanteur florentin du XVe siècle
Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'France']
SELECT DISTINCT ?p WHERE { ?p property:commissioned_by resource:France . ?p rdf:type ontology:media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2956370
P800
Q502895
USER
Whose notable work was that media ?
(c(Q502895),P800,Q2956370)
action filter_type
action find_reverse
entity Q2956370
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2956370']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q2956370 . ?c rdf:type ontology:Q502895 }
Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity Chanteur florentin du XVe siècle
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Chanteur florentin du XVe siècle']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Chanteur_florentin_du_XVe_siècle . ?c rdf:type ontology:common_name }
[]
common name
Q2524533
SYSTEM
Paul Dubois
Q2524533
(c(Q502895),P800,Q2956370)
action filter_type
action find_reverse
entity Q2956370
relation P800
type Q502895
[ANSWER] was that media
[{'concept': 'Q502895'}, 'P800', 'Q2956370']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q2956370 . ?c rdf:type ontology:Q502895 }
Paul Dubois
Paul Dubois was that media
Paul Dubois
action filter_type
action find_reverse
entity Chanteur florentin du XVe siècle
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Chanteur florentin du XVe siècle']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Chanteur_florentin_du_XVe_siècle . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2524533
P802
Q502895
USER
Who was that one a notable student of ?
(Q2524533,P802,c(Q502895))
action filter_type
action find
entity Q2524533
relation P802
type Q502895
['Q2524533', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2524533 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Paul Dubois
action filter_type
action find
entity Paul Dubois
relation student
type common name
['Paul Dubois', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Paul_Dubois property:student ?u . ?u rdf:type ontology:common_name }
[]
common name
Q4168205
SYSTEM
Henry Gerbault
Q4168205
(Q2524533,P802,c(Q502895))
action filter_type
action find
entity Q2524533
relation P802
type Q502895
[ANSWER] was that one a notable student of
['Q2524533', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2524533 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Henry Gerbault
Henry Gerbault was that one a notable student of
Henry Gerbault
action filter_type
action find
entity Paul Dubois
relation student
type common name
['Paul Dubois', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Paul_Dubois property:student ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters had their voice dubbing done by min number of people ?
(c(Q95074),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q95074
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?v ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q95074 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?m ) WHERE { ?d property:P725 ?z . ?z rdf:type ontology:Q502895 . ?d rdf:type ontology:Q95074 } GROUP BY ?d } . FILTER ( ?m = ?x ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?v ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:fictional_character . ?e rdf:type ontology:common_name } GROUP BY ?t } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?m ) WHERE { ?d property:voice_actor ?z . ?z rdf:type ontology:common_name . ?d rdf:type ontology:fictional_character } GROUP BY ?d } . FILTER ( ?m = ?x ) }
[]
common name fictional character
Q3498590
SYSTEM
Chester Cheetah
Q3498590
(c(Q95074),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q95074
type Q502895
[ANSWER] had their voice dubbing done by min number of people
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?v ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q95074 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?m ) WHERE { ?d property:P725 ?z . ?z rdf:type ontology:Q502895 . ?d rdf:type ontology:Q95074 } GROUP BY ?d } . FILTER ( ?m = ?x ) }
Chester Cheetah
Chester Cheetah had their voice dubbing done by min number of people
Chester Cheetah
action argmin
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?v ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:fictional_character . ?e rdf:type ontology:common_name } GROUP BY ?t } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?m ) WHERE { ?d property:voice_actor ?z . ?z rdf:type ontology:common_name . ?d rdf:type ontology:fictional_character } GROUP BY ?d } . FILTER ( ?m = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P725
Q502895 Q95074
USER
How many fictional characters had approximately the same number of people as the dubbing artist as that fictional character ?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3498590
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?r ) WHERE { ?z property:P725 ?a . ?a rdf:type ontology:Q502895 . ?z rdf:type ontology:Q95074 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q3498590 property:P725 ?i . ?i rdf:type ontology:Q95074 } } . FILTER ( ?r = ?c ) }
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Chester Cheetah
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?r ) WHERE { ?z property:voice_actor ?a . ?a rdf:type ontology:common_name . ?z rdf:type ontology:fictional_character } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Chester_Cheetah property:voice_actor ?i . ?i rdf:type ontology:fictional_character } } . FILTER ( ?r = ?c ) }
[]
common name fictional character
SYSTEM
17
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3498590
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?r ) WHERE { ?z property:P725 ?a . ?a rdf:type ontology:Q502895 . ?z rdf:type ontology:Q95074 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q3498590 property:P725 ?i . ?i rdf:type ontology:Q95074 } } . FILTER ( ?r = ?c ) }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
17
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Chester Cheetah
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?r ) WHERE { ?z property:voice_actor ?a . ?a rdf:type ontology:common_name . ?z rdf:type ontology:fictional_character } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Chester_Cheetah property:voice_actor ?i . ?i rdf:type ontology:fictional_character } } . FILTER ( ?r = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q22945340
Q20667921
USER
And what about Finnmark, Winter?
(Q22945340,P195,c(Q20667921))
action count
action filter_type
action find
entity Q22945340
relation P195
type Q20667921
['Q22945340', 'P195', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q22945340 property:P195 ?b . ?b rdf:type ontology:Q20667921 }
Finnmark, Winter
action count
action filter_type
action find
entity Finnmark, Winter
relation collection
type type of french administrative division
['Finnmark, Winter', 'collection', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Finnmark,_Winter property:collection ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
(Q22945340,P195,c(Q20667921))
action count
action filter_type
action find
entity Q22945340
relation P195
type Q20667921
[ANSWER]
['Q22945340', 'P195', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q22945340 property:P195 ?b . ?b rdf:type ontology:Q20667921 }
1
action count
action filter_type
action find
entity Finnmark, Winter
relation collection
type type of french administrative division
['Finnmark, Winter', 'collection', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Finnmark,_Winter property:collection ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16269499 Q3369282
P19
Q56061
USER
Which administrative territories are the places of birth of Patrick Braouezec or Alain Moatti ?
OR((Q3369282,P19,c(Q56061)), (Q16269499,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3369282
relation P19
action find
entity Q16269499
relation P19
type Q56061
{'OR': [['Q3369282', 'P19', {'concept': 'Q56061'}], ['Q16269499', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3369282 property:P19 ?r } UNION { resource:Q16269499 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Alain Moatti Patrick Braouezec
action filter_type
action union
action find
entity Patrick Braouezec
relation place of birth
action find
entity Alain Moatti
relation place of birth
type administrative territorial entity
{'OR': [['Patrick Braouezec', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alain Moatti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Patrick_Braouezec property:place_of_birth ?r } UNION { resource:Alain_Moatti property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q3561
SYSTEM
Paris, Algiers
Q90 Q3561
OR((Q3369282,P19,c(Q56061)), (Q16269499,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3369282
relation P19
action find
entity Q16269499
relation P19
type Q56061
[ANSWERS] are the places of birth of Patrick Braouezec or Alain Moatti
{'OR': [['Q3369282', 'P19', {'concept': 'Q56061'}], ['Q16269499', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3369282 property:P19 ?r } UNION { resource:Q16269499 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Paris Algiers
Paris and Algiers are the places of birth of Patrick Braouezec or Alain Moatti
Paris Algiers
action filter_type
action union
action find
entity Patrick Braouezec
relation place of birth
action find
entity Alain Moatti
relation place of birth
type administrative territorial entity
{'OR': [['Patrick Braouezec', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alain Moatti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Patrick_Braouezec property:place_of_birth ?r } UNION { resource:Alain_Moatti property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]