Simple Question (Direct)
Simple Question
Q20872879
P26
Q502895
USER
Which person is the spouse of Farida Yasmin ?
(Q20872879,P26,c(Q502895))
action filter_type
action find
entity Q20872879
relation P26
type Q502895
['Q20872879', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q20872879 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Farida Yasmin
action filter_type
action find
entity Farida Yasmin
relation spouse
type common name
['Farida Yasmin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Farida_Yasmin property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q7267278
SYSTEM
Qazi Anwar Hussain
Q7267278
(Q20872879,P26,c(Q502895))
action filter_type
action find
entity Q20872879
relation P26
type Q502895
[ANSWER] is the spouse of Farida Yasmin
['Q20872879', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q20872879 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Qazi Anwar Hussain
Qazi Anwar Hussain is the spouse of Farida Yasmin
Qazi Anwar Hussain
action filter_type
action find
entity Farida Yasmin
relation spouse
type common name
['Farida Yasmin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Farida_Yasmin property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7267278
P21
Q290
USER
Which sex does that person possess ?
(Q7267278,P21,c(Q290))
action filter_type
action find
entity Q7267278
relation P21
type Q290
['Q7267278', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q7267278 property:P21 ?h . ?h rdf:type ontology:Q290 }
Qazi Anwar Hussain
action filter_type
action find
entity Qazi Anwar Hussain
relation gender
type sex
['Qazi Anwar Hussain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Qazi_Anwar_Hussain property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7267278,P21,c(Q290))
action filter_type
action find
entity Q7267278
relation P21
type Q290
That person possesses a [ANSWER]
['Q7267278', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q7267278 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Qazi Anwar Hussain
relation gender
type sex
['Qazi Anwar Hussain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Qazi_Anwar_Hussain property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q11032 Q2001305
USER
Which people are the CEO of approximately 1 newspapers or television channels ?
(c(Q11032)|c(Q2001305),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
value 1
[[{'concept': 'Q11032'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P169 ?t . ?t rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2001305 } UNION { ?q property:P169 ?t . ?t rdf:type ontology:Q502895 . ?q rdf:type ontology:Q11032 } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
value 1
[[{'concept': 'newspaper'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:chief_executive_officer ?t . ?t rdf:type ontology:common_name . ?q rdf:type ontology:television_channel } UNION { ?q property:chief_executive_officer ?t . ?t rdf:type ontology:common_name . ?q rdf:type ontology:newspaper } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
common name newspaper television channel
Q659356 Q11935031 Q776008
SYSTEM
Luis José Sartorius, 1st Count of San Luis, Manuel de Lasarte i Rodríguez-Cardoso, Nasser Al-Khelaifi
Q1670490 Q16188729 Q20203686 Q6070096 Q6161101 Q659356 Q11928620 Q11935031 Q776008
(c(Q11032)|c(Q2001305),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
value 1
[ANSWERS] are the CEO of approximately 1 newspapers or television channels
[[{'concept': 'Q11032'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P169 ?t . ?t rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2001305 } UNION { ?q property:P169 ?t . ?t rdf:type ontology:Q502895 . ?q rdf:type ontology:Q11032 } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
Wolfgang Büchner Jaume Claramunt i Mesa José María de Mora Pedro Sala y Villaret Vicente Díez Canseco Luis José Sartorius, 1st Count of San Luis Josep Laribal Lastortras Manuel de Lasarte i Rodríguez-Cardoso Nasser Al-Khelaifi
Luis José Sartorius, 1st Count of San Luis, Manuel de Lasarte i Rodríguez-Cardoso and Nasser Al-Khelaifi are the CEO of approximately 1 newspapers or television channels
Luis José Sartorius, 1st Count of San Luis Manuel de Lasarte i Rodríguez-Cardoso Nasser Al-Khelaifi
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
value 1
[[{'concept': 'newspaper'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:chief_executive_officer ?t . ?t rdf:type ontology:common_name . ?q rdf:type ontology:television_channel } UNION { ?q property:chief_executive_officer ?t . ?t rdf:type ontology:common_name . ?q rdf:type ontology:newspaper } } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q776008
P551
Q56061
USER
Which administrative territory was that person a resident of ?
(Q776008,P551,c(Q56061))
action filter_type
action find
entity Q776008
relation P551
type Q56061
['Q776008', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q776008 property:P551 ?q . ?q rdf:type ontology:Q56061 }
Nasser Al-Khelaifi
action filter_type
action find
entity Nasser Al-Khelaifi
relation residence
type administrative territorial entity
['Nasser Al-Khelaifi', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nasser_Al-Khelaifi property:residence ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q776008
SYSTEM
Did you mean Nasser Al-Khelaifi ?
Q659356 Q11935031 Q776008
(Q659356,P551,c(Q56061)) (Q11935031,P551,c(Q56061)) (Q776008,P551,c(Q56061))
[ANSWER]
['Q659356', 'P551', {'concept': 'Q56061'}] ['Q11935031', 'P551', {'concept': 'Q56061'}] ['Q776008', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q776008 property:P551 ?q . ?q rdf:type ontology:Q56061 }
Luis José Sartorius, 1st Count of San Luis Manuel de Lasarte i Rodríguez-Cardoso Nasser Al-Khelaifi
Did you mean Nasser Al-Khelaifi ?
Nasser Al-Khelaifi
['Luis José Sartorius, 1st Count of San Luis', 'residence', {'concept': 'administrative territorial entity'}] ['Manuel de Lasarte i Rodríguez-Cardoso', 'residence', {'concept': 'administrative territorial entity'}] ['Nasser Al-Khelaifi', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nasser_Al-Khelaifi property:residence ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q776008,P551,c(Q56061))
['Q776008', 'P551', {'concept': 'Q56061'}]
['Nasser Al-Khelaifi', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q776008,P551,c(Q56061))
action filter_type
action find
entity Q776008
relation P551
type Q56061
[ANSWER] was that person a resident of
['Q776008', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q776008 property:P551 ?q . ?q rdf:type ontology:Q56061 }
Paris
Paris was that person a resident of
Paris
action filter_type
action find
entity Nasser Al-Khelaifi
relation residence
type administrative territorial entity
['Nasser Al-Khelaifi', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nasser_Al-Khelaifi property:residence ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q12543
P47
Q15617994
USER
Does Hauts-de-Seine share the border with Paris ?
(Q90,P47,Q12543)
action is_in
entity Q12543
action find
entity Q90
relation P47
['Q90', 'P47', 'Q12543']
ASK WHERE { resource:Q90 property:P47 resource:Q12543 }
Paris Hauts-de-Seine
action is_in
entity Hauts-de-Seine
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Hauts-de-Seine']
ASK WHERE { resource:Paris property:shares_border_with resource:Hauts-de-Seine }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q90,P47,Q12543)
action is_in
entity Q12543
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q12543']
ASK WHERE { resource:Q90 property:P47 resource:Q12543 }
Yes
action is_in
entity Hauts-de-Seine
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Hauts-de-Seine']
ASK WHERE { resource:Paris property:shares_border_with resource:Hauts-de-Seine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20872879 Q902 Q55969
P27
Q15617994
USER
Is Farida Yasmin a native of Bangladesh and San Martino Sannita ?
(Q20872879,P27,Q902) (Q20872879,P27,Q55969)
action is_in
entity Q20872879
action intersection
action find_reverse
entity Q902
relation P27
action find_reverse
entity Q55969
relation P27
['Q20872879', 'P27', 'Q902'] ['Q20872879', 'P27', 'Q55969']
ASK WHERE { resource:Q20872879 property:P27 resource:Q902 . resource:Q20872879 property:P27 resource:Q55969 }
Farida Yasmin Bangladesh San Martino Sannita
action is_in
entity Farida Yasmin
action intersection
action find_reverse
entity Bangladesh
relation country of citizenship
action find_reverse
entity San Martino Sannita
relation country of citizenship
['Farida Yasmin', 'country of citizenship', 'Bangladesh'] ['Farida Yasmin', 'country of citizenship', 'San Martino Sannita']
ASK WHERE { resource:Farida_Yasmin property:country_of_citizenship resource:Bangladesh . resource:Farida_Yasmin property:country_of_citizenship resource:San_Martino_Sannita }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q20872879,P27,Q902) (Q20872879,P27,Q55969)
action is_in
entity Q20872879
action intersection
action find_reverse
entity Q902
relation P27
action find_reverse
entity Q55969
relation P27
[ANSWER]
['Q20872879', 'P27', 'Q902'] ['Q20872879', 'P27', 'Q55969']
ASK WHERE { resource:Q20872879 property:P27 resource:Q902 . resource:Q20872879 property:P27 resource:Q55969 }
YES and NO respectively
action is_in
entity Farida Yasmin
action intersection
action find_reverse
entity Bangladesh
relation country of citizenship
action find_reverse
entity San Martino Sannita
relation country of citizenship
['Farida Yasmin', 'country of citizenship', 'Bangladesh'] ['Farida Yasmin', 'country of citizenship', 'San Martino Sannita']
ASK WHERE { resource:Farida_Yasmin property:country_of_citizenship resource:Bangladesh . resource:Farida_Yasmin property:country_of_citizenship resource:San_Martino_Sannita }
[]