Simple Question (Direct)
Simple Question
Q1649797
P1412
Q34770
USER
Which language can Andoni Lakabeg understand ?
(Q1649797,P1412,c(Q34770))
action filter_type
action find
entity Q1649797
relation P1412
type Q34770
['Q1649797', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q1649797 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Andoni Lakabeg
action filter_type
action find
entity Andoni Lakabeg
relation languages spoken, written or signed
type language
['Andoni Lakabeg', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Andoni_Lakabeg property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1649797,P1412,c(Q34770))
action filter_type
action find
entity Q1649797
relation P1412
type Q34770
Andoni Lakabeg can understand the [ANSWER]
['Q1649797', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q1649797 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Andoni Lakabeg can understand the Spanish
Spanish
action filter_type
action find
entity Andoni Lakabeg
relation languages spoken, written or signed
type language
['Andoni Lakabeg', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Andoni_Lakabeg property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1649797
P19
Q56061
USER
Which administrative territory was Andoni Lakabeg born at ?
(Q1649797,P19,c(Q56061))
action filter_type
action find
entity Q1649797
relation P19
type Q56061
['Q1649797', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1649797 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Andoni Lakabeg
action filter_type
action find
entity Andoni Lakabeg
relation place of birth
type administrative territorial entity
['Andoni Lakabeg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Andoni_Lakabeg property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8692
SYSTEM
Bilbao
Q8692
(Q1649797,P19,c(Q56061))
action filter_type
action find
entity Q1649797
relation P19
type Q56061
Andoni Lakabeg was born in [ANSWER]
['Q1649797', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1649797 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Bilbao
Andoni Lakabeg was born in Bilbao
Bilbao
action filter_type
action find
entity Andoni Lakabeg
relation place of birth
type administrative territorial entity
['Andoni Lakabeg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Andoni_Lakabeg property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2039115
Q56061
USER
And also tell me about Antoine-Éléonor-Léon Leclerc de Juigné?
(Q2039115,P19,c(Q56061))
action filter_type
action find
entity Q2039115
relation P19
type Q56061
['Q2039115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2039115 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Antoine-Éléonor-Léon Leclerc de Juigné
action filter_type
action find
entity Antoine-Éléonor-Léon Leclerc de Juigné
relation place of birth
type administrative territorial entity
['Antoine-Éléonor-Léon Leclerc de Juigné', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antoine-Éléonor-Léon_Leclerc_de_Juigné property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2039115,P19,c(Q56061))
action filter_type
action find
entity Q2039115
relation P19
type Q56061
[ANSWER]
['Q2039115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2039115 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Antoine-Éléonor-Léon Leclerc de Juigné
relation place of birth
type administrative territorial entity
['Antoine-Éléonor-Léon Leclerc de Juigné', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antoine-Éléonor-Léon_Leclerc_de_Juigné property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2039115
P7
Q502895
USER
Which people have Antoine-Éléonor-Léon Leclerc de Juigné as their brother ?
(c(Q502895),P7,Q2039115)
action filter_type
action find
entity Q2039115
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2039115']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2039115 property:P7 ?b }
Antoine-Éléonor-Léon Leclerc de Juigné
action filter_type
action find
entity Antoine-Éléonor-Léon Leclerc de Juigné
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Antoine-Éléonor-Léon Leclerc de Juigné']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Antoine-Éléonor-Léon_Leclerc_de_Juigné property:brother ?b }
[]
common name
Q3158958 Q3271181
SYSTEM
Jacques Gabriel Louis Le Clerc de Juigné, Léon Marguerite Le Clerc de Juigné
Q3158958 Q3271181
(c(Q502895),P7,Q2039115)
action filter_type
action find
entity Q2039115
relation P7
type Q502895
[ANSWERS] have Antoine-Éléonor-Léon Leclerc de Juigné as their brother
[{'concept': 'Q502895'}, 'P7', 'Q2039115']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2039115 property:P7 ?b }
Jacques Gabriel Louis Le Clerc de Juigné Léon Marguerite Le Clerc de Juigné
Jacques Gabriel Louis Le Clerc de Juigné and Léon Marguerite Le Clerc de Juigné have Antoine-Éléonor-Léon Leclerc de Juigné as their brother
Jacques Gabriel Louis Le Clerc de Juigné Léon Marguerite Le Clerc de Juigné
action filter_type
action find
entity Antoine-Éléonor-Léon Leclerc de Juigné
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Antoine-Éléonor-Léon Leclerc de Juigné']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Antoine-Éléonor-Léon_Leclerc_de_Juigné property:brother ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3158958
P20
Q56061
USER
Where did that person die ?
(Q3158958,P20,c(Q56061))
action filter_type
action find
entity Q3158958
relation P20
type Q56061
['Q3158958', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3158958 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Jacques Gabriel Louis Le Clerc de Juigné
action filter_type
action find
entity Jacques Gabriel Louis Le Clerc de Juigné
relation place of death
type administrative territorial entity
['Jacques Gabriel Louis Le Clerc de Juigné', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jacques_Gabriel_Louis_Le_Clerc_de_Juigné property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3271181
SYSTEM
Did you mean Léon Marguerite Le Clerc de Juigné ?
Q3158958 Q3271181
(Q3158958,P20,c(Q56061)) (Q3271181,P20,c(Q56061))
[ANSWER]
['Q3158958', 'P20', {'concept': 'Q56061'}] ['Q3271181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3158958 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Jacques Gabriel Louis Le Clerc de Juigné Léon Marguerite Le Clerc de Juigné
Did you mean Léon Marguerite Le Clerc de Juigné ?
Léon Marguerite Le Clerc de Juigné
['Jacques Gabriel Louis Le Clerc de Juigné', 'place of death', {'concept': 'administrative territorial entity'}] ['Léon Marguerite Le Clerc de Juigné', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jacques_Gabriel_Louis_Le_Clerc_de_Juigné property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Jacques Gabriel Louis Le Clerc de Juigné. Could you tell me the answer for that?
(Q3158958,P20,c(Q56061))
Q3158958
['Q3158958', 'P20', {'concept': 'Q56061'}]
['Jacques Gabriel Louis Le Clerc de Juigné', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q3158958,P20,c(Q56061))
action filter_type
action find
entity Q3158958
relation P20
type Q56061
That person died in [ANSWER]
['Q3158958', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3158958 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Paris
That person died in Paris
Paris
action filter_type
action find
entity Jacques Gabriel Louis Le Clerc de Juigné
relation place of death
type administrative territorial entity
['Jacques Gabriel Louis Le Clerc de Juigné', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jacques_Gabriel_Louis_Le_Clerc_de_Juigné property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have adopted more number of holidays or people as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q90
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:Q56061 . ?e rdf:type ontology:Q1445650 . ?k property:P417 ?e } UNION { ?k property:P417 ?e . ?e rdf:type ontology:Q502895 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?j rdf:type ?i } . resource:Q90 property:P417 ?j } } . FILTER ( ?h > ?q ) }
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Paris
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:holiday . ?k property:patron_saint ?e } UNION { ?k property:patron_saint ?e . ?e rdf:type ontology:common_name . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } . ?j rdf:type ?i } . resource:Paris property:patron_saint ?j } } . FILTER ( ?h > ?q ) }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q90
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:Q56061 . ?e rdf:type ontology:Q1445650 . ?k property:P417 ?e } UNION { ?k property:P417 ?e . ?e rdf:type ontology:Q502895 . ?k rdf:type ontology:Q56061 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?j rdf:type ?i } . resource:Q90 property:P417 ?j } } . FILTER ( ?h > ?q ) }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Paris
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:holiday . ?k property:patron_saint ?e } UNION { ?k property:patron_saint ?e . ?e rdf:type ontology:common_name . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } . ?j rdf:type ?i } . resource:Paris property:patron_saint ?j } } . FILTER ( ?h > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P138
Q17444909
USER
Which astronomical object type is the eponym of Paris ?
(c(Q17444909),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q90']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q90 . ?q rdf:type ontology:Q17444909 }
Paris
action filter_type
action find_reverse
entity Paris
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Paris']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Paris . ?q rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q107556
SYSTEM
21 Lutetia
Q107556
(c(Q17444909),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q17444909
[ANSWER] is the eponym of Paris
[{'concept': 'Q17444909'}, 'P138', 'Q90']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q90 . ?q rdf:type ontology:Q17444909 }
21 Lutetia
21 Lutetia is the eponym of Paris
21 Lutetia
action filter_type
action find_reverse
entity Paris
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Paris']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Paris . ?q rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q107556
P196
Q6999
USER
Which astronomical object is considered to be the minor planet group of that astronomical object type ?
(Q107556,P196,c(Q6999))
action filter_type
action find
entity Q107556
relation P196
type Q6999
['Q107556', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6999 . resource:Q107556 property:P196 ?t }
21 Lutetia
action filter_type
action find
entity 21 Lutetia
relation minor planet group
type astronomical object
['21 Lutetia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:astronomical_object . resource:21_Lutetia property:minor_planet_group ?t }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q107556,P196,c(Q6999))
action filter_type
action find
entity Q107556
relation P196
type Q6999
[ANSWER] is considered to be the minor planet group of that astronomical object type
['Q107556', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6999 . resource:Q107556 property:P196 ?t }
asteroid belt
Asteroid belt is considered to be the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 21 Lutetia
relation minor planet group
type astronomical object
['21 Lutetia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:astronomical_object . resource:21_Lutetia property:minor_planet_group ?t }
[]