Simple Question (Direct)
Simple Question
Q7529652
P19
Q56061
USER
Which administrative territory was Sir William Lawrence, 5th Baronet born in ?
(Q7529652,P19,c(Q56061))
action filter_type
action find
entity Q7529652
relation P19
type Q56061
['Q7529652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7529652 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Sir William Lawrence, 5th Baronet
action filter_type
action find
entity Sir William Lawrence, 5th Baronet
relation place of birth
type administrative territorial entity
['Sir William Lawrence, 5th Baronet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sir_William_Lawrence,_5th_Baronet property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q189288
SYSTEM
Stratford-upon-Avon
Q189288
(Q7529652,P19,c(Q56061))
action filter_type
action find
entity Q7529652
relation P19
type Q56061
Sir William Lawrence , 5th Baronet was born in 1939 [ANSWER]
['Q7529652', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7529652 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Stratford-upon-Avon
Sir William Lawrence , 5th Baronet was born in 1939 Stratford-upon-Avon
Stratford-upon-Avon
action filter_type
action find
entity Sir William Lawrence, 5th Baronet
relation place of birth
type administrative territorial entity
['Sir William Lawrence, 5th Baronet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Sir_William_Lawrence,_5th_Baronet property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7529652
P40
Q502895
USER
Which person has Sir William Lawrence, 5th Baronet as an offspring ?
(c(Q502895),P40,Q7529652)
action filter_type
action find_reverse
entity Q7529652
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7529652']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q7529652 . ?a rdf:type ontology:Q502895 }
Sir William Lawrence, 5th Baronet
action filter_type
action find_reverse
entity Sir William Lawrence, 5th Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir William Lawrence, 5th Baronet']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Sir_William_Lawrence,_5th_Baronet . ?a rdf:type ontology:common_name }
[]
common name
Q7529649
SYSTEM
Sir William Lawrence, 4th Baronet
Q7529649
(c(Q502895),P40,Q7529652)
action filter_type
action find_reverse
entity Q7529652
relation P40
type Q502895
[ANSWER] has Sir William Lawrence, 5th Baronet as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q7529652']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q7529652 . ?a rdf:type ontology:Q502895 }
Sir William Lawrence, 4th Baronet
Sir William Lawrence, 4th Baronet has Sir William Lawrence, 5th Baronet as an offspring
Sir William Lawrence, 4th Baronet
action filter_type
action find_reverse
entity Sir William Lawrence, 5th Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir William Lawrence, 5th Baronet']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Sir_William_Lawrence,_5th_Baronet . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7529649
P22
Q502895
USER
Who was the father of that one ?
(Q7529649,P22,c(Q502895))
action filter_type
action find
entity Q7529649
relation P22
type Q502895
['Q7529649', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q7529649 property:P22 ?h }
Sir William Lawrence, 4th Baronet
action filter_type
action find
entity Sir William Lawrence, 4th Baronet
relation father
type common name
['Sir William Lawrence, 4th Baronet', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Sir_William_Lawrence,_4th_Baronet property:father ?h }
[]
common name
Q7529647
SYSTEM
Sir William Lawrence, 3rd Baronet
Q7529647
(Q7529649,P22,c(Q502895))
action filter_type
action find
entity Q7529649
relation P22
type Q502895
The father of that one was [ANSWER]
['Q7529649', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q7529649 property:P22 ?h }
Sir William Lawrence, 3rd Baronet
The father of that one was Sir William Lawrence, 3rd Baronet
Sir William Lawrence, 3rd Baronet
action filter_type
action find
entity Sir William Lawrence, 4th Baronet
relation father
type common name
['Sir William Lawrence, 4th Baronet', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Sir_William_Lawrence,_4th_Baronet property:father ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P40
Q502895
USER
How many people have that person as an offspring ?
(c(Q502895),P40,Q7529647)
action count
action filter_type
action find_reverse
entity Q7529647
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7529647']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P40 resource:Q7529647 . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Sir William Lawrence, 3rd Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir William Lawrence, 3rd Baronet']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:child resource:Sir_William_Lawrence,_3rd_Baronet . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7529330
(c(Q502895),P40,Q7529647)
action count
action filter_type
action find_reverse
entity Q7529647
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q7529647']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P40 resource:Q7529647 . ?g rdf:type ontology:Q502895 }
Sir Trevor Lawrence, 2nd Baronet
1
action count
action filter_type
action find_reverse
entity Sir William Lawrence, 3rd Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir William Lawrence, 3rd Baronet']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:child resource:Sir_William_Lawrence,_3rd_Baronet . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7529647
P22
Q502895
USER
How many people have Sir William Lawrence, 3rd Baronet as dad ?
(c(Q502895),P22,Q7529647)
action count
action filter_type
action find_reverse
entity Q7529647
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7529647']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P22 resource:Q7529647 . ?l rdf:type ontology:Q502895 }
Sir William Lawrence, 3rd Baronet
action count
action filter_type
action find_reverse
entity Sir William Lawrence, 3rd Baronet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Sir William Lawrence, 3rd Baronet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:father resource:Sir_William_Lawrence,_3rd_Baronet . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7529649
(c(Q502895),P22,Q7529647)
action count
action filter_type
action find_reverse
entity Q7529647
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q7529647']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P22 resource:Q7529647 . ?l rdf:type ontology:Q502895 }
Sir William Lawrence, 4th Baronet
1
action count
action filter_type
action find_reverse
entity Sir William Lawrence, 3rd Baronet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Sir William Lawrence, 3rd Baronet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:father resource:Sir_William_Lawrence,_3rd_Baronet . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7529647
P97
Q355567
USER
What was the title held by that person ?
action filter_type
action find
entity Q7529647
relation P97
type Q355567
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q355567 . resource:Q7529647 property:P97 ?w }
Sir William Lawrence, 3rd Baronet
action filter_type
action find
entity Sir William Lawrence, 3rd Baronet
relation noble title
type royal or noble rank
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:royal_or_noble_rank . resource:Sir_William_Lawrence,_3rd_Baronet property:noble_title ?w }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
action filter_type
action find
entity Q7529647
relation P97
type Q355567
The title held by that person was a [ANSWER]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q355567 . resource:Q7529647 property:P97 ?w }
baronet
The title held by that person was a baronet
baronet
action filter_type
action find
entity Sir William Lawrence, 3rd Baronet
relation noble title
type royal or noble rank
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:royal_or_noble_rank . resource:Sir_William_Lawrence,_3rd_Baronet property:noble_title ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q282019 Q12306001
P97
Q502895
USER
Does Christian Herskind hold the royal title that royal or noble rank ?
(Q12306001,P97,Q282019)
action is_in
entity Q12306001
action find
entity Q282019
relation P97
['Q12306001', 'P97', 'Q282019']
ASK WHERE { resource:Q282019 property:P97 resource:Q12306001 }
baronet Christian Herskind
action is_in
entity Christian Herskind
action find
entity baronet
relation noble title
['Christian Herskind', 'noble title', 'baronet']
ASK WHERE { resource:baronet property:noble_title resource:Christian_Herskind }
[]
common name
SYSTEM
NO
(Q12306001,P97,Q282019)
action is_in
entity Q12306001
action find
entity Q282019
relation P97
[ANSWER]
['Q12306001', 'P97', 'Q282019']
ASK WHERE { resource:Q282019 property:P97 resource:Q12306001 }
No
action is_in
entity Christian Herskind
action find
entity baronet
relation noble title
['Christian Herskind', 'noble title', 'baronet']
ASK WHERE { resource:baronet property:noble_title resource:Christian_Herskind }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7529652 Q145
P27
Q15617994
USER
Is United Kingdom the native country of that person ?
(Q7529652,P27,Q145)
action is_in
entity Q145
action find
entity Q7529652
relation P27
['Q7529652', 'P27', 'Q145']
ASK WHERE { resource:Q7529652 property:P27 resource:Q145 }
Sir William Lawrence, 5th Baronet United Kingdom
action is_in
entity United Kingdom
action find
entity Sir William Lawrence, 5th Baronet
relation country of citizenship
['Sir William Lawrence, 5th Baronet', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Sir_William_Lawrence,_5th_Baronet property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7529652,P27,Q145)
action is_in
entity Q145
action find
entity Q7529652
relation P27
[ANSWER]
['Q7529652', 'P27', 'Q145']
ASK WHERE { resource:Q7529652 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Sir William Lawrence, 5th Baronet
relation country of citizenship
['Sir William Lawrence, 5th Baronet', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Sir_William_Lawrence,_5th_Baronet property:country_of_citizenship resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 3862 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3862
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?h <= 3862 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3862
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?h <= 3862 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3862
[ANSWERS] are played by atmost 3862 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?h <= 3862 ) }
viola bass guitar 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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 3862 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3862
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?h <= 3862 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q282019
P166
Q502895
USER
Who were awarded with baronet ?
(c(Q502895),P166,Q282019)
action filter_type
action find_reverse
entity Q282019
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q282019']
SELECT DISTINCT ?o WHERE { ?o property:P166 resource:Q282019 . ?o rdf:type ontology:Q502895 }
baronet
action filter_type
action find_reverse
entity baronet
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'baronet']
SELECT DISTINCT ?o WHERE { ?o property:award_received resource:baronet . ?o rdf:type ontology:common_name }
[]
common name
Q2033868 Q5497407 Q7527120
SYSTEM
Sir Richard Wallace, 1st Baronet, Frederick Bramwell, Sir Henry Craik, 1st Baronet
Q5497407 Q1237588 Q7529527 Q7527120 Q2033868 Q7529670 Q707695
(c(Q502895),P166,Q282019)
action filter_type
action find_reverse
entity Q282019
relation P166
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P166', 'Q282019']
SELECT DISTINCT ?o WHERE { ?o property:P166 resource:Q282019 . ?o rdf:type ontology:Q502895 }
Frederick Bramwell Dominic Corrigan Sir William Clarke, 1st Baronet Sir Henry Craik, 1st Baronet Sir Richard Wallace, 1st Baronet Sir William MacCormac, 1st Baronet Josiah Child
And Sir Richard Wallace, 1st Baronet, Frederick Bramwell and Sir Henry Craik, 1st Baronet were awarded with baronet
Sir Richard Wallace, 1st Baronet Frederick Bramwell Sir Henry Craik, 1st Baronet
action filter_type
action find_reverse
entity baronet
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'baronet']
SELECT DISTINCT ?o WHERE { ?o property:award_received resource:baronet . ?o rdf:type ontology:common_name }
[]