Simple Question (Direct)
Simple Question
Q3557194
P21
Q290
USER
Which sex does Victor Brochard belong to ?
(Q3557194,P21,c(Q290))
action filter_type
action find
entity Q3557194
relation P21
type Q290
['Q3557194', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3557194 property:P21 ?e . ?e rdf:type ontology:Q290 }
Victor Brochard
action filter_type
action find
entity Victor Brochard
relation gender
type sex
['Victor Brochard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Victor_Brochard property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3557194,P21,c(Q290))
action filter_type
action find
entity Q3557194
relation P21
type Q290
Victor Brochard belongs to [ANSWER]
['Q3557194', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3557194 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Victor Brochard belongs to male
male
action filter_type
action find
entity Victor Brochard
relation gender
type sex
['Victor Brochard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Victor_Brochard property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3557194
P802
Q502895
USER
Who was the teacher of Victor Brochard ?
(Q3557194,P802,c(Q502895))
action filter_type
action find
entity Q3557194
relation P802
type Q502895
['Q3557194', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3557194 property:P802 ?a }
Victor Brochard
action filter_type
action find
entity Victor Brochard
relation student
type common name
['Victor Brochard', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Victor_Brochard property:student ?a }
[]
common name
Q16027347
SYSTEM
Auguste Diès
Q16027347
(Q3557194,P802,c(Q502895))
action filter_type
action find
entity Q3557194
relation P802
type Q502895
The teacher of Victor Brochard was called [ANSWER]
['Q3557194', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3557194 property:P802 ?a }
Auguste Diès
The teacher of Victor Brochard was called Auguste Diès
Auguste Diès
action filter_type
action find
entity Victor Brochard
relation student
type common name
['Victor Brochard', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Victor_Brochard property:student ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3557194
P495
Q15617994
USER
Where did Victor Brochard originate ?
(Q3557194,P495,c(Q15617994))
action filter_type
action find
entity Q3557194
relation P495
type Q15617994
['Q3557194', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3557194 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
Victor Brochard
action filter_type
action find
entity Victor Brochard
relation country of origin
type designation for an administrative territorial entity
['Victor Brochard', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Victor_Brochard property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3557194,P495,c(Q15617994))
action filter_type
action find
entity Q3557194
relation P495
type Q15617994
Victor Brochard originated in [ANSWER]
['Q3557194', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3557194 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
France
Victor Brochard originated in France
France
action filter_type
action find
entity Victor Brochard
relation country of origin
type designation for an administrative territorial entity
['Victor Brochard', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Victor_Brochard property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20514354
Q15617994
USER
And what about Pansy Violet (Viola pedata)?
(Q20514354,P495,c(Q15617994))
action filter_type
action find
entity Q20514354
relation P495
type Q15617994
['Q20514354', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q20514354 property:P495 ?k }
Pansy Violet (Viola pedata)
action filter_type
action find
entity Pansy Violet (Viola pedata)
relation country of origin
type designation for an administrative territorial entity
['Pansy Violet (Viola pedata)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pansy_Violet_(Viola_pedata) property:country_of_origin ?k }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q20514354,P495,c(Q15617994))
action filter_type
action find
entity Q20514354
relation P495
type Q15617994
[ANSWER]
['Q20514354', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q20514354 property:P495 ?k }
United States of America
United States of America
action filter_type
action find
entity Pansy Violet (Viola pedata)
relation country of origin
type designation for an administrative territorial entity
['Pansy Violet (Viola pedata)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pansy_Violet_(Viola_pedata) property:country_of_origin ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P35
Q502895
USER
How many people are the heads of state of France ?
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q142 property:P35 ?p . ?p rdf:type ontology:Q502895 }
France
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:France property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWER]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q142 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
8
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:France property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q175379
Q502895
USER
And what about Empire of China?
(Q175379,P35,c(Q502895))
action count
action filter_type
action find
entity Q175379
relation P35
type Q502895
['Q175379', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ontology:Q502895 . resource:Q175379 property:P35 ?z }
Empire of China
action count
action filter_type
action find
entity Empire of China
relation head of state
type common name
['Empire of China', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ontology:common_name . resource:Empire_of_China property:head_of_state ?z }
[]
common name
SYSTEM
1
(Q175379,P35,c(Q502895))
action count
action filter_type
action find
entity Q175379
relation P35
type Q502895
[ANSWER]
['Q175379', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ontology:Q502895 . resource:Q175379 property:P35 ?z }
1
action count
action filter_type
action find
entity Empire of China
relation head of state
type common name
['Empire of China', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ontology:common_name . resource:Empire_of_China property:head_of_state ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q175379
P27
Q502895
USER
How many people are a citizen of Empire of China ?
(c(Q502895),P27,Q175379)
action count
action filter_type
action find_reverse
entity Q175379
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q175379']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P27 resource:Q175379 . ?q rdf:type ontology:Q502895 }
Empire of China
action count
action filter_type
action find_reverse
entity Empire of China
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Empire of China']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:country_of_citizenship resource:Empire_of_China . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q266521
(c(Q502895),P27,Q175379)
action count
action filter_type
action find_reverse
entity Q175379
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q175379']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P27 resource:Q175379 . ?q rdf:type ontology:Q502895 }
James Wong Howe
1
action count
action filter_type
action find_reverse
entity Empire of China
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Empire of China']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:country_of_citizenship resource:Empire_of_China . ?q rdf:type ontology:common_name }
[]