Simple Question (Direct)
Simple Question
Q19175
P410
Q4189293
USER
What is the title conferred upon Arthur Percival ?
(Q19175,P410,c(Q4189293))
action filter_type
action find
entity Q19175
relation P410
type Q4189293
['Q19175', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q19175 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
Arthur Percival
action filter_type
action find
entity Arthur Percival
relation military rank
type title
['Arthur Percival', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:Arthur_Percival property:military_rank ?t . ?t rdf:type ontology:title }
[]
title
Q6544390
SYSTEM
lieutenant-general
Q6544390
(Q19175,P410,c(Q4189293))
action filter_type
action find
entity Q19175
relation P410
type Q4189293
The title conferred upon Arthur Percival is a [ANSWER]
['Q19175', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q19175 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
lieutenant-general
The title conferred upon Arthur Percival is a lieutenant-general
lieutenant-general
action filter_type
action find
entity Arthur Percival
relation military rank
type title
['Arthur Percival', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:Arthur_Percival property:military_rank ?t . ?t rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213100
P1303
Q34379 Q502895
USER
Which musical instruments can greater number of people perform with than tabla ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213100
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q213100 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?s property:P1303 ?k } GROUP BY ?k } }
tabla
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:tabla property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?s property:instrument ?k } GROUP BY ?k } }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213100
relation P1303
type Q34379
[ANSWERS] can greater number of people perform with than tabla
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q213100 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?s property:P1303 ?k } GROUP BY ?k } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ marimba drum kit electronic keyboard drum
Piano, harpsichord and viola can greater number of people perform with than tabla
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tabla
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:tabla property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?s property:instrument ?k } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1099153
P1303
Q34379 Q502895
USER
And also tell me about clavinet?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q34379 . resource:Q1099153 property:P1303 ?y } } . FILTER ( ?q > ?a ) }
clavinet
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:musical_instrument . resource:clavinet property:instrument ?y } } . FILTER ( ?q > ?a ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q34379 . resource:Q1099153 property:P1303 ?y } } . FILTER ( ?q > ?a ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:musical_instrument . resource:clavinet property:instrument ?y } } . FILTER ( ?q > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q81982
P425
Q12737077
USER
How many occupations have harpsichord as thier associated field of occupation ?
(Q81982,P425,c(Q12737077))
action count
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q81982 property:P425 ?x . ?x rdf:type ontology:Q12737077 }
harpsichord
action count
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:harpsichord property:field_of_this_occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q5371902
(Q81982,P425,c(Q12737077))
action count
action filter_type
action find
entity Q81982
relation P425
type Q12737077
[ANSWER]
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q81982 property:P425 ?x . ?x rdf:type ontology:Q12737077 }
harpsichordist
1
action count
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:harpsichord property:field_of_this_occupation ?x . ?x rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3400050
P425
Q12737077
USER
And what about potter?
(Q3400050,P425,c(Q12737077))
action count
action filter_type
action find
entity Q3400050
relation P425
type Q12737077
['Q3400050', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q3400050 property:P425 ?c . ?c rdf:type ontology:Q12737077 }
potter
action count
action filter_type
action find
entity potter
relation field of this occupation
type occupation
['potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:potter property:field_of_this_occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q11642
(Q3400050,P425,c(Q12737077))
action count
action filter_type
action find
entity Q3400050
relation P425
type Q12737077
[ANSWER]
['Q3400050', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q3400050 property:P425 ?c . ?c rdf:type ontology:Q12737077 }
pottery
1
action count
action filter_type
action find
entity potter
relation field of this occupation
type occupation
['potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:potter property:field_of_this_occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q322071
Q12737077
USER
And also tell me about Ablader?
(Q322071,P425,c(Q12737077))
action count
action filter_type
action find
entity Q322071
relation P425
type Q12737077
['Q322071', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q322071 property:P425 ?m . ?m rdf:type ontology:Q12737077 }
Ablader
action count
action filter_type
action find
entity Ablader
relation field of this occupation
type occupation
['Ablader', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Ablader property:field_of_this_occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
(Q322071,P425,c(Q12737077))
action count
action filter_type
action find
entity Q322071
relation P425
type Q12737077
[ANSWER]
['Q322071', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q322071 property:P425 ?m . ?m rdf:type ontology:Q12737077 }
1
action count
action filter_type
action find
entity Ablader
relation field of this occupation
type occupation
['Ablader', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Ablader property:field_of_this_occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P106
Q502895
USER
Which people have career as harpsichord ?
(c(Q502895),P106,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q81982']
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q81982 . ?b rdf:type ontology:Q502895 }
harpsichord
action filter_type
action find_reverse
entity harpsichord
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'harpsichord']
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:harpsichord . ?b rdf:type ontology:common_name }
[]
common name
Q710929 Q23014020
SYSTEM
Jan Křtitel Kuchař, Stefan Gottfried
Q710929 Q23014020
(c(Q502895),P106,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P106
type Q502895
[ANSWERS] have career as harpsichord
[{'concept': 'Q502895'}, 'P106', 'Q81982']
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q81982 . ?b rdf:type ontology:Q502895 }
Jan Křtitel Kuchař Stefan Gottfried
Jan Křtitel Kuchař and Stefan Gottfried have career as harpsichord
Jan Křtitel Kuchař Stefan Gottfried
action filter_type
action find_reverse
entity harpsichord
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'harpsichord']
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:harpsichord . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q710929
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q710929)
action filter_type
action find_reverse
entity Q710929
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P1066 resource:Q710929 }
Jan Křtitel Kuchař
action filter_type
action find_reverse
entity Jan Křtitel Kuchař
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:student_of resource:Jan_Křtitel_Kuchař }
[]
common name
Clarification for simple ques.
Q23014020
SYSTEM
Did you mean Stefan Gottfried ?
Q710929 Q23014020
(c(Q502895),P1066,Q710929) (c(Q502895),P1066,Q23014020)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q710929'] [{'concept': 'Q502895'}, 'P1066', 'Q23014020']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P1066 resource:Q710929 }
Jan Křtitel Kuchař Stefan Gottfried
Did you mean Stefan Gottfried ?
Stefan Gottfried
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař'] [{'concept': 'common name'}, 'student of', 'Stefan Gottfried']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:student_of resource:Jan_Křtitel_Kuchař }
[]
Simple Question (Coreferenced)
USER
No, I meant Jan Křtitel Kuchař. Could you tell me the answer for that?
(c(Q502895),P1066,Q710929)
Q710929
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
[]
Q443519
SYSTEM
Wojciech Żywny
Q443519
(c(Q502895),P1066,Q710929)
action filter_type
action find_reverse
entity Q710929
relation P1066
type Q502895
A pupil of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P1066 resource:Q710929 }
Wojciech Żywny
A pupil of that one is the Wojciech Żywny
Wojciech Żywny
action filter_type
action find_reverse
entity Jan Křtitel Kuchař
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:student_of resource:Jan_Křtitel_Kuchař }
[]