Simple Question (Direct)
Simple Question
Q15065700
P21
Q290
USER
Which sex does Denis Alekseyevich Davydov belong to ?
(Q15065700,P21,c(Q290))
action filter_type
action find
entity Q15065700
relation P21
type Q290
['Q15065700', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q15065700 property:P21 ?f . ?f rdf:type ontology:Q290 }
Denis Alekseyevich Davydov
action filter_type
action find
entity Denis Alekseyevich Davydov
relation gender
type sex
['Denis Alekseyevich Davydov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Denis_Alekseyevich_Davydov property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15065700,P21,c(Q290))
action filter_type
action find
entity Q15065700
relation P21
type Q290
Denis Alekseyevich Davydov belongs to [ANSWER]
['Q15065700', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q15065700 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Denis Alekseyevich Davydov belongs to male
male
action filter_type
action find
entity Denis Alekseyevich Davydov
relation gender
type sex
['Denis Alekseyevich Davydov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Denis_Alekseyevich_Davydov property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15065700
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q15065700
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q15065700 property:P641 ?o . ?o rdf:type ontology:Q349 }
Denis Alekseyevich Davydov
action filter_type
action find
entity Denis Alekseyevich Davydov
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Denis_Alekseyevich_Davydov property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q15065700
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q15065700 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Denis Alekseyevich Davydov
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Denis_Alekseyevich_Davydov property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the country of 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 ?v WHERE { resource:Q2736 property:P495 ?v . ?v 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 ?v WHERE { resource:association_football property:country_of_origin ?v . ?v 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
[ANSWER] is the country of origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?v WHERE { resource:Q2736 property:P495 ?v . ?v rdf:type ontology:Q1496967 }
England
England is the country of origin of that sport
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 ?v WHERE { resource:association_football property:country_of_origin ?v . ?v rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P38
Q8142
USER
What is considered to be the currency of that territory ?
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?h WHERE { resource:Q21 property:P38 ?h . ?h rdf:type ontology:Q8142 }
England
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?h WHERE { resource:England property:currency ?h . ?h rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
[ANSWER] is considered to be the currency of that territory
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?h WHERE { resource:Q21 property:P38 ?h . ?h rdf:type ontology:Q8142 }
pound sterling
Pound sterling is considered to be the currency of that territory
pound sterling
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?h WHERE { resource:England property:currency ?h . ?h rdf:type ontology:currency }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P921
Q386724
USER
Which work was primarily based on England ?
(c(Q386724),P921,Q21)
action filter_type
action find_reverse
entity Q21
relation P921
type Q386724
[{'concept': 'Q386724'}, 'P921', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q21 . ?a rdf:type ontology:Q386724 }
England
action filter_type
action find_reverse
entity England
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'England']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:England . ?a rdf:type ontology:work }
[]
work
Q16822863
SYSTEM
Beauties of England and Wales
Q16822863
(c(Q386724),P921,Q21)
action filter_type
action find_reverse
entity Q21
relation P921
type Q386724
[ANSWER] was primarily based on England
[{'concept': 'Q386724'}, 'P921', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q21 . ?a rdf:type ontology:Q386724 }
Beauties of England and Wales
Beauties of England and Wales was primarily based on England
Beauties of England and Wales
action filter_type
action find_reverse
entity England
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'England']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:England . ?a rdf:type ontology:work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P291
Q838948
USER
Which work of art was published in that territory ?
(c(Q838948),P291,Q16822863)
action filter_type
action find_reverse
entity Q21
relation P291
type Q838948
[{'concept': 'Q838948'}, 'P291', 'Q16822863']
SELECT DISTINCT ?h WHERE { ?h property:P291 resource:Q21 . ?h rdf:type ontology:Q838948 }
England
action filter_type
action find_reverse
entity England
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Beauties of England and Wales']
SELECT DISTINCT ?h WHERE { ?h property:place_of_publication resource:England . ?h rdf:type ontology:work_of_art }
[]
work of art
Q5708785
SYSTEM
Hello London
Q5708785
(c(Q838948),P291,Q16822863)
action filter_type
action find_reverse
entity Q21
relation P291
type Q838948
[ANSWER] was published in that territory
[{'concept': 'Q838948'}, 'P291', 'Q16822863']
SELECT DISTINCT ?h WHERE { ?h property:P291 resource:Q21 . ?h rdf:type ontology:Q838948 }
Hello London
Hello London was published in that territory
Hello London
action filter_type
action find_reverse
entity England
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Beauties of England and Wales']
SELECT DISTINCT ?h WHERE { ?h property:place_of_publication resource:England . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P551
Q502895
USER
Which people have residence at that territory ?
(c(Q502895),P551,Q5708785)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q5708785']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q21 . ?m rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Hello London']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:England . ?m 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,Q5708785)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWERS] have residence at that territory
[{'concept': 'Q502895'}, 'P551', 'Q5708785']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q21 . ?m 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', 'Hello London']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:England . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q21
P551 P21
Q502895
USER
Which people lives in England and have the gender as male ?
AND((c(Q502895),P551,Q21), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q21'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P21 resource:Q6581097 . ?k property:P551 resource:Q21 . ?k rdf:type ontology:Q502895 }
male England
action filter_type
action intersection
action find_reverse
entity England
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'England'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:gender resource:male . ?k property:residence resource:England . ?k rdf:type ontology:common_name }
[]
common name
Q5538701 Q6914744 Q2877725 Q6097409 Q14277 Q20810758 Q189144 Q213712 Q171363 Q935
SYSTEM
Some of them are George E. A. Hallett, Mortimer Menpes, Baba de Faucigny-Lucinge, Ivan Sansom, William Herschel, Leopold William Jerome Fane De Salis, Walter Raleigh, Rudolf von Laban, Viggo Mortensen, Isaac Newton
Q14277 Q21069418 Q12908 Q19629253 Q3198512 Q189144 Q6097409 Q544951 Q117139 Q7086769 Q171363 Q6914744 Q2877725 Q7085 Q935 Q17297597 Q5538701 Q8006910 Q213712 Q20810758
AND((c(Q502895),P551,Q21), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] live in England and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q21'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P21 resource:Q6581097 . ?k property:P551 resource:Q21 . ?k rdf:type ontology:Q502895 }
William Herschel Frédéric Albrecht George Soros Jacques Dessalines Gundulf Walter Raleigh Ivan Sansom Moshoeshoe II of Lesotho Wiz Khalifa Oli Thompson Viggo Mortensen Mortimer Menpes Baba de Faucigny-Lucinge Niels Bohr Isaac Newton Charles de Coux George E. A. Hallett William Close Rudolf von Laban Leopold William Jerome Fane De Salis
George E. A. Hallett, Mortimer Menpes, Baba de Faucigny-Lucinge, Ivan Sansom, William Herschel, Leopold William Jerome Fane De Salis, Walter Raleigh, Rudolf von Laban, Viggo Mortensen and Isaac Newton live in England and have the gender as male
George E. A. Hallett Mortimer Menpes Baba de Faucigny-Lucinge Ivan Sansom William Herschel Leopold William Jerome Fane De Salis Walter Raleigh Rudolf von Laban Viggo Mortensen Isaac Newton
action filter_type
action intersection
action find_reverse
entity England
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'England'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:gender resource:male . ?k property:residence resource:England . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 2319 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2319
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?i ) WHERE { ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 . ?p property:P1303 ?z } GROUP BY ?z } . FILTER ( ?i >= 2319 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2319
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?i ) WHERE { ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument . ?p property:instrument ?z } GROUP BY ?z } . FILTER ( ?i >= 2319 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2319
[ANSWERS] are played by atleast 2319 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?i ) WHERE { ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 . ?p property:P1303 ?z } GROUP BY ?z } . FILTER ( ?i >= 2319 ) }
piano violin organ
Piano, violin and organ are played by atleast 2319 people
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2319
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?i ) WHERE { ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument . ?p property:instrument ?z } GROUP BY ?z } . FILTER ( ?i >= 2319 ) }
[]