Simple Question (Direct)
Simple Question
Q3292259
P7
Q502895
USER
Who has Marie-Thérèse Cuny as their brother ?
(Q3292259,P7,c(Q502895))
action filter_type
action find
entity Q3292259
relation P7
type Q502895
['Q3292259', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3292259 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Marie-Thérèse Cuny
action filter_type
action find
entity Marie-Thérèse Cuny
relation brother
type common name
['Marie-Thérèse Cuny', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Marie-Thérèse_Cuny property:brother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3169162
SYSTEM
Jean-Pierre Cuny
Q3169162
(Q3292259,P7,c(Q502895))
action filter_type
action find
entity Q3292259
relation P7
type Q502895
[ANSWER] has Marie-Thérèse Cuny as their brother
['Q3292259', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3292259 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Jean-Pierre Cuny
Jean-Pierre Cuny has Marie-Thérèse Cuny as their brother
Jean-Pierre Cuny
action filter_type
action find
entity Marie-Thérèse Cuny
relation brother
type common name
['Marie-Thérèse Cuny', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Marie-Thérèse_Cuny property:brother ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3169162
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q3169162,P106,c(Q12737077))
action filter_type
action find
entity Q3169162
relation P106
type Q12737077
['Q3169162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Jean-Pierre Cuny
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type occupation
['Jean-Pierre Cuny', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q3169162,P106,c(Q12737077))
action filter_type
action find
entity Q3169162
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q3169162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
writer
The writer is the profession of that person
writer
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type occupation
['Jean-Pierre Cuny', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36180
P425
Q1914636
USER
Who has that one as the associated field of occupation ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { resource:Q36180 property:P425 ?d . ?d rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { resource:writer property:field_of_this_occupation ?d . ?d rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] has that one as the associated field of occupation
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { resource:Q36180 property:P425 ?d . ?d rdf:type ontology:Q1914636 }
literature
The literature has that one as the associated field of occupation
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { resource:writer property:field_of_this_occupation ?d . ?d rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3169162
P9
Q502895
USER
Who is the sibling of Jean-Pierre Cuny ?
(Q3169162,P9,c(Q502895))
action filter_type
action find
entity Q3169162
relation P9
type Q502895
['Q3169162', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3169162 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Jean-Pierre Cuny
action filter_type
action find
entity Jean-Pierre Cuny
relation sister
type common name
['Jean-Pierre Cuny', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Pierre_Cuny property:sister ?t . ?t rdf:type ontology:common_name }
[]
common name
Q3292259
SYSTEM
Marie-Thérèse Cuny
Q3292259
(Q3169162,P9,c(Q502895))
action filter_type
action find
entity Q3169162
relation P9
type Q502895
The sibling of Jean-Pierre Cuny is named [ANSWER]
['Q3169162', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3169162 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Marie-Thérèse Cuny
The sibling of Jean-Pierre Cuny is named Marie-Thérèse Cuny
Marie-Thérèse Cuny
action filter_type
action find
entity Jean-Pierre Cuny
relation sister
type common name
['Jean-Pierre Cuny', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Pierre_Cuny property:sister ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3292259
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q3292259)
action filter_type
action find
entity Q3292259
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3292259']
SELECT DISTINCT ?p WHERE { resource:Q3292259 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Marie-Thérèse Cuny
action filter_type
action find
entity Marie-Thérèse Cuny
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie-Thérèse Cuny']
SELECT DISTINCT ?p WHERE { resource:Marie-Thérèse_Cuny property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q3160014
SYSTEM
Jacques Solness
Q3160014
(c(Q502895),P26,Q3292259)
action filter_type
action find
entity Q3292259
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q3292259']
SELECT DISTINCT ?p WHERE { resource:Q3292259 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Jacques Solness
Jacques Solness is married to that one
Jacques Solness
action filter_type
action find
entity Marie-Thérèse Cuny
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie-Thérèse Cuny']
SELECT DISTINCT ?p WHERE { resource:Marie-Thérèse_Cuny property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3292259
P9 P21
Q502895
USER
Which people are Marie-Thérèse Cuny a sister of and have male as the sex ?
AND((c(Q502895),P9,Q3292259), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3292259
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q3292259'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q3292259 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Marie-Thérèse Cuny
action filter_type
action intersection
action find_reverse
entity Marie-Thérèse Cuny
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Marie-Thérèse Cuny'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Marie-Thérèse_Cuny . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q3169162
SYSTEM
Jean-Pierre Cuny
Q3169162
AND((c(Q502895),P9,Q3292259), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3292259
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is Marie-Thérèse Cuny a sister of and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q3292259'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q3292259 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Jean-Pierre Cuny
Jean-Pierre Cuny is Marie-Thérèse Cuny a sister of and have male as the sex
Jean-Pierre Cuny
action filter_type
action intersection
action find_reverse
entity Marie-Thérèse Cuny
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Marie-Thérèse Cuny'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Marie-Thérèse_Cuny . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3169162
P106
Q12737077 Q28640
USER
How many occupations and professions are the professions of Jean-Pierre Cuny ?
(Q3169162,P106,c(Q12737077)) (Q3169162,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q3169162
relation P106
type Q12737077
action filter_type
action find
entity Q3169162
relation P106
type Q28640
['Q3169162', 'P106', {'concept': 'Q12737077'}] ['Q3169162', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q28640 } }
Jean-Pierre Cuny
action count
action union
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type occupation
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type profession
['Jean-Pierre Cuny', 'occupation', {'concept': 'occupation'}] ['Jean-Pierre Cuny', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:occupation } UNION { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
1 occupations and 1 professions
Q2526255 Q36180
(Q3169162,P106,c(Q12737077)) (Q3169162,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q3169162
relation P106
type Q12737077
action filter_type
action find
entity Q3169162
relation P106
type Q28640
[ANSWER]
['Q3169162', 'P106', {'concept': 'Q12737077'}] ['Q3169162', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { resource:Q3169162 property:P106 ?n . ?n rdf:type ontology:Q28640 } }
film director writer
1 occupations and 1 professions
action count
action union
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type occupation
action filter_type
action find
entity Jean-Pierre Cuny
relation occupation
type profession
['Jean-Pierre Cuny', 'occupation', {'concept': 'occupation'}] ['Jean-Pierre Cuny', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:occupation } UNION { resource:Jean-Pierre_Cuny property:occupation ?n . ?n rdf:type ontology:profession } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3160014
P27
Q15617994
USER
Which administrative territory does Jacques Solness belong to ?
(Q3160014,P27,c(Q15617994))
action filter_type
action find
entity Q3160014
relation P27
type Q15617994
['Q3160014', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3160014 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Jacques Solness
action filter_type
action find
entity Jacques Solness
relation country of citizenship
type designation for an administrative territorial entity
['Jacques Solness', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jacques_Solness property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3160014,P27,c(Q15617994))
action filter_type
action find
entity Q3160014
relation P27
type Q15617994
Jacques Solness belongs to [ANSWER]
['Q3160014', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3160014 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France
Jacques Solness belongs to France
France
action filter_type
action find
entity Jacques Solness
relation country of citizenship
type designation for an administrative territorial entity
['Jacques Solness', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jacques_Solness property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3241885
Q15617994
USER
And also tell me about Lionel Horter?
(Q3241885,P27,c(Q15617994))
action filter_type
action find
entity Q3241885
relation P27
type Q15617994
['Q3241885', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3241885 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Lionel Horter
action filter_type
action find
entity Lionel Horter
relation country of citizenship
type designation for an administrative territorial entity
['Lionel Horter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lionel_Horter property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3241885,P27,c(Q15617994))
action filter_type
action find
entity Q3241885
relation P27
type Q15617994
[ANSWER]
['Q3241885', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3241885 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Lionel Horter
relation country of citizenship
type designation for an administrative territorial entity
['Lionel Horter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lionel_Horter property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P35
Q502895
USER
How many people are elected as the head 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 ( ?v ) AS ?i ) WHERE { resource:Q142 property:P35 ?v . ?v 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 ( ?v ) AS ?i ) WHERE { resource:France property:head_of_state ?v . ?v 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 ( ?v ) AS ?i ) WHERE { resource:Q142 property:P35 ?v . ?v 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 ( ?v ) AS ?i ) WHERE { resource:France property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3773878
Q502895
USER
And what about La Marmora I Cabinet?
(Q3773878,P35,c(Q502895))
action count
action filter_type
action find
entity Q3773878
relation P35
type Q502895
['Q3773878', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q3773878 property:P35 ?d }
La Marmora I Cabinet
action count
action filter_type
action find
entity La Marmora I Cabinet
relation head of state
type common name
['La Marmora I Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . resource:La_Marmora_I_Cabinet property:head_of_state ?d }
[]
common name
SYSTEM
1
(Q3773878,P35,c(Q502895))
action count
action filter_type
action find
entity Q3773878
relation P35
type Q502895
[ANSWER]
['Q3773878', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q3773878 property:P35 ?d }
1
action count
action filter_type
action find
entity La Marmora I Cabinet
relation head of state
type common name
['La Marmora I Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . resource:La_Marmora_I_Cabinet property:head_of_state ?d }
[]