Simple Question (Direct)
Simple Question
Q6845832
P21
Q290
USER
Which sex does Mike Adams have ?
(Q6845832,P21,c(Q290))
action filter_type
action find
entity Q6845832
relation P21
type Q290
['Q6845832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q6845832 property:P21 ?s . ?s rdf:type ontology:Q290 }
Mike Adams
action filter_type
action find
entity Mike Adams
relation gender
type sex
['Mike Adams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mike_Adams property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6845832,P21,c(Q290))
action filter_type
action find
entity Q6845832
relation P21
type Q290
Mike Adams has a [ANSWER]
['Q6845832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q6845832 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Mike Adams has a male
male
action filter_type
action find
entity Mike Adams
relation gender
type sex
['Mike Adams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mike_Adams property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6845832
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6845832
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6845832 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Mike Adams
action filter_type
action find
entity Mike Adams
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Adams property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6845832
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6845832 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Mike Adams
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Adams property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6845832
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6845832
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q6845832 property:P641 ?r }
Mike Adams
action filter_type
action find
entity Mike Adams
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Mike_Adams property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6845832
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q6845832 property:P641 ?r }
association football
That person participated in association football
association football
action filter_type
action find
entity Mike Adams
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Mike_Adams property:sport ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
England
The origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P551
Q502895
USER
Which people have residence at that territory ?
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q21 . ?n rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:England . ?n rdf:type ontology:common_name }
[]
common name
Q7085 Q12908 Q935
SYSTEM
Niels Bohr, George Soros, Isaac Newton
Q19721999 Q7085 Q17297597 Q15632055 Q1331681 Q12908 Q189144 Q544951 Q7086769 Q171363 Q27740159 Q3198512 Q21151748 Q16065895 Q21069418 Q6097409 Q117139 Q8006910 Q2877725 Q15429884 Q213712 Q14277 Q76948 Q6914744 Q19629253 Q935 Q5538701 Q20810758
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWERS] have residence at that territory
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q21 . ?n rdf:type ontology:Q502895 }
Coco Piris Niels Bohr Charles de Coux Christie Fuller Ella Briggs George Soros Walter Raleigh Moshoeshoe II of Lesotho Oli Thompson Viggo Mortensen Barbara Ferland Gundulf Rosemary Stjernstedt Maria Caterina Rosalbina Caradori-Allan Frédéric Albrecht Ivan Sansom Wiz Khalifa William Close Baba de Faucigny-Lucinge Mary Elizabeth Hawker Rudolf von Laban William Herschel Caroline Herschel Mortimer Menpes Jacques Dessalines Isaac Newton George E. A. Hallett Leopold William Jerome Fane De Salis
Niels Bohr, George Soros and Isaac Newton have residence at that territory
Niels Bohr George Soros Isaac Newton
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:England . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7085 Q12908 Q935
P40
Q502895
USER
Which people have Niels Bohr, George Soros and Isaac Newton as a child ?
(c(Q502895),P40,Q7085) (c(Q502895),P40,Q12908) (c(Q502895),P40,Q935)
action union
action filter_type
action find_reverse
entity Q7085
relation P40
type Q502895
action filter_type
action find_reverse
entity Q12908
relation P40
type Q502895
action filter_type
action find_reverse
entity Q935
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7085'] [{'concept': 'Q502895'}, 'P40', 'Q12908'] [{'concept': 'Q502895'}, 'P40', 'Q935']
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Q7085 ) ( resource:Q12908 ) } . ?p property:P40 ?e }
Niels Bohr George Soros Isaac Newton
action union
action filter_type
action find_reverse
entity Niels Bohr
relation child
type common name
action filter_type
action find_reverse
entity George Soros
relation child
type common name
action filter_type
action find_reverse
entity Isaac Newton
relation child
type common name
[{'concept': 'common name'}, 'child', 'Niels Bohr'] [{'concept': 'common name'}, 'child', 'George Soros'] [{'concept': 'common name'}, 'child', 'Isaac Newton']
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Niels_Bohr ) ( resource:George_Soros ) } . ?p property:child ?e }
[]
common name
Q135503 Q13020 Q3126832
SYSTEM
Christian Bohr, Tivadar Soros, Hannah Ayscough
Q135503 Q12309804 Q13020 Q22244551 Q3126832 Q22998001 Q26776969
(c(Q502895),P40,Q7085) (c(Q502895),P40,Q12908) (c(Q502895),P40,Q935)
action union
action filter_type
action find_reverse
entity Q7085
relation P40
type Q502895
action filter_type
action find_reverse
entity Q12908
relation P40
type Q502895
action filter_type
action find_reverse
entity Q935
relation P40
type Q502895
[ANSWERS] have Niels Bohr, George Soros and Isaac Newton as a child
[{'concept': 'Q502895'}, 'P40', 'Q7085'] [{'concept': 'Q502895'}, 'P40', 'Q12908'] [{'concept': 'Q502895'}, 'P40', 'Q935']
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Q7085 ) ( resource:Q12908 ) } . ?p property:P40 ?e }
Christian Bohr Ellen Bohr Tivadar Soros Elizabeth Soros Hannah Ayscough Isaac Newton Isaac Newton
Christian Bohr, Tivadar Soros and Hannah Ayscough have Niels Bohr, George Soros and Isaac Newton as a child
Christian Bohr Tivadar Soros Hannah Ayscough
action union
action filter_type
action find_reverse
entity Niels Bohr
relation child
type common name
action filter_type
action find_reverse
entity George Soros
relation child
type common name
action filter_type
action find_reverse
entity Isaac Newton
relation child
type common name
[{'concept': 'common name'}, 'child', 'Niels Bohr'] [{'concept': 'common name'}, 'child', 'George Soros'] [{'concept': 'common name'}, 'child', 'Isaac Newton']
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Niels_Bohr ) ( resource:George_Soros ) } . ?p property:child ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13020
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q13020)
action filter_type
action find
entity Q13020
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q13020']
SELECT DISTINCT ?w WHERE { resource:Q13020 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Tivadar Soros
action filter_type
action find
entity Tivadar Soros
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Tivadar Soros']
SELECT DISTINCT ?w WHERE { resource:Tivadar_Soros property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q135503
SYSTEM
Did you mean Christian Bohr ?
Q135503 Q13020 Q3126832
(c(Q502895),P26,Q135503) (c(Q502895),P26,Q13020) (c(Q502895),P26,Q3126832)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q135503'] [{'concept': 'Q502895'}, 'P26', 'Q13020'] [{'concept': 'Q502895'}, 'P26', 'Q3126832']
SELECT DISTINCT ?w WHERE { resource:Q13020 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Christian Bohr Tivadar Soros Hannah Ayscough
Did you mean Christian Bohr ?
Christian Bohr
[{'concept': 'common name'}, 'spouse', 'Christian Bohr'] [{'concept': 'common name'}, 'spouse', 'Tivadar Soros'] [{'concept': 'common name'}, 'spouse', 'Hannah Ayscough']
SELECT DISTINCT ?w WHERE { resource:Tivadar_Soros property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Tivadar Soros. Could you tell me the answer for that?
(c(Q502895),P26,Q13020)
Q13020
[{'concept': 'Q502895'}, 'P26', 'Q13020']
[{'concept': 'common name'}, 'spouse', 'Tivadar Soros']
[]
Q22244551
SYSTEM
Elizabeth Soros
Q22244551
(c(Q502895),P26,Q13020)
action filter_type
action find
entity Q13020
relation P26
type Q502895
The spouse of that one is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q13020']
SELECT DISTINCT ?w WHERE { resource:Q13020 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Elizabeth Soros
The spouse of that one is Lady Elizabeth Soros
Elizabeth Soros
action filter_type
action find
entity Tivadar Soros
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Tivadar Soros']
SELECT DISTINCT ?w WHERE { resource:Tivadar_Soros property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?r property:P1303 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?o = ?k ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?r property:instrument ?i } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?o = ?k ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?r property:P1303 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?o = ?k ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?r property:instrument ?i } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?o = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22244551
P25
Q502895
USER
Which person has Elizabeth Soros as mother ?
(c(Q502895),P25,Q22244551)
action filter_type
action find_reverse
entity Q22244551
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q22244551']
SELECT DISTINCT ?a WHERE { ?a property:P25 resource:Q22244551 . ?a rdf:type ontology:Q502895 }
Elizabeth Soros
action filter_type
action find_reverse
entity Elizabeth Soros
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Elizabeth Soros']
SELECT DISTINCT ?a WHERE { ?a property:mother resource:Elizabeth_Soros . ?a rdf:type ontology:common_name }
[]
common name
Q12908
SYSTEM
George Soros
Q12908
(c(Q502895),P25,Q22244551)
action filter_type
action find_reverse
entity Q22244551
relation P25
type Q502895
[ANSWER] has Elizabeth Soros as mother
[{'concept': 'Q502895'}, 'P25', 'Q22244551']
SELECT DISTINCT ?a WHERE { ?a property:P25 resource:Q22244551 . ?a rdf:type ontology:Q502895 }
George Soros
George Soros has Elizabeth Soros as mother
George Soros
action filter_type
action find_reverse
entity Elizabeth Soros
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Elizabeth Soros']
SELECT DISTINCT ?a WHERE { ?a property:mother resource:Elizabeth_Soros . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12908
P1066
Q502895
USER
Which person was the professor of that one ?
(Q12908,P1066,c(Q502895))
action filter_type
action find
entity Q12908
relation P1066
type Q502895
['Q12908', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q12908 property:P1066 ?n . ?n rdf:type ontology:Q502895 }
George Soros
action filter_type
action find
entity George Soros
relation student of
type common name
['George Soros', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:George_Soros property:student_of ?n . ?n rdf:type ontology:common_name }
[]
common name
Q81244
SYSTEM
Karl Popper
Q81244
(Q12908,P1066,c(Q502895))
action filter_type
action find
entity Q12908
relation P1066
type Q502895
[ANSWER] was the professor of that one
['Q12908', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q12908 property:P1066 ?n . ?n rdf:type ontology:Q502895 }
Karl Popper
Karl Popper was the professor of that one
Karl Popper
action filter_type
action find
entity George Soros
relation student of
type common name
['George Soros', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:George_Soros property:student_of ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81244
P119
Q43229
USER
Which organization is the tomb of that person ?
(Q81244,P119,c(Q43229))
action filter_type
action find
entity Q81244
relation P119
type Q43229
['Q81244', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q81244 property:P119 ?j }
Karl Popper
action filter_type
action find
entity Karl Popper
relation place of burial
type organization
['Karl Popper', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Karl_Popper property:place_of_burial ?j }
[]
organization
Q1413288
SYSTEM
Lainzer Friedhof
Q1413288
(Q81244,P119,c(Q43229))
action filter_type
action find
entity Q81244
relation P119
type Q43229
[ANSWER] is the tomb of that person
['Q81244', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q81244 property:P119 ?j }
Lainzer Friedhof
Lainzer Friedhof is the tomb of that person
Lainzer Friedhof
action filter_type
action find
entity Karl Popper
relation place of burial
type organization
['Karl Popper', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Karl_Popper property:place_of_burial ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1413288
P17
Q1048835
USER
Which political territory is that organization a part of ?
(Q1413288,P17,c(Q1048835))
action filter_type
action find
entity Q1413288
relation P17
type Q1048835
['Q1413288', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1413288 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Lainzer Friedhof
action filter_type
action find
entity Lainzer Friedhof
relation country
type political territorial entity
['Lainzer Friedhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lainzer_Friedhof property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1413288,P17,c(Q1048835))
action filter_type
action find
entity Q1413288
relation P17
type Q1048835
[ANSWER] is that organization a part of
['Q1413288', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1413288 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Austria
Austria is that organization a part of
Austria
action filter_type
action find
entity Lainzer Friedhof
relation country
type political territorial entity
['Lainzer Friedhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lainzer_Friedhof property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]