Simple Question (Direct)
Simple Question
Q11028079
P21
Q290
USER
Which sex does Edward Mitens have ?
(Q11028079,P21,c(Q290))
action filter_type
action find
entity Q11028079
relation P21
type Q290
['Q11028079', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q11028079 property:P21 ?m }
Edward Mitens
action filter_type
action find
entity Edward Mitens
relation gender
type sex
['Edward Mitens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Edward_Mitens property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11028079,P21,c(Q290))
action filter_type
action find
entity Q11028079
relation P21
type Q290
Edward Mitens has a [ANSWER]
['Q11028079', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q11028079 property:P21 ?m }
male
Edward Mitens has a male
male
action filter_type
action find
entity Edward Mitens
relation gender
type sex
['Edward Mitens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Edward_Mitens property:gender ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people as that sex as their class ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:male . ?v rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:male . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P20
Q56061
USER
Where did the expiration of Augustus Pugin occur ?
(Q313288,P20,c(Q56061))
action filter_type
action find
entity Q313288
relation P20
type Q56061
['Q313288', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q313288 property:P20 ?k }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation place of death
type administrative territorial entity
['Augustus Pugin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Augustus_Pugin property:place_of_death ?k }
[]
administrative territorial entity
Q736439
SYSTEM
Ramsgate
Q736439
(Q313288,P20,c(Q56061))
action filter_type
action find
entity Q313288
relation P20
type Q56061
The expiration of Augustus Pugin occurred in [ANSWER]
['Q313288', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q313288 property:P20 ?k }
Ramsgate
The expiration of Augustus Pugin occurred in Ramsgate
Ramsgate
action filter_type
action find
entity Augustus Pugin
relation place of death
type administrative territorial entity
['Augustus Pugin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Augustus_Pugin property:place_of_death ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1456938
Q56061
USER
And how about Peter Hey?
(Q1456938,P20,c(Q56061))
action filter_type
action find
entity Q1456938
relation P20
type Q56061
['Q1456938', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1456938 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Peter Hey
action filter_type
action find
entity Peter Hey
relation place of death
type administrative territorial entity
['Peter Hey', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Hey property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1456938,P20,c(Q56061))
action filter_type
action find
entity Q1456938
relation P20
type Q56061
[ANSWER]
['Q1456938', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1456938 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Vienna
Vienna
action filter_type
action find
entity Peter Hey
relation place of death
type administrative territorial entity
['Peter Hey', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Hey property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1741 Q3563897 Q3556131
P190
Q56061
USER
Is that administrative territory partner town of Vyadhapura and Evinochori ?
(Q1741,P190,Q3563897) (Q1741,P190,Q3556131)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q3563897
relation P190
action find_reverse
entity Q3556131
relation P190
['Q1741', 'P190', 'Q3563897'] ['Q1741', 'P190', 'Q3556131']
ASK WHERE { resource:Q1741 property:P190 resource:Q3563897 . resource:Q1741 property:P190 resource:Q3556131 }
Vienna Vyadhapura Evinochori
action is_in
entity Vienna
action intersection
action find_reverse
entity Vyadhapura
relation sister city
action find_reverse
entity Evinochori
relation sister city
['Vienna', 'sister city', 'Vyadhapura'] ['Vienna', 'sister city', 'Evinochori']
ASK WHERE { resource:Vienna property:sister_city resource:Vyadhapura . resource:Vienna property:sister_city resource:Evinochori }
[]
administrative territorial entity
SYSTEM
NO
(Q1741,P190,Q3563897) (Q1741,P190,Q3556131)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q3563897
relation P190
action find_reverse
entity Q3556131
relation P190
[ANSWER]
['Q1741', 'P190', 'Q3563897'] ['Q1741', 'P190', 'Q3556131']
ASK WHERE { resource:Q1741 property:P190 resource:Q3563897 . resource:Q1741 property:P190 resource:Q3556131 }
No
action is_in
entity Vienna
action intersection
action find_reverse
entity Vyadhapura
relation sister city
action find_reverse
entity Evinochori
relation sister city
['Vienna', 'sister city', 'Vyadhapura'] ['Vienna', 'sister city', 'Evinochori']
ASK WHERE { resource:Vienna property:sister_city resource:Vyadhapura . resource:Vienna property:sister_city resource:Evinochori }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q1344963 Q15991303
USER
How many people were considered to be the statistical leader of around 1 world championships or association football leagues ?
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 1
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:Q15991303 ) ( ontology:Q1344963 ) } . ?c rdf:type ?t } GROUP BY ?m } }
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 1
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:association_football_league ) ( ontology:world_championship ) } . ?c rdf:type ?t } GROUP BY ?m } }
[]
common name world championship association football league
SYSTEM
42
Q431455 Q57079 Q44470 Q644091 Q273561 Q4973709 Q677546 Q1572946 Q366109 Q309731 Q61219 Q555488 Q18957309 Q18206776 Q721076 Q44815 Q44464 Q505800 Q201885 Q47470 Q186478 Q1797248 Q703224 Q504835 Q80471 Q354774 Q3830637 Q169999 Q62162 Q160363 Q366559 Q702406 Q18352226 Q433813 Q4801743 Q371193 Q2021449 Q450869 Q313913 Q459258 Q2640666 Q485817
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 1
[ANSWER]
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:Q15991303 ) ( ontology:Q1344963 ) } . ?c rdf:type ?t } GROUP BY ?m } }
Sergej Barbarez Jürgen Klinsmann Uwe Seeler Michael Preetz Anne-Marie Colchen Shin Dong-pa Heiko Herrlich Jørn Andersen Mario Basler Márcio Amoroso Fredi Bobic Álvaro Salvadores Ángela Salvadores Nirra Fields Alberto Herreros Élber Giovane Rudi Völler Thomas Christiansen Theofanis Gekas Uwe Rahn Luca Toni Oscar Schmidt Thomas Allofs Andrew Gaze Miroslav Klose Marek Mintál Andrea Borrell Klaus Fischer Fritz Walter Aílton Gonçalves da Silva Horst Hrubesch Hannes Löhr Isabela Ramona Nikos Galis Arturo Guerrero José Juan Barea Yuko Oga Lothar Kobluhn Ebbe Sand Sancho Lyttle Janeth Arcain Rudolf Brunnenmeier
42
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 1
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:association_football_league ) ( ontology:world_championship ) } . ?c rdf:type ?t } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P206
Q355304
USER
Which watercourses are located next to Vienna ?
(Q1741,P206,c(Q355304))
action filter_type
action find
entity Q1741
relation P206
type Q355304
['Q1741', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q1741 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Vienna
action filter_type
action find
entity Vienna
relation located next to body of water
type watercourse
['Vienna', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Vienna property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
watercourse
Q1653 Q701695 Q702289
SYSTEM
Danube, Donaukanal, Wien
Q1653 Q701695 Q1824337 Q702289
(Q1741,P206,c(Q355304))
action filter_type
action find
entity Q1741
relation P206
type Q355304
Austria [ANSWERS] are located next to Vienna
['Q1741', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q1741 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Danube Donaukanal Liesing Wien
Austria Danube, Donaukanal and Wien are located next to Vienna
Danube Donaukanal Wien
action filter_type
action find
entity Vienna
relation located next to body of water
type watercourse
['Vienna', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Vienna property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
Clarification
Simple Question|Single Entity|Indirect
Q702289
P17
Q1048835
USER
Which political territory is that watercourse present in ?
(Q702289,P17,c(Q1048835))
action filter_type
action find
entity Q702289
relation P17
type Q1048835
['Q702289', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q702289 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Wien
action filter_type
action find
entity Wien
relation country
type political territorial entity
['Wien', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wien property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1653
SYSTEM
Did you mean Danube ?
Q1653 Q701695 Q702289
(Q1653,P17,c(Q1048835)) (Q701695,P17,c(Q1048835)) (Q702289,P17,c(Q1048835))
[ANSWER]
['Q1653', 'P17', {'concept': 'Q1048835'}] ['Q701695', 'P17', {'concept': 'Q1048835'}] ['Q702289', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q702289 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Danube Donaukanal Wien
Did you mean Danube ?
Danube
['Danube', 'country', {'concept': 'political territorial entity'}] ['Donaukanal', 'country', {'concept': 'political territorial entity'}] ['Wien', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wien property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Wien. Could you tell me the answer for that?
(Q702289,P17,c(Q1048835))
Q702289
['Q702289', 'P17', {'concept': 'Q1048835'}]
['Wien', 'country', {'concept': 'political territorial entity'}]
[]
Q40
SYSTEM
Austria
Q40
(Q702289,P17,c(Q1048835))
action filter_type
action find
entity Q702289
relation P17
type Q1048835
That watercourse is in [ANSWER]
['Q702289', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q702289 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Austria
That watercourse is in Austria
Austria
action filter_type
action find
entity Wien
relation country
type political territorial entity
['Wien', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wien property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q40 Q72856 Q11753
P35
Q502895
USER
Is Rudolf Kirchschläger and Heinz Fischer the head of state of Q40 ?
(Q40,P35,Q72856) (Q40,P35,Q11753)
action is_in
entity Q40
action intersection
action find_reverse
entity Q72856
relation P35
action find_reverse
entity Q11753
relation P35
['Q40', 'P35', 'Q72856'] ['Q40', 'P35', 'Q11753']
ASK WHERE { resource:Q40 property:P35 resource:Q72856 . resource:Q40 property:P35 resource:Q11753 }
Austria Rudolf Kirchschläger Heinz Fischer
action is_in
entity Austria
action intersection
action find_reverse
entity Rudolf Kirchschläger
relation head of state
action find_reverse
entity Heinz Fischer
relation head of state
['Austria', 'head of state', 'Rudolf Kirchschläger'] ['Austria', 'head of state', 'Heinz Fischer']
ASK WHERE { resource:Austria property:head_of_state resource:Rudolf_Kirchschläger . resource:Austria property:head_of_state resource:Heinz_Fischer }
[]
common name
SYSTEM
YES
(Q40,P35,Q72856) (Q40,P35,Q11753)
action is_in
entity Q40
action intersection
action find_reverse
entity Q72856
relation P35
action find_reverse
entity Q11753
relation P35
[ANSWER]
['Q40', 'P35', 'Q72856'] ['Q40', 'P35', 'Q11753']
ASK WHERE { resource:Q40 property:P35 resource:Q72856 . resource:Q40 property:P35 resource:Q11753 }
Yes
action is_in
entity Austria
action intersection
action find_reverse
entity Rudolf Kirchschläger
relation head of state
action find_reverse
entity Heinz Fischer
relation head of state
['Austria', 'head of state', 'Rudolf Kirchschläger'] ['Austria', 'head of state', 'Heinz Fischer']
ASK WHERE { resource:Austria property:head_of_state resource:Rudolf_Kirchschläger . resource:Austria property:head_of_state resource:Heinz_Fischer }
[]