Simple Question (Direct)
Simple Question
Q362753
P108
Q3918
USER
Which university is the employer of Nicholas Mercator ?
(Q362753,P108,c(Q3918))
action filter_type
action find
entity Q362753
relation P108
type Q3918
['Q362753', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q362753 property:P108 ?x . ?x rdf:type ontology:Q3918 }
Nicholas Mercator
action filter_type
action find
entity Nicholas Mercator
relation employer
type university
['Nicholas Mercator', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Nicholas_Mercator property:employer ?x . ?x rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q362753,P108,c(Q3918))
action filter_type
action find
entity Q362753
relation P108
type Q3918
[ANSWER] is the employer of Nicholas Mercator
['Q362753', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q362753 property:P108 ?x . ?x rdf:type ontology:Q3918 }
University of Copenhagen
University of Copenhagen is the employer of Nicholas Mercator
University of Copenhagen
action filter_type
action find
entity Nicholas Mercator
relation employer
type university
['Nicholas Mercator', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Nicholas_Mercator property:employer ?x . ?x rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362753
P69
Q3918
USER
Which university is Nicholas Mercator an alumni of ?
(Q362753,P69,c(Q3918))
action filter_type
action find
entity Q362753
relation P69
type Q3918
['Q362753', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q362753 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Nicholas Mercator
action filter_type
action find
entity Nicholas Mercator
relation educated at
type university
['Nicholas Mercator', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Nicholas_Mercator property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q362753,P69,c(Q3918))
action filter_type
action find
entity Q362753
relation P69
type Q3918
Which university is Nicholas Mercator an alumni of
['Q362753', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q362753 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Copenhagen
Which university is Nicholas Mercator an alumni of
University of Copenhagen
action filter_type
action find
entity Nicholas Mercator
relation educated at
type university
['Nicholas Mercator', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Nicholas_Mercator property:educated_at ?p . ?p rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5238765
Q3918
USER
And what about David Pyatt?
(Q5238765,P69,c(Q3918))
action filter_type
action find
entity Q5238765
relation P69
type Q3918
['Q5238765', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3918 . resource:Q5238765 property:P69 ?g }
David Pyatt
action filter_type
action find
entity David Pyatt
relation educated at
type university
['David Pyatt', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:university . resource:David_Pyatt property:educated_at ?g }
[]
university
Q35794
SYSTEM
University of Cambridge
Q35794
(Q5238765,P69,c(Q3918))
action filter_type
action find
entity Q5238765
relation P69
type Q3918
[ANSWER]
['Q5238765', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3918 . resource:Q5238765 property:P69 ?g }
University of Cambridge
University of Cambridge
action filter_type
action find
entity David Pyatt
relation educated at
type university
['David Pyatt', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:university . resource:David_Pyatt property:educated_at ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q35794 Q145 Q514747
P17
Q15617994
USER
Is that university located in United Kingdom and Pöcking ?
(Q35794,P17,Q145) (Q35794,P17,Q514747)
action is_in
entity Q35794
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q514747
relation P17
['Q35794', 'P17', 'Q145'] ['Q35794', 'P17', 'Q514747']
ASK WHERE { resource:Q35794 property:P17 resource:Q145 . resource:Q35794 property:P17 resource:Q514747 }
University of Cambridge United Kingdom Pöcking
action is_in
entity University of Cambridge
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Pöcking
relation country
['University of Cambridge', 'country', 'United Kingdom'] ['University of Cambridge', 'country', 'Pöcking']
ASK WHERE { resource:University_of_Cambridge property:country resource:United_Kingdom . resource:University_of_Cambridge property:country resource:Pöcking }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q35794,P17,Q145) (Q35794,P17,Q514747)
action is_in
entity Q35794
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q514747
relation P17
[ANSWER]
['Q35794', 'P17', 'Q145'] ['Q35794', 'P17', 'Q514747']
ASK WHERE { resource:Q35794 property:P17 resource:Q145 . resource:Q35794 property:P17 resource:Q514747 }
YES and NO respectively
action is_in
entity University of Cambridge
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Pöcking
relation country
['University of Cambridge', 'country', 'United Kingdom'] ['University of Cambridge', 'country', 'Pöcking']
ASK WHERE { resource:University_of_Cambridge property:country resource:United_Kingdom . resource:University_of_Cambridge property:country resource:Pöcking }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35794
P123
Q571
USER
Which book was published by that university ?
action filter_type
action find_reverse
entity Q35794
relation P123
type Q571
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q35794 . ?v rdf:type ontology:Q571 }
University of Cambridge
action filter_type
action find_reverse
entity University of Cambridge
relation publisher
type book
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:University_of_Cambridge . ?v rdf:type ontology:book }
[]
book
Q20643695
SYSTEM
Open access and the humanities
Q20643695
action filter_type
action find_reverse
entity Q35794
relation P123
type Q571
[ANSWER] was published by that university
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q35794 . ?v rdf:type ontology:Q571 }
Open access and the humanities
Open access and the humanities was published by that university
Open access and the humanities
action filter_type
action find_reverse
entity University of Cambridge
relation publisher
type book
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:University_of_Cambridge . ?v rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q234460 Q2342494
USER
How many people translated exactly 2 texts or collectables ?
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 2
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?u WHERE { VALUES ( ?c ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?l rdf:type ?c } GROUP BY ?u } . FILTER ( ?n = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 2
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?u WHERE { VALUES ( ?c ) { ( ontology:text ) ( ontology:collectable ) } . ?l rdf:type ?c } GROUP BY ?u } . FILTER ( ?n = 2 ) }
[]
common name text collectable
SYSTEM
11
Q6180799 Q12749 Q6536944 Q993835 Q18543209 Q8191787 Q234530 Q12026401 Q12883 Q4800649 Q1969016
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?u WHERE { VALUES ( ?c ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?l rdf:type ?c } GROUP BY ?u } . FILTER ( ?n = 2 ) }
Jeremiah Curtin Kazimierz Bein Lewis Page Mercier Otokar Fischer Irmtraud Zimmermann-Göllheim Michael Kandel Emma Orczy Josef Mikuláš Boleslavský Gerrit Berveling Arthur Wesley Wheen Alexander Teixeira de Mattos
11
action count
action equal
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 2
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?u WHERE { VALUES ( ?c ) { ( ontology:text ) ( ontology:collectable ) } . ?l rdf:type ?c } GROUP BY ?u } . FILTER ( ?n = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20643695
P50
Q502895
USER
How many people penned Open access and the humanities ?
(Q20643695,P50,c(Q502895))
action count
action filter_type
action find
entity Q20643695
relation P50
type Q502895
['Q20643695', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q20643695 property:P50 ?t . ?t rdf:type ontology:Q502895 }
Open access and the humanities
action count
action filter_type
action find
entity Open access and the humanities
relation author
type common name
['Open access and the humanities', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Open_access_and_the_humanities property:author ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q20643686
(Q20643695,P50,c(Q502895))
action count
action filter_type
action find
entity Q20643695
relation P50
type Q502895
[ANSWER]
['Q20643695', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q20643695 property:P50 ?t . ?t rdf:type ontology:Q502895 }
Martin Paul Eve
1
action count
action filter_type
action find
entity Open access and the humanities
relation author
type common name
['Open access and the humanities', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Open_access_and_the_humanities property:author ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20643695
P800
Q502895
USER
Whose notable work was Open access and the humanities ?
(c(Q502895),P800,Q20643695)
action filter_type
action find_reverse
entity Q20643695
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q20643695']
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q20643695 . ?s rdf:type ontology:Q502895 }
Open access and the humanities
action filter_type
action find_reverse
entity Open access and the humanities
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Open access and the humanities']
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:Open_access_and_the_humanities . ?s rdf:type ontology:common_name }
[]
common name
Q20643686
SYSTEM
Martin Paul Eve
Q20643686
(c(Q502895),P800,Q20643695)
action filter_type
action find_reverse
entity Q20643695
relation P800
type Q502895
[ANSWER] was Open access and the humanities
[{'concept': 'Q502895'}, 'P800', 'Q20643695']
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q20643695 . ?s rdf:type ontology:Q502895 }
Martin Paul Eve
Martin Paul Eve was Open access and the humanities
Martin Paul Eve
action filter_type
action find_reverse
entity Open access and the humanities
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Open access and the humanities']
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:Open_access_and_the_humanities . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20643686
P21
Q290
USER
Which sex does that person have ?
(Q20643686,P21,c(Q290))
action filter_type
action find
entity Q20643686
relation P21
type Q290
['Q20643686', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q20643686 property:P21 ?k . ?k rdf:type ontology:Q290 }
Martin Paul Eve
action filter_type
action find
entity Martin Paul Eve
relation gender
type sex
['Martin Paul Eve', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Martin_Paul_Eve property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20643686,P21,c(Q290))
action filter_type
action find
entity Q20643686
relation P21
type Q290
That person has a [ANSWER]
['Q20643686', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q20643686 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Martin Paul Eve
relation gender
type sex
['Martin Paul Eve', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Martin_Paul_Eve property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20643686
P1412
Q34770
USER
Which language is spoken by Martin Paul Eve ?
(Q20643686,P1412,c(Q34770))
action filter_type
action find
entity Q20643686
relation P1412
type Q34770
['Q20643686', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q20643686 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Martin Paul Eve
action filter_type
action find
entity Martin Paul Eve
relation languages spoken, written or signed
type language
['Martin Paul Eve', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Martin_Paul_Eve property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q20643686,P1412,c(Q34770))
action filter_type
action find
entity Q20643686
relation P1412
type Q34770
Are [ANSWER] is spoken by Martin Paul Eve
['Q20643686', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q20643686 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Are English is spoken by Martin Paul Eve
English
action filter_type
action find
entity Martin Paul Eve
relation languages spoken, written or signed
type language
['Martin Paul Eve', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Martin_Paul_Eve property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1532458 Q20643686
P1412 P364
Q34770
USER
Which languages are spoken by Martin Paul Eve or are the original languages of creation of L'uomo, la bestia e la virtù ?
OR((Q20643686,P1412,c(Q34770)), (Q1532458,P364,c(Q34770)))
action filter_type
action union
action find
entity Q20643686
relation P1412
action find
entity Q1532458
relation P364
type Q34770
{'OR': [['Q20643686', 'P1412', {'concept': 'Q34770'}], ['Q1532458', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q20643686 property:P1412 ?e } UNION { resource:Q1532458 property:P364 ?e } } . ?e rdf:type ontology:Q34770 }
L'uomo, la bestia e la virtù Martin Paul Eve
action filter_type
action union
action find
entity Martin Paul Eve
relation languages spoken, written or signed
action find
entity L'uomo, la bestia e la virtù
relation original language of work
type language
{'OR': [['Martin Paul Eve', 'languages spoken, written or signed', {'concept': 'language'}], ["L'uomo, la bestia e la virtù", 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Martin_Paul_Eve property:languages_spoken,_written_or_signed ?e } UNION { resource:L'uomo,_la_bestia_e_la_virtù property:original_language_of_work ?e } } . ?e rdf:type ontology:language }
[]
language
Q652 Q1860
SYSTEM
Italian, English
Q652 Q1860
OR((Q20643686,P1412,c(Q34770)), (Q1532458,P364,c(Q34770)))
action filter_type
action union
action find
entity Q20643686
relation P1412
action find
entity Q1532458
relation P364
type Q34770
The [ANSWERS] are spoken by Martin Paul Eve or are the original languages of creation of L'uomo, la bestia e la virtù
{'OR': [['Q20643686', 'P1412', {'concept': 'Q34770'}], ['Q1532458', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q20643686 property:P1412 ?e } UNION { resource:Q1532458 property:P364 ?e } } . ?e rdf:type ontology:Q34770 }
Italian English
The Italian and English are spoken by Martin Paul Eve or are the original languages of creation of L'uomo, la bestia e la virtù
Italian English
action filter_type
action union
action find
entity Martin Paul Eve
relation languages spoken, written or signed
action find
entity L'uomo, la bestia e la virtù
relation original language of work
type language
{'OR': [['Martin Paul Eve', 'languages spoken, written or signed', {'concept': 'language'}], ["L'uomo, la bestia e la virtù", 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Martin_Paul_Eve property:languages_spoken,_written_or_signed ?e } UNION { resource:L'uomo,_la_bestia_e_la_virtù property:original_language_of_work ?e } } . ?e rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16145538
P1412
Q502895
USER
Does Michael Mobbs write those languages ?
(Q16145538,P1412,Q652) (Q16145538,P1412,Q1860)
action is_in
entity prev_answer
action find
entity Q16145538
relation P1412
['Q16145538', 'P1412', 'Q652'] ['Q16145538', 'P1412', 'Q1860']
ASK WHERE { resource:Q16145538 property:P1412 ?h . VALUES ( ?h ) { ( resource:Q652 ) ( resource:Q1860 ) } }
Michael Mobbs
action is_in
entity prev_answer
action find
entity Michael Mobbs
relation languages spoken, written or signed
['Michael Mobbs', 'languages spoken, written or signed', 'Italian'] ['Michael Mobbs', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Michael_Mobbs property:languages_spoken,_written_or_signed ?h . VALUES ( ?h ) { ( resource:Italian ) ( resource:English ) } }
[]
common name
SYSTEM
NO
(Q16145538,P1412,Q652) (Q16145538,P1412,Q1860)
action is_in
entity prev_answer
action find
entity Q16145538
relation P1412
[ANSWER]
['Q16145538', 'P1412', 'Q652'] ['Q16145538', 'P1412', 'Q1860']
ASK WHERE { resource:Q16145538 property:P1412 ?h . VALUES ( ?h ) { ( resource:Q652 ) ( resource:Q1860 ) } }
No
action is_in
entity prev_answer
action find
entity Michael Mobbs
relation languages spoken, written or signed
['Michael Mobbs', 'languages spoken, written or signed', 'Italian'] ['Michael Mobbs', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Michael_Mobbs property:languages_spoken,_written_or_signed ?h . VALUES ( ?h ) { ( resource:Italian ) ( resource:English ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16145538
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
action filter_type
action find
entity Q16145538
relation P27
type Q1048835
SELECT DISTINCT ?z WHERE { resource:Q16145538 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Michael Mobbs
action filter_type
action find
entity Michael Mobbs
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?z WHERE { resource:Michael_Mobbs property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
action filter_type
action find
entity Q16145538
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
SELECT DISTINCT ?z WHERE { resource:Q16145538 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Australia
Australia is that person an inhabitant of
Australia
action filter_type
action find
entity Michael Mobbs
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?z WHERE { resource:Michael_Mobbs property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]