Simple Question (Direct)
Simple Question
Q6172968
P22
Q502895
USER
Which male person was the parent of Álvaro de Figueroa y Alonso-Martínez ?
(Q6172968,P22,c(Q502895))
action filter_type
action find
entity Q6172968
relation P22
type Q502895
['Q6172968', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q6172968 property:P22 ?l }
Álvaro de Figueroa y Alonso-Martínez
action filter_type
action find
entity Álvaro de Figueroa y Alonso-Martínez
relation father
type common name
['Álvaro de Figueroa y Alonso-Martínez', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Álvaro_de_Figueroa_y_Alonso-Martínez property:father ?l }
[]
common name
Q250975
SYSTEM
Álvaro de Figueroa, 1st Count of Romanones
Q250975
(Q6172968,P22,c(Q502895))
action filter_type
action find
entity Q6172968
relation P22
type Q502895
[ANSWER] was the parent of Álvaro de Figueroa y Alonso-Martínez
['Q6172968', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q6172968 property:P22 ?l }
Álvaro de Figueroa, 1st Count of Romanones
Álvaro de Figueroa, 1st Count of Romanones was the parent of Álvaro de Figueroa y Alonso-Martínez
Álvaro de Figueroa, 1st Count of Romanones
action filter_type
action find
entity Álvaro de Figueroa y Alonso-Martínez
relation father
type common name
['Álvaro de Figueroa y Alonso-Martínez', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Álvaro_de_Figueroa_y_Alonso-Martínez property:father ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6172968
P40
Q502895
USER
Whose child is Álvaro de Figueroa y Alonso-Martínez ?
(c(Q502895),P40,Q6172968)
action filter_type
action find_reverse
entity Q6172968
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6172968']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q6172968 . ?v rdf:type ontology:Q502895 }
Álvaro de Figueroa y Alonso-Martínez
action filter_type
action find_reverse
entity Álvaro de Figueroa y Alonso-Martínez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Álvaro de Figueroa y Alonso-Martínez']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Álvaro_de_Figueroa_y_Alonso-Martínez . ?v rdf:type ontology:common_name }
[]
common name
Q250975
SYSTEM
Álvaro de Figueroa, 1st Count of Romanones
Q250975
(c(Q502895),P40,Q6172968)
action filter_type
action find_reverse
entity Q6172968
relation P40
type Q502895
[ANSWER] is Álvaro de Figueroa y Alonso-Martínez
[{'concept': 'Q502895'}, 'P40', 'Q6172968']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q6172968 . ?v rdf:type ontology:Q502895 }
Álvaro de Figueroa, 1st Count of Romanones
Álvaro de Figueroa, 1st Count of Romanones is Álvaro de Figueroa y Alonso-Martínez
Álvaro de Figueroa, 1st Count of Romanones
action filter_type
action find_reverse
entity Álvaro de Figueroa y Alonso-Martínez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Álvaro de Figueroa y Alonso-Martínez']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Álvaro_de_Figueroa_y_Alonso-Martínez . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q250975
P7
Q502895
USER
Who are the brother of that one ?
(Q250975,P7,c(Q502895))
action filter_type
action find
entity Q250975
relation P7
type Q502895
['Q250975', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q250975 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Álvaro de Figueroa, 1st Count of Romanones
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation brother
type common name
['Álvaro de Figueroa, 1st Count of Romanones', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:brother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q21370981 Q21296893
SYSTEM
Gonzalo Figueroa y Torres, Rodrigo Figueroa y Torres
Q21370981 Q21296893
(Q250975,P7,c(Q502895))
action filter_type
action find
entity Q250975
relation P7
type Q502895
The brother of that one are [ANSWERS]
['Q250975', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q250975 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Gonzalo Figueroa y Torres Rodrigo Figueroa y Torres
The brother of that one are Gonzalo Figueroa y Torres and Rodrigo Figueroa y Torres
Gonzalo Figueroa y Torres Rodrigo Figueroa y Torres
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation brother
type common name
['Álvaro de Figueroa, 1st Count of Romanones', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:brother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21370981 Q21296893
P7
Q502895
USER
Who have those ones as their sibling ?
(c(Q502895),P7,Q21370981) (c(Q502895),P7,Q21296893)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q21370981'] [{'concept': 'Q502895'}, 'P7', 'Q21296893']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?l property:P7 ?q . VALUES ( ?l ) { ( resource:Q21370981 ) ( resource:Q21296893 ) } }
Gonzalo Figueroa y Torres Rodrigo Figueroa y Torres
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Gonzalo Figueroa y Torres'] [{'concept': 'common name'}, 'brother', 'Rodrigo Figueroa y Torres']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?l property:brother ?q . VALUES ( ?l ) { ( resource:Gonzalo_Figueroa_y_Torres ) ( resource:Rodrigo_Figueroa_y_Torres ) } }
[]
common name
Q250975 Q250975 Q21296893
SYSTEM
Rodrigo Figueroa y Torres for 3rd, Álvaro de Figueroa, 1st Count of Romanones for 1st, 2nd
Q250975 Q21296893 Q250975 Q21370981
(c(Q502895),P7,Q21370981) (c(Q502895),P7,Q21296893)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q21370981'] [{'concept': 'Q502895'}, 'P7', 'Q21296893']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?l property:P7 ?q . VALUES ( ?l ) { ( resource:Q21370981 ) ( resource:Q21296893 ) } }
Álvaro de Figueroa, 1st Count of Romanones Rodrigo Figueroa y Torres Álvaro de Figueroa, 1st Count of Romanones Gonzalo Figueroa y Torres
Álvaro de Figueroa, 1st Count of Romanones, Álvaro de Figueroa, 1st Count of Romanones and Rodrigo Figueroa y Torres have those ones as their sibling
Álvaro de Figueroa, 1st Count of Romanones Álvaro de Figueroa, 1st Count of Romanones Rodrigo Figueroa y Torres
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Gonzalo Figueroa y Torres'] [{'concept': 'common name'}, 'brother', 'Rodrigo Figueroa y Torres']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?l property:brother ?q . VALUES ( ?l ) { ( resource:Gonzalo_Figueroa_y_Torres ) ( resource:Rodrigo_Figueroa_y_Torres ) } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as father ?
(c(Q502895),P22,Q250975)
[{'concept': 'Q502895'}, 'P22', 'Q250975']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q250975 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q250975
SYSTEM
Did you mean Álvaro de Figueroa, 1st Count of Romanones ?
(c(Q502895),P22,Q250975) (c(Q502895),P22,Q250975) (c(Q502895),P22,Q21296893)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q250975'] [{'concept': 'Q502895'}, 'P22', 'Q250975'] [{'concept': 'Q502895'}, 'P22', 'Q21296893']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q250975 . ?z rdf:type ontology:Q502895 }
Did you mean Álvaro de Figueroa, 1st Count of Romanones ?
Álvaro de Figueroa, 1st Count of Romanones
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones'] [{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones'] [{'concept': 'common name'}, 'father', 'Rodrigo Figueroa y Torres']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P22,Q250975)
[{'concept': 'Q502895'}, 'P22', 'Q250975']
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones']
[]
SYSTEM
4
Q6172968 Q5392202 Q47000 Q16169890
(c(Q502895),P22,Q250975)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q250975']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q250975 . ?z rdf:type ontology:Q502895 }
Álvaro de Figueroa y Alonso-Martínez Agustín de Figueroa José de Figueroa y Alonso-Martínez Luis de Figueroa
4
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q250975
P21
Q290
USER
What is the sex of Álvaro de Figueroa, 1st Count of Romanones ?
(Q250975,P21,c(Q290))
action filter_type
action find
entity Q250975
relation P21
type Q290
['Q250975', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q250975 property:P21 ?w . ?w rdf:type ontology:Q290 }
Álvaro de Figueroa, 1st Count of Romanones
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation gender
type sex
['Álvaro de Figueroa, 1st Count of Romanones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q250975,P21,c(Q290))
action filter_type
action find
entity Q250975
relation P21
type Q290
The sex of Álvaro de Figueroa , 1st Count of Romanones is the [ANSWER]
['Q250975', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q250975 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Álvaro de Figueroa , 1st Count of Romanones is the male
male
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation gender
type sex
['Álvaro de Figueroa, 1st Count of Romanones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 109 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 109
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?e . ?l rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?h = 109 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 109
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?e . ?l rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?h = 109 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 109
[ANSWERS] are played by approximately 109 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?e . ?l rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?h = 109 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by approximately 109 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 109
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?e . ?l rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?h = 109 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q250975
P22
Q502895
USER
How many people have Álvaro de Figueroa, 1st Count of Romanones as dad ?
(c(Q502895),P22,Q250975)
action count
action filter_type
action find_reverse
entity Q250975
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q250975']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P22 resource:Q250975 . ?z rdf:type ontology:Q502895 }
Álvaro de Figueroa, 1st Count of Romanones
action count
action filter_type
action find_reverse
entity Álvaro de Figueroa, 1st Count of Romanones
relation father
type common name
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:father resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q6172968 Q5392202 Q47000 Q16169890
(c(Q502895),P22,Q250975)
action count
action filter_type
action find_reverse
entity Q250975
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q250975']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P22 resource:Q250975 . ?z rdf:type ontology:Q502895 }
Álvaro de Figueroa y Alonso-Martínez Agustín de Figueroa José de Figueroa y Alonso-Martínez Luis de Figueroa
4
action count
action filter_type
action find_reverse
entity Álvaro de Figueroa, 1st Count of Romanones
relation father
type common name
[{'concept': 'common name'}, 'father', 'Álvaro de Figueroa, 1st Count of Romanones']
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:father resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q250975 Q1700954
P106
Q12737077
USER
How many occupations are the professions of Álvaro de Figueroa, 1st Count of Romanones and John Maddox ?
(Q250975,P106,c(Q12737077)) (Q1700954,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q250975
relation P106
type Q12737077
action filter_type
action find
entity Q1700954
relation P106
type Q12737077
['Q250975', 'P106', {'concept': 'Q12737077'}] ['Q1700954', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q250975 property:P106 ?a . ?a rdf:type ontology:Q12737077 . resource:Q1700954 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Álvaro de Figueroa, 1st Count of Romanones John Maddox
action count
action intersection
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation occupation
type occupation
action filter_type
action find
entity John Maddox
relation occupation
type occupation
['Álvaro de Figueroa, 1st Count of Romanones', 'occupation', {'concept': 'occupation'}] ['John Maddox', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:occupation ?a . ?a rdf:type ontology:occupation . resource:John_Maddox property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q1930187 Q36180
(Q250975,P106,c(Q12737077)) (Q1700954,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q250975
relation P106
type Q12737077
action filter_type
action find
entity Q1700954
relation P106
type Q12737077
[ANSWER]
['Q250975', 'P106', {'concept': 'Q12737077'}] ['Q1700954', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q250975 property:P106 ?a . ?a rdf:type ontology:Q12737077 . resource:Q1700954 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
journalist writer
2
action count
action intersection
action filter_type
action find
entity Álvaro de Figueroa, 1st Count of Romanones
relation occupation
type occupation
action filter_type
action find
entity John Maddox
relation occupation
type occupation
['Álvaro de Figueroa, 1st Count of Romanones', 'occupation', {'concept': 'occupation'}] ['John Maddox', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Álvaro_de_Figueroa,_1st_Count_of_Romanones property:occupation ?a . ?a rdf:type ontology:occupation . resource:John_Maddox property:occupation ?a . ?a rdf:type ontology:occupation }
[]