Simple Question (Direct)
Simple Question
Q3014483
P937
Q56061
USER
Which is the work location of Eduardo Castañón Albizua ?
(Q3014483,P937,c(Q56061))
action filter_type
action find
entity Q3014483
relation P937
type Q56061
['Q3014483', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3014483 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Eduardo Castañón Albizua
action filter_type
action find
entity Eduardo Castañón Albizua
relation work location
type administrative territorial entity
['Eduardo Castañón Albizua', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eduardo_Castañón_Albizua property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q3014483,P937,c(Q56061))
action filter_type
action find
entity Q3014483
relation P937
type Q56061
The work location of Eduardo Castañón Albizua is in [ANSWER]
['Q3014483', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3014483 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Madrid
The work location of Eduardo Castañón Albizua is in Madrid
Madrid
action filter_type
action find
entity Eduardo Castañón Albizua
relation work location
type administrative territorial entity
['Eduardo Castañón Albizua', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eduardo_Castañón_Albizua property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3014483
P39
Q12737077
USER
What were the positions held by Eduardo Castañón Albizua ?
(Q3014483,P39,c(Q12737077))
action filter_type
action find
entity Q3014483
relation P39
type Q12737077
['Q3014483', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3014483 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Eduardo Castañón Albizua
action filter_type
action find
entity Eduardo Castañón Albizua
relation position held
type occupation
['Eduardo Castañón Albizua', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Eduardo_Castañón_Albizua property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18171345 Q5551744
SYSTEM
Member of the Congress of Deputies of Spain, civil governor
Q18171345 Q5551744
(Q3014483,P39,c(Q12737077))
action filter_type
action find
entity Q3014483
relation P39
type Q12737077
The positions held by Eduardo Castañón Albizua were [ANSWERS]
['Q3014483', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3014483 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain civil governor
The positions held by Eduardo Castañón Albizua were Member of the Congress of Deputies of Spain and civil governor
Member of the Congress of Deputies of Spain civil governor
action filter_type
action find
entity Eduardo Castañón Albizua
relation position held
type occupation
['Eduardo Castañón Albizua', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Eduardo_Castañón_Albizua property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20006209
P39
Q502895
USER
Did Pere Fuster hold the position of those occupations ?
(Q20006209,P39,Q18171345) (Q20006209,P39,Q5551744)
action is_in
entity prev_answer
action find
entity Q20006209
relation P39
['Q20006209', 'P39', 'Q18171345'] ['Q20006209', 'P39', 'Q5551744']
ASK WHERE { VALUES ( ?e ) { ( resource:Q18171345 ) ( resource:Q5551744 ) } . resource:Q20006209 property:P39 ?e }
Pere Fuster
action is_in
entity prev_answer
action find
entity Pere Fuster
relation position held
['Pere Fuster', 'position held', 'Member of the Congress of Deputies of Spain'] ['Pere Fuster', 'position held', 'civil governor']
ASK WHERE { VALUES ( ?e ) { ( resource:Member_of_the_Congress_of_Deputies_of_Spain ) ( resource:civil_governor ) } . resource:Pere_Fuster property:position_held ?e }
[]
common name
SYSTEM
YES
(Q20006209,P39,Q18171345) (Q20006209,P39,Q5551744)
action is_in
entity prev_answer
action find
entity Q20006209
relation P39
[ANSWER]
['Q20006209', 'P39', 'Q18171345'] ['Q20006209', 'P39', 'Q5551744']
ASK WHERE { VALUES ( ?e ) { ( resource:Q18171345 ) ( resource:Q5551744 ) } . resource:Q20006209 property:P39 ?e }
Yes
action is_in
entity prev_answer
action find
entity Pere Fuster
relation position held
['Pere Fuster', 'position held', 'Member of the Congress of Deputies of Spain'] ['Pere Fuster', 'position held', 'civil governor']
ASK WHERE { VALUES ( ?e ) { ( resource:Member_of_the_Congress_of_Deputies_of_Spain ) ( resource:civil_governor ) } . resource:Pere_Fuster property:position_held ?e }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of exactly 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?n . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?m = 1 ) }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?n . ?i rdf:type ontology:occupation . ?n rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the names of person who are the patron saints of exactly 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?n . ?i rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?m = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the names of person who are the patron saints of exactly 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?n . ?i rdf:type ontology:occupation . ?n rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did min number of people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?u ) WHERE { ?g property:P725 ?w . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q386724 } GROUP BY ?g } } . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?h property:P725 ?q . ?h rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?e = ?s ) }
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?u ) WHERE { ?g property:voice_actor ?w . ?w rdf:type ontology:common_name . ?g rdf:type ontology:work } GROUP BY ?g } } . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?h property:voice_actor ?q . ?h rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?e = ?s ) }
[]
common name work
Q10864091
SYSTEM
Isshūkan Friends
Q10864091
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
Min number of people did the dubbing of [ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?u ) WHERE { ?g property:P725 ?w . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q386724 } GROUP BY ?g } } . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?h property:P725 ?q . ?h rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?e = ?s ) }
Isshūkan Friends
Min number of people did the dubbing of Isshūkan Friends
Isshūkan Friends
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?u ) WHERE { ?g property:voice_actor ?w . ?w rdf:type ontology:common_name . ?g rdf:type ontology:work } GROUP BY ?g } } . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?h property:voice_actor ?q . ?h rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?e = ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10864091
P800
Q502895
USER
Whose notable work was that one ?
(c(Q502895),P800,Q10864091)
action filter_type
action find_reverse
entity Q10864091
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q10864091']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P800 resource:Q10864091 }
Isshūkan Friends
action filter_type
action find_reverse
entity Isshūkan Friends
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Isshūkan Friends']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:notable_work resource:Isshūkan_Friends }
[]
common name
Q9335264
SYSTEM
Matcha Hazuki
Q9335264
(c(Q502895),P800,Q10864091)
action filter_type
action find_reverse
entity Q10864091
relation P800
type Q502895
[ANSWER] was that one
[{'concept': 'Q502895'}, 'P800', 'Q10864091']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P800 resource:Q10864091 }
Matcha Hazuki
Matcha Hazuki was that one
Matcha Hazuki
action filter_type
action find_reverse
entity Isshūkan Friends
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Isshūkan Friends']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:notable_work resource:Isshūkan_Friends }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P737
Q502895
USER
Who did Thomas Aquinas influence ?
(c(Q502895),P737,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ?h WHERE { ?h property:P737 resource:Q9438 . ?h rdf:type ontology:Q502895 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ?h WHERE { ?h property:influenced_by resource:Thomas_Aquinas . ?h rdf:type ontology:common_name }
[]
common name
Q12807 Q1067 Q229646
SYSTEM
Umberto Eco, Dante Alighieri, G. E. M. Anscombe
Q12807 Q229646 Q1067 Q10337407
(c(Q502895),P737,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
Thomas Aquinas influenced by [ANSWERS]
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ?h WHERE { ?h property:P737 resource:Q9438 . ?h rdf:type ontology:Q502895 }
Umberto Eco G. E. M. Anscombe Dante Alighieri Norman Geisler
Thomas Aquinas influenced by Umberto Eco, Dante Alighieri and G. E. M. Anscombe
Umberto Eco Dante Alighieri G. E. M. Anscombe
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ?h WHERE { ?h property:influenced_by resource:Thomas_Aquinas . ?h rdf:type ontology:common_name }
[]