Simple Question (Direct)
Simple Question
Q7152781
P19
Q56061
USER
Which administrative territory was Paul O'Grady born in ?
(Q7152781,P19,c(Q56061))
action filter_type
action find
entity Q7152781
relation P19
type Q56061
['Q7152781', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7152781 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Paul O'Grady
action filter_type
action find
entity Paul O'Grady
relation place of birth
type administrative territorial entity
["Paul O'Grady", 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Paul_O'Grady property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q776556
SYSTEM
Ryde
Q776556
(Q7152781,P19,c(Q56061))
action filter_type
action find
entity Q7152781
relation P19
type Q56061
Paul O'Grady was born in [ANSWER]
['Q7152781', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7152781 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Ryde
Paul O'Grady was born in Ryde
Ryde
action filter_type
action find
entity Paul O'Grady
relation place of birth
type administrative territorial entity
["Paul O'Grady", 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Paul_O'Grady property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7152781
P39
Q12737077
USER
What was the position for which Paul O'Grady was appointed ?
(Q7152781,P39,c(Q12737077))
action filter_type
action find
entity Q7152781
relation P39
type Q12737077
['Q7152781', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7152781 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Paul O'Grady
action filter_type
action find
entity Paul O'Grady
relation position held
type occupation
["Paul O'Grady", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Paul_O'Grady property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q18810377
SYSTEM
Member of the New South Wales Legislative Council
Q18810377
(Q7152781,P39,c(Q12737077))
action filter_type
action find
entity Q7152781
relation P39
type Q12737077
[ANSWER]
['Q7152781', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7152781 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Member of the New South Wales Legislative Council
Member of the New South Wales Legislative Council
Member of the New South Wales Legislative Council
action filter_type
action find
entity Paul O'Grady
relation position held
type occupation
["Paul O'Grady", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Paul_O'Grady property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7152781
P1412
Q34770
USER
Which language is spoken by Paul O'Grady ?
(Q7152781,P1412,c(Q34770))
action filter_type
action find
entity Q7152781
relation P1412
type Q34770
['Q7152781', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7152781 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Paul O'Grady
action filter_type
action find
entity Paul O'Grady
relation languages spoken, written or signed
type language
["Paul O'Grady", 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Paul_O'Grady property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7152781,P1412,c(Q34770))
action filter_type
action find
entity Q7152781
relation P1412
type Q34770
Is [ANSWER] is spoken by Paul O'Grady
['Q7152781', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7152781 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
Is English is spoken by Paul O'Grady
English
action filter_type
action find
entity Paul O'Grady
relation languages spoken, written or signed
type language
["Paul O'Grady", 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Paul_O'Grady property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q715278
P361
Q5962346
USER
Is English a portion of Formosan languages ?
(Q1860,P361,Q715278)
action is_in
entity Q715278
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q715278']
ASK WHERE { resource:Q1860 property:P361 resource:Q715278 }
English Formosan languages
action is_in
entity Formosan languages
action find
entity English
relation part of
['English', 'part of', 'Formosan languages']
ASK WHERE { resource:English property:part_of resource:Formosan_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q715278)
action is_in
entity Q715278
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q715278']
ASK WHERE { resource:Q1860 property:P361 resource:Q715278 }
No
action is_in
entity Formosan languages
action find
entity English
relation part of
['English', 'part of', 'Formosan languages']
ASK WHERE { resource:English property:part_of resource:Formosan_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q776556 Q2464599
P551
Q502895
USER
How many people lives in Ryde or French cruiser Algérie ?
(c(Q502895),P551,Q776556) (c(Q502895),P551,Q2464599)
action count
action union
action filter_type
action find_reverse
entity Q776556
relation P551
type Q502895
action filter_type
action find_reverse
entity Q2464599
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q776556'] [{'concept': 'Q502895'}, 'P551', 'Q2464599']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P551 resource:Q776556 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q502895 . ?y property:P551 resource:Q2464599 } }
Ryde French cruiser Algérie
action count
action union
action filter_type
action find_reverse
entity Ryde
relation residence
type common name
action filter_type
action find_reverse
entity French cruiser Algérie
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ryde'] [{'concept': 'common name'}, 'residence', 'French cruiser Algérie']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:residence resource:Ryde . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:common_name . ?y property:residence resource:French_cruiser_Algérie } }
[]
common name
SYSTEM
2
Q7184153 Q2646836
(c(Q502895),P551,Q776556) (c(Q502895),P551,Q2464599)
action count
action union
action filter_type
action find_reverse
entity Q776556
relation P551
type Q502895
action filter_type
action find_reverse
entity Q2464599
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q776556'] [{'concept': 'Q502895'}, 'P551', 'Q2464599']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P551 resource:Q776556 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q502895 . ?y property:P551 resource:Q2464599 } }
Philip Norman Alice Anderson
2
action count
action union
action filter_type
action find_reverse
entity Ryde
relation residence
type common name
action filter_type
action find_reverse
entity French cruiser Algérie
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ryde'] [{'concept': 'common name'}, 'residence', 'French cruiser Algérie']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:residence resource:Ryde . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:common_name . ?y property:residence resource:French_cruiser_Algérie } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q467312
Q502895
USER
And how about Cora Diamond?
(Q467312,P101,c(Q502895))
action filter_type
action find
entity Q467312
relation P101
type Q502895
['Q467312', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q467312 property:P101 ?h }
Cora Diamond
action filter_type
action find
entity Cora Diamond
relation field of work
type common name
['Cora Diamond', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Cora_Diamond property:field_of_work ?h }
[]
common name
Q9391
SYSTEM
Ludwig Wittgenstein
Q9391
(Q467312,P101,c(Q502895))
action filter_type
action find
entity Q467312
relation P101
type Q502895
[ANSWER]
['Q467312', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q467312 property:P101 ?h }
Ludwig Wittgenstein
Ludwig Wittgenstein
action filter_type
action find
entity Cora Diamond
relation field of work
type common name
['Cora Diamond', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Cora_Diamond property:field_of_work ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q487278
P190
Q56061
USER
Which administrative territory is partner town of Meiningen ?
(Q487278,P190,c(Q56061))
action filter_type
action find
entity Q487278
relation P190
type Q56061
['Q487278', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q487278 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Meiningen
action filter_type
action find
entity Meiningen
relation sister city
type administrative territorial entity
['Meiningen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Meiningen property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q569628
SYSTEM
Obertshausen
Q569628
(Q487278,P190,c(Q56061))
action filter_type
action find
entity Q487278
relation P190
type Q56061
[ANSWER] is partner town of Meiningen
['Q487278', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q487278 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Obertshausen
Obertshausen is partner town of Meiningen
Obertshausen
action filter_type
action find
entity Meiningen
relation sister city
type administrative territorial entity
['Meiningen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Meiningen property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q237655
Q56061
USER
And also tell me about Baranovichi?
(Q237655,P190,c(Q56061))
action filter_type
action find
entity Q237655
relation P190
type Q56061
['Q237655', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q237655 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Baranovichi
action filter_type
action find
entity Baranovichi
relation sister city
type administrative territorial entity
['Baranovichi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Baranovichi property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q179830 Q385 Q134712
SYSTEM
Jelgava, Gdynia, Šiauliai
Q208038 Q135616 Q849934 Q153380 Q134712 Q200905 Q179830 Q385
(Q237655,P190,c(Q56061))
action filter_type
action find
entity Q237655
relation P190
type Q56061
[ANSWERS]
['Q237655', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q237655 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Čačak Yeysk Heinola Kineshma Šiauliai Zhodzina Jelgava Gdynia
Jelgava Gdynia Šiauliai
action filter_type
action find
entity Baranovichi
relation sister city
type administrative territorial entity
['Baranovichi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Baranovichi property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3053251
Q56061
USER
And also tell me about Empire Sandy?
(Q3053251,P532,c(Q56061))
action filter_type
action find
entity Q3053251
relation P532
type Q56061
['Q3053251', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3053251 property:P532 ?l . ?l rdf:type ontology:Q56061 }
Empire Sandy
action filter_type
action find
entity Empire Sandy
relation port of registry
type administrative territorial entity
['Empire Sandy', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Empire_Sandy property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34116
SYSTEM
Thunder Bay
Q34116
(Q3053251,P532,c(Q56061))
action filter_type
action find
entity Q3053251
relation P532
type Q56061
[ANSWER]
['Q3053251', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3053251 property:P532 ?l . ?l rdf:type ontology:Q56061 }
Thunder Bay
Thunder Bay
action filter_type
action find
entity Empire Sandy
relation port of registry
type administrative territorial entity
['Empire Sandy', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Empire_Sandy property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34116 Q7396640
P17
Q1048835
USER
Does Thunder Bay belong to sacerdotal state ?
(Q34116,P17,Q7396640)
action is_in
entity Q7396640
action find
entity Q34116
relation P17
['Q34116', 'P17', 'Q7396640']
ASK WHERE { resource:Q34116 property:P17 resource:Q7396640 }
Thunder Bay sacerdotal state
action is_in
entity sacerdotal state
action find
entity Thunder Bay
relation country
['Thunder Bay', 'country', 'sacerdotal state']
ASK WHERE { resource:Thunder_Bay property:country resource:sacerdotal_state }
[]
political territorial entity
SYSTEM
NO
(Q34116,P17,Q7396640)
action is_in
entity Q7396640
action find
entity Q34116
relation P17
[ANSWER]
['Q34116', 'P17', 'Q7396640']
ASK WHERE { resource:Q34116 property:P17 resource:Q7396640 }
No
action is_in
entity sacerdotal state
action find
entity Thunder Bay
relation country
['Thunder Bay', 'country', 'sacerdotal state']
ASK WHERE { resource:Thunder_Bay property:country resource:sacerdotal_state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34116
P1427
Q83620
USER
Which thoroughfare has that administrative territory as the start location ?
action filter_type
action find_reverse
entity Q34116
relation P1427
type Q83620
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q83620 . ?x property:P1427 resource:Q34116 }
Thunder Bay
action filter_type
action find_reverse
entity Thunder Bay
relation start point
type thoroughfare
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:thoroughfare . ?x property:start_point resource:Thunder_Bay }
[]
thoroughfare
Q1178881
SYSTEM
Dawson Road
Q1178881
action filter_type
action find_reverse
entity Q34116
relation P1427
type Q83620
[ANSWER] has that administrative territory as the start location
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q83620 . ?x property:P1427 resource:Q34116 }
Dawson Road
Dawson Road has that administrative territory as the start location
Dawson Road
action filter_type
action find_reverse
entity Thunder Bay
relation start point
type thoroughfare
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:thoroughfare . ?x property:start_point resource:Thunder_Bay }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q26971562 Q2342494
USER
How many people illustrated exactly 6 comic formats and collectables ?
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 6
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i = 6 ) . { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P110 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q26971562 } UNION { ?h property:P110 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?e } }
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 6
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i = 6 ) . { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:illustrator ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:comic_format } UNION { ?h property:illustrator ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?e } }
[]
common name comic format collectable
SYSTEM
10
Q5079712 Q6830363 Q7925680 Q5349456 Q3379681 Q7945798 Q5006967 Q583275 Q6513147 Q5524826
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 6
[ANSWER]
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i = 6 ) . { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P110 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q26971562 } UNION { ?h property:P110 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?e } }
Charles Keeping Michael Foreman Victor Ambrus Eileen Soper Philippe Daure W. Lindsay Cable C. Walter Hodges Édouard Riou Lee Brown Coye Gary Chalk
10
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 6
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i = 6 ) . { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:illustrator ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:comic_format } UNION { ?h property:illustrator ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?e } }
[]