Simple Question (Direct)
Simple Question
Q10513359
P21
Q290
USER
What is the sex of Nicola Davies ?
(Q10513359,P21,c(Q290))
action filter_type
action find
entity Q10513359
relation P21
type Q290
['Q10513359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q10513359 property:P21 ?e . ?e rdf:type ontology:Q290 }
Nicola Davies
action filter_type
action find
entity Nicola Davies
relation gender
type sex
['Nicola Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Nicola_Davies property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q10513359,P21,c(Q290))
action filter_type
action find
entity Q10513359
relation P21
type Q290
The sex of Nicola Davies is the [ANSWER]
['Q10513359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q10513359 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
The sex of Nicola Davies is the female
female
action filter_type
action find
entity Nicola Davies
relation gender
type sex
['Nicola Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Nicola_Davies property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10513359
P641
Q349
USER
Which sport did Nicola Davies participate in ?
(Q10513359,P641,c(Q349))
action filter_type
action find
entity Q10513359
relation P641
type Q349
['Q10513359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q10513359 property:P641 ?l . ?l rdf:type ontology:Q349 }
Nicola Davies
action filter_type
action find
entity Nicola Davies
relation sport
type sport
['Nicola Davies', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Nicola_Davies property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10513359,P641,c(Q349))
action filter_type
action find
entity Q10513359
relation P641
type Q349
Nicola Davies participated in [ANSWER]
['Q10513359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q10513359 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Nicola Davies participated in association football
association football
action filter_type
action find
entity Nicola Davies
relation sport
type sport
['Nicola Davies', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Nicola_Davies property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1635011
Q349
USER
And what about Jerry Fleishman?
(Q1635011,P641,c(Q349))
action filter_type
action find
entity Q1635011
relation P641
type Q349
['Q1635011', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1635011 property:P641 ?m . ?m rdf:type ontology:Q349 }
Jerry Fleishman
action filter_type
action find
entity Jerry Fleishman
relation sport
type sport
['Jerry Fleishman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Jerry_Fleishman property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1635011,P641,c(Q349))
action filter_type
action find
entity Q1635011
relation P641
type Q349
[ANSWER]
['Q1635011', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1635011 property:P641 ?m . ?m rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity Jerry Fleishman
relation sport
type sport
['Jerry Fleishman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Jerry_Fleishman property:sport ?m . ?m rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5372 Q5770171
P641
Q502895
USER
Is Ciriaco Tejedor associated with playing that sport ?
(Q5770171,P641,Q5372)
action is_in
entity Q5770171
action find
entity Q5372
relation P641
['Q5770171', 'P641', 'Q5372']
ASK WHERE { resource:Q5372 property:P641 resource:Q5770171 }
basketball Ciriaco Tejedor
action is_in
entity Ciriaco Tejedor
action find
entity basketball
relation sport
['Ciriaco Tejedor', 'sport', 'basketball']
ASK WHERE { resource:basketball property:sport resource:Ciriaco_Tejedor }
[]
common name
SYSTEM
NO
(Q5770171,P641,Q5372)
action is_in
entity Q5770171
action find
entity Q5372
relation P641
[ANSWER]
['Q5770171', 'P641', 'Q5372']
ASK WHERE { resource:Q5372 property:P641 resource:Q5770171 }
No
action is_in
entity Ciriaco Tejedor
action find
entity basketball
relation sport
['Ciriaco Tejedor', 'sport', 'basketball']
ASK WHERE { resource:basketball property:sport resource:Ciriaco_Tejedor }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 1165 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1165
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?l <= 1165 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1165
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?l <= 1165 ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1165
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?l <= 1165 ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1165
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?l <= 1165 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10513359
P734
Q82799
USER
Which name is associated with Nicola Davies ?
(Q10513359,P734,c(Q82799))
action filter_type
action find
entity Q10513359
relation P734
type Q82799
['Q10513359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q10513359 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Nicola Davies
action filter_type
action find
entity Nicola Davies
relation family name
type name
['Nicola Davies', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Nicola_Davies property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q1177810
SYSTEM
Davies
Q1177810
(Q10513359,P734,c(Q82799))
action filter_type
action find
entity Q10513359
relation P734
type Q82799
Is [ANSWER] is associated with Nicola [ANSWER]
['Q10513359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q10513359 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Davies
Is Davies is associated with Nicola Davies
Davies
action filter_type
action find
entity Nicola Davies
relation family name
type name
['Nicola Davies', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Nicola_Davies property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10513359
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q1177810,P19,c(Q56061))
action filter_type
action find
entity Q10513359
relation P19
type Q56061
['Q1177810', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q10513359 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Nicola Davies
action filter_type
action find
entity Nicola Davies
relation place of birth
type administrative territorial entity
['Davies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Nicola_Davies property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q234178
SYSTEM
Bangor
Q234178
(Q1177810,P19,c(Q56061))
action filter_type
action find
entity Q10513359
relation P19
type Q56061
That person was born in [ANSWER]
['Q1177810', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q10513359 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Bangor
That person was born in Bangor
Bangor
action filter_type
action find
entity Nicola Davies
relation place of birth
type administrative territorial entity
['Davies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Nicola_Davies property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234178
P190
Q5119
USER
Which capital is a sister city of that administrative territory ?
(c(Q5119),P190,Q234178)
action filter_type
action find
entity Q234178
relation P190
type Q5119
[{'concept': 'Q5119'}, 'P190', 'Q234178']
SELECT DISTINCT ?o WHERE { resource:Q234178 property:P190 ?o . ?o rdf:type ontology:Q5119 }
Bangor
action filter_type
action find
entity Bangor
relation sister city
type capital
[{'concept': 'capital'}, 'sister city', 'Bangor']
SELECT DISTINCT ?o WHERE { resource:Bangor property:sister_city ?o . ?o rdf:type ontology:capital }
[]
capital
Q6149
SYSTEM
Soest
Q6149
(c(Q5119),P190,Q234178)
action filter_type
action find
entity Q234178
relation P190
type Q5119
[ANSWER] is a sister city of that administrative territory
[{'concept': 'Q5119'}, 'P190', 'Q234178']
SELECT DISTINCT ?o WHERE { resource:Q234178 property:P190 ?o . ?o rdf:type ontology:Q5119 }
Soest
Soest is a sister city of that administrative territory
Soest
action filter_type
action find
entity Bangor
relation sister city
type capital
[{'concept': 'capital'}, 'sister city', 'Bangor']
SELECT DISTINCT ?o WHERE { resource:Bangor property:sister_city ?o . ?o rdf:type ontology:capital }
[]