Simple Question (Direct)
Simple Question
Q3193270
P21
Q290
USER
Which sex does Karina Testa possess ?
(Q3193270,P21,c(Q290))
action filter_type
action find
entity Q3193270
relation P21
type Q290
['Q3193270', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3193270 property:P21 ?o . ?o rdf:type ontology:Q290 }
Karina Testa
action filter_type
action find
entity Karina Testa
relation gender
type sex
['Karina Testa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Karina_Testa property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3193270,P21,c(Q290))
action filter_type
action find
entity Q3193270
relation P21
type Q290
Karina Testa possesses a [ANSWER]
['Q3193270', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3193270 property:P21 ?o . ?o rdf:type ontology:Q290 }
female
Karina Testa possesses a female
female
action filter_type
action find
entity Karina Testa
relation gender
type sex
['Karina Testa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Karina_Testa property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P101
Q336
USER
Which science has specialisation in that sex ?
(c(Q336),P101,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P101
type Q336
[{'concept': 'Q336'}, 'P101', 'Q6581072']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q6581072 . ?b rdf:type ontology:Q336 }
female
action filter_type
action find_reverse
entity female
relation field of work
type science
[{'concept': 'science'}, 'field of work', 'female']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:female . ?b rdf:type ontology:science }
[]
science
Q35069
SYSTEM
women's studies
Q35069
(c(Q336),P101,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P101
type Q336
[ANSWER] has specialisation in that sex
[{'concept': 'Q336'}, 'P101', 'Q6581072']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q6581072 . ?b rdf:type ontology:Q336 }
women's studies
Women's studies has specialisation in that sex
women's studies
action filter_type
action find_reverse
entity female
relation field of work
type science
[{'concept': 'science'}, 'field of work', 'female']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:female . ?b rdf:type ontology:science }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3193270
P19
Q20667921
USER
Which french administrative division is the birthplace of Karina Testa ?
(Q3193270,P19,c(Q20667921))
action filter_type
action find
entity Q3193270
relation P19
type Q20667921
['Q3193270', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q3193270 property:P19 ?e }
Karina Testa
action filter_type
action find
entity Karina Testa
relation place of birth
type type of french administrative division
['Karina Testa', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Karina_Testa property:place_of_birth ?e }
[]
type of french administrative division
Q39984
SYSTEM
Cannes
Q39984
(Q3193270,P19,c(Q20667921))
action filter_type
action find
entity Q3193270
relation P19
type Q20667921
[ANSWER] is the birthplace of Karina Testa
['Q3193270', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q3193270 property:P19 ?e }
Cannes
Cannes is the birthplace of Karina Testa
Cannes
action filter_type
action find
entity Karina Testa
relation place of birth
type type of french administrative division
['Karina Testa', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Karina_Testa property:place_of_birth ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39984
P840
Q838948
USER
Which works of art have a setting location of that french administrative division ?
(c(Q838948),P840,Q39984)
action filter_type
action find_reverse
entity Q39984
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q39984']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q39984 }
Cannes
action filter_type
action find_reverse
entity Cannes
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Cannes']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Cannes }
[]
work of art
Q2860192 Q522185
SYSTEM
Archimède le clochard, Femme Fatale
Q2860192 Q522185
(c(Q838948),P840,Q39984)
action filter_type
action find_reverse
entity Q39984
relation P840
type Q838948
[ANSWERS] have a setting location of that french administrative division
[{'concept': 'Q838948'}, 'P840', 'Q39984']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q39984 }
Archimède le clochard Femme Fatale
Archimède le clochard and Femme Fatale have a setting location of that french administrative division
Archimède le clochard Femme Fatale
action filter_type
action find_reverse
entity Cannes
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Cannes']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Cannes }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6726795 Q2860192
P161 P50
Q502895
USER
Which people starred in Archimède le clochard or were the writers of Madea's Big Happy Family ?
OR((Q2860192,P161,c(Q502895)), (Q6726795,P50,c(Q502895)))
action filter_type
action union
action find
entity Q2860192
relation P161
action find
entity Q6726795
relation P50
type Q502895
{'OR': [['Q2860192', 'P161', {'concept': 'Q502895'}], ['Q6726795', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2860192 property:P161 ?w } UNION { resource:Q6726795 property:P50 ?w } } . ?w rdf:type ontology:Q502895 }
Madea's Big Happy Family Archimède le clochard
action filter_type
action union
action find
entity Archimède le clochard
relation cast member
action find
entity Madea's Big Happy Family
relation author
type common name
{'OR': [['Archimède le clochard', 'cast member', {'concept': 'common name'}], ["Madea's Big Happy Family", 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Archimède_le_clochard property:cast_member ?w } UNION { resource:Madea's_Big_Happy_Family property:author ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q3271575 Q3157446 Q3102585 Q1585313 Q1166707 Q3127022 Q3158596 Q1524479 Q3427000 Q2926620
SYSTEM
Some of them are Léonce Corne, Jacky Blanchot, Georges Demas, Victor Lanoux, Darry Cowl, Hans Verner, Jacques Couturier, Gilles Grangier, René Worms, Bruno Balp
Q3099107 Q3023086 Q3048831 Q1166707 Q3171618 Q3102585 Q1984434 Q533912 Q3093765 Q3425748 Q599249 Q542048 Q3094175 Q3371185 Q3103123 Q3427000 Q3130893 Q3386300 Q3289065 Q1585313 Q3287772 Q3385937 Q2958565 Q2898151 Q3370684 Q3379780 Q3179106 Q2958599 Q730564 Q3127022 Q3288665 Q3554393 Q3271575 Q3371829 Q3380312 Q3265414 Q2831120 Q1663127 Q3158596 Q3107814 Q277980 Q23842 Q3121708 Q2523671 Q3157756 Q3085009 Q3157446 Q3435903 Q1524479 Q3171065 Q1712227 Q1448424 Q686301 Q2926620 Q3579848
OR((Q2860192,P161,c(Q502895)), (Q6726795,P50,c(Q502895)))
action filter_type
action union
action find
entity Q2860192
relation P161
action find
entity Q6726795
relation P50
type Q502895
[ANSWERS] starred in Archimède le clochard or were the writers of Madea's Big Happy Family
{'OR': [['Q2860192', 'P161', {'concept': 'Q502895'}], ['Q6726795', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2860192 property:P161 ?w } UNION { resource:Q6726795 property:P50 ?w } } . ?w rdf:type ontology:Q502895 }
Gaston Ouvrard Denise Péronne Edy Debray Darry Cowl Jean Degrave Georges Demas Bernard Musson Noël Roquevert Gabriel Gobin René Alié Bernard Blier Dora Doll Gaby Basset Paul Faivre Georges Lycan René Worms Henri Coutet Pierre Mirat Marcel Journet Victor Lanoux Marc Arian Pierre Leproux Charles Blavette Bernard Lajarrige Paul Bonifas Philippe Dumat Jimmy Perrys Charles Bouillaud Pierre Collet Hans Verner Marcel Bernier Van Doude Léonce Corne Paul Mercey Philippe Mareuil Lucien Camiret Albert Dinan Jacques Marin Jacques Couturier Gisèle Grimm Paul Frankeur Jean Gabin Guy Decomble Sacha Briquet Jacqueline Maillan François Joux Jacky Blanchot Robert Mercier Gilles Grangier Jean Bérard Julien Carette Marcel Pérès Tyler Perry Bruno Balp Édouard Francomme
Léonce Corne, Jacky Blanchot, Georges Demas, Victor Lanoux, Darry Cowl, Hans Verner, Jacques Couturier, Gilles Grangier, René Worms and Bruno Balp starred in Archimède le clochard or were the writers of Madea's Big Happy Family
Léonce Corne Jacky Blanchot Georges Demas Victor Lanoux Darry Cowl Hans Verner Jacques Couturier Gilles Grangier René Worms Bruno Balp
action filter_type
action union
action find
entity Archimède le clochard
relation cast member
action find
entity Madea's Big Happy Family
relation author
type common name
{'OR': [['Archimède le clochard', 'cast member', {'concept': 'common name'}], ["Madea's Big Happy Family", 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Archimède_le_clochard property:cast_member ?w } UNION { resource:Madea's_Big_Happy_Family property:author ?w } } . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6031697 Q1524479
P27
Q15617994
USER
Which administrative territories are Gilles Grangier or Erdoğan Gürbüz a civilian of ?
OR((Q1524479,P27,c(Q15617994)), (Q6031697,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1524479
relation P27
action find
entity Q6031697
relation P27
type Q15617994
{'OR': [['Q1524479', 'P27', {'concept': 'Q15617994'}], ['Q6031697', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6031697 property:P27 ?r } UNION { resource:Q1524479 property:P27 ?r } } }
Erdoğan Gürbüz Gilles Grangier
action filter_type
action union
action find
entity Gilles Grangier
relation country of citizenship
action find
entity Erdoğan Gürbüz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gilles Grangier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Erdoğan Gürbüz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Erdoğan_Gürbüz property:country_of_citizenship ?r } UNION { resource:Gilles_Grangier property:country_of_citizenship ?r } } }
[]
designation for an administrative territorial entity
Q142 Q43
SYSTEM
France, Turkey
Q142 Q43
OR((Q1524479,P27,c(Q15617994)), (Q6031697,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1524479
relation P27
action find
entity Q6031697
relation P27
type Q15617994
[ANSWERS] are Gilles Grangier or Erdoğan Gürbüz a civilian of
{'OR': [['Q1524479', 'P27', {'concept': 'Q15617994'}], ['Q6031697', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6031697 property:P27 ?r } UNION { resource:Q1524479 property:P27 ?r } } }
France Turkey
France and Turkey are Gilles Grangier or Erdoğan Gürbüz a civilian of
France Turkey
action filter_type
action union
action find
entity Gilles Grangier
relation country of citizenship
action find
entity Erdoğan Gürbüz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gilles Grangier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Erdoğan Gürbüz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Erdoğan_Gürbüz property:country_of_citizenship ?r } UNION { resource:Gilles_Grangier property:country_of_citizenship ?r } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were greater number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q43
SYSTEM
Did you mean Turkey ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Turkey ?
Turkey
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q142
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was greater number of fictional locations inspired by than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was greater number of fictional locations inspired by than that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories are bordered by that administrative territory ?
(Q668,P47,c(Q15617994))
action count
action filter_type
action find
entity Q668
relation P47
type Q15617994
['Q668', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q668 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity India
relation shares border with
type designation for an administrative territorial entity
['India', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:India property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
Q836 Q837 Q843 Q148 Q902 Q917
(Q668,P47,c(Q15617994))
action count
action filter_type
action find
entity Q668
relation P47
type Q15617994
[ANSWER]
['Q668', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q668 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Myanmar Nepal Pakistan People's Republic of China Bangladesh Bhutan
6
action count
action filter_type
action find
entity India
relation shares border with
type designation for an administrative territorial entity
['India', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:India property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]