Simple Question (Direct)
Simple Question
Q19997706
P39
Q12737077
USER
Which occupation was a position occupied by Alejandro Sendra Burgos ?
(Q19997706,P39,c(Q12737077))
action filter_type
action find
entity Q19997706
relation P39
type Q12737077
['Q19997706', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q19997706 property:P39 ?g }
Alejandro Sendra Burgos
action filter_type
action find
entity Alejandro Sendra Burgos
relation position held
type occupation
['Alejandro Sendra Burgos', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Alejandro_Sendra_Burgos property:position_held ?g }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q19997706,P39,c(Q12737077))
action filter_type
action find
entity Q19997706
relation P39
type Q12737077
[ANSWER] was a position occupied by Alejandro Sendra Burgos
['Q19997706', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q19997706 property:P39 ?g }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain was a position occupied by Alejandro Sendra Burgos
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Alejandro Sendra Burgos
relation position held
type occupation
['Alejandro Sendra Burgos', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Alejandro_Sendra_Burgos property:position_held ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19997706
P21
Q290
USER
Which sex does Alejandro Sendra Burgos have ?
(Q19997706,P21,c(Q290))
action filter_type
action find
entity Q19997706
relation P21
type Q290
['Q19997706', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q19997706 property:P21 ?k }
Alejandro Sendra Burgos
action filter_type
action find
entity Alejandro Sendra Burgos
relation gender
type sex
['Alejandro Sendra Burgos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Alejandro_Sendra_Burgos property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19997706,P21,c(Q290))
action filter_type
action find
entity Q19997706
relation P21
type Q290
Alejandro Sendra Burgos has a [ANSWER]
['Q19997706', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q19997706 property:P21 ?k }
male
Alejandro Sendra Burgos has a male
male
action filter_type
action find
entity Alejandro Sendra Burgos
relation gender
type sex
['Alejandro Sendra Burgos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Alejandro_Sendra_Burgos property:gender ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19997706
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q19997706
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q19997706 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Alejandro Sendra Burgos
action filter_type
action find
entity Alejandro Sendra Burgos
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alejandro_Sendra_Burgos property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q19997706
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q19997706 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Alejandro Sendra Burgos
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alejandro_Sendra_Burgos property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q2031291 Q207628
USER
Which people are around 2 releases or musical compositions dedicated to ?
(c(Q2031291)|c(Q207628),P825,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q2031291
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
value 2
[[{'concept': 'Q2031291'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:Q2031291 ) ( ontology:Q207628 ) } . ?o rdf:type ?e } GROUP BY ?j } }
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type release
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
value 2
[[{'concept': 'release'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:release ) ( ontology:musical_composition ) } . ?o rdf:type ?e } GROUP BY ?j } }
[]
common name release musical composition
Q41309 Q93341 Q51056
SYSTEM
Franz Liszt, Miles Davis, Franz Joseph I of Austria
Q85210 Q150767 Q1948037 Q93341 Q44039 Q443559 Q160257 Q570845 Q502943 Q2573616 Q51056 Q160435 Q472635 Q92467 Q328341 Q538335 Q11107790 Q179858 Q181689 Q41309
(c(Q2031291)|c(Q207628),P825,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q2031291
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
value 2
[ANSWERS]
[[{'concept': 'Q2031291'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:Q2031291 ) ( ontology:Q207628 ) } . ?o rdf:type ?e } GROUP BY ?j } }
Karl Ritter von Stremayr Benjamin Britten Moritz Reichsgraf von Fries Miles Davis Ludwig II of Bavaria Elizabeth Sprague Coolidge Wanda Landowska Joseph Franz von Lobkowitz Andrey Razumovsky Eric Fletcher Waters Franz Joseph I of Austria Gerrit Rietveld Gustav, Prince of Vasa Theodor Avé-Lallemant Robert Smithson Marianne Kirchgessner Kristjan Cavazza Urho Kekkonen Blind Willie McTell Franz Liszt
Which people are around 2 releases or musical compositions dedicated to
Franz Liszt Miles Davis Franz Joseph I of Austria
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type release
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
value 2
[[{'concept': 'release'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:release ) ( ontology:musical_composition ) } . ?o rdf:type ?e } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q41309
P1066
Q502895
USER
How many people taught Franz Liszt ?
(Q41309,P1066,c(Q502895))
action count
action filter_type
action find
entity Q41309
relation P1066
type Q502895
['Q41309', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q41309 property:P1066 ?h . ?h rdf:type ontology:Q502895 }
Franz Liszt
action count
action filter_type
action find
entity Franz Liszt
relation student of
type common name
['Franz Liszt', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Franz_Liszt property:student_of ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q350325 Q215333 Q533022 Q311387 Q51088
(Q41309,P1066,c(Q502895))
action count
action filter_type
action find
entity Q41309
relation P1066
type Q502895
[ANSWER]
['Q41309', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q41309 property:P1066 ?h . ?h rdf:type ontology:Q502895 }
Adam Liszt Carl Czerny Ferdinando Paer Anton Reicha Antonio Salieri
5
action count
action filter_type
action find
entity Franz Liszt
relation student of
type common name
['Franz Liszt', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Franz_Liszt property:student_of ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41309
P800
Q207628
USER
Who notable work was done by that person ?
action filter_type
action find
entity Q41309
relation P800
type Q207628
SELECT DISTINCT ?g WHERE { resource:Q41309 property:P800 ?g . ?g rdf:type ontology:Q207628 }
Franz Liszt
action filter_type
action find
entity Franz Liszt
relation notable work
type musical composition
SELECT DISTINCT ?g WHERE { resource:Franz_Liszt property:notable_work ?g . ?g rdf:type ontology:musical_composition }
[]
musical composition
Q901873
SYSTEM
Dante Symphony
Q901873
action filter_type
action find
entity Q41309
relation P800
type Q207628
The [ANSWER] was done by that person
SELECT DISTINCT ?g WHERE { resource:Q41309 property:P800 ?g . ?g rdf:type ontology:Q207628 }
Dante Symphony
The Dante Symphony was done by that person
Dante Symphony
action filter_type
action find
entity Franz Liszt
relation notable work
type musical composition
SELECT DISTINCT ?g WHERE { resource:Franz_Liszt property:notable_work ?g . ?g rdf:type ontology:musical_composition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41309
P451
Q502895
USER
Who is the mistress of Franz Liszt ?
(Q41309,P451,c(Q502895))
action filter_type
action find
entity Q41309
relation P451
type Q502895
['Q41309', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q41309 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Franz Liszt
action filter_type
action find
entity Franz Liszt
relation partner
type common name
['Franz Liszt', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Liszt property:partner ?d . ?d rdf:type ontology:common_name }
[]
common name
Q253453
SYSTEM
Marie d'Agoult
Q253453
(Q41309,P451,c(Q502895))
action filter_type
action find
entity Q41309
relation P451
type Q502895
The mistress of Franz Liszt is called [ANSWER]
['Q41309', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q41309 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Marie d'Agoult
The mistress of Franz Liszt is called Marie d'Agoult
Marie d'Agoult
action filter_type
action find
entity Franz Liszt
relation partner
type common name
['Franz Liszt', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Liszt property:partner ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q253453 Q17633 Q327111
P27
Q15617994
USER
Is that person a civilian of Pareto and Terzolas ?
(Q253453,P27,Q17633) (Q253453,P27,Q327111)
action is_in
entity Q253453
action intersection
action find_reverse
entity Q17633
relation P27
action find_reverse
entity Q327111
relation P27
['Q253453', 'P27', 'Q17633'] ['Q253453', 'P27', 'Q327111']
ASK WHERE { resource:Q253453 property:P27 resource:Q17633 . resource:Q253453 property:P27 resource:Q327111 }
Marie d'Agoult Pareto Terzolas
action is_in
entity Marie d'Agoult
action intersection
action find_reverse
entity Pareto
relation country of citizenship
action find_reverse
entity Terzolas
relation country of citizenship
["Marie d'Agoult", 'country of citizenship', 'Pareto'] ["Marie d'Agoult", 'country of citizenship', 'Terzolas']
ASK WHERE { resource:Marie_d'Agoult property:country_of_citizenship resource:Pareto . resource:Marie_d'Agoult property:country_of_citizenship resource:Terzolas }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q253453,P27,Q17633) (Q253453,P27,Q327111)
action is_in
entity Q253453
action intersection
action find_reverse
entity Q17633
relation P27
action find_reverse
entity Q327111
relation P27
[ANSWER]
['Q253453', 'P27', 'Q17633'] ['Q253453', 'P27', 'Q327111']
ASK WHERE { resource:Q253453 property:P27 resource:Q17633 . resource:Q253453 property:P27 resource:Q327111 }
No
action is_in
entity Marie d'Agoult
action intersection
action find_reverse
entity Pareto
relation country of citizenship
action find_reverse
entity Terzolas
relation country of citizenship
["Marie d'Agoult", 'country of citizenship', 'Pareto'] ["Marie d'Agoult", 'country of citizenship', 'Terzolas']
ASK WHERE { resource:Marie_d'Agoult property:country_of_citizenship resource:Pareto . resource:Marie_d'Agoult property:country_of_citizenship resource:Terzolas }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q253453
P138
Q34442
USER
Which road has that person as its namesake ?
action filter_type
action find_reverse
entity Q253453
relation P138
type Q34442
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q253453 . ?d rdf:type ontology:Q34442 }
Marie d'Agoult
action filter_type
action find_reverse
entity Marie d'Agoult
relation named after
type road
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Marie_d'Agoult . ?d rdf:type ontology:road }
[]
road
Q3447604
SYSTEM
rue Daniel-Stern
Q3447604
action filter_type
action find_reverse
entity Q253453
relation P138
type Q34442
[ANSWER] has that person as its namesake
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q253453 . ?d rdf:type ontology:Q34442 }
rue Daniel-Stern
Rue Daniel-Stern has that person as its namesake
rue Daniel-Stern
action filter_type
action find_reverse
entity Marie d'Agoult
relation named after
type road
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Marie_d'Agoult . ?d rdf:type ontology:road }
[]