Simple Question (Direct)
Simple Question
Q7704071
P27
Q15617994
USER
Which administrative territory is Terry Austin a civilian of ?
(Q7704071,P27,c(Q15617994))
action filter_type
action find
entity Q7704071
relation P27
type Q15617994
['Q7704071', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7704071 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Terry Austin
action filter_type
action find
entity Terry Austin
relation country of citizenship
type designation for an administrative territorial entity
['Terry Austin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Terry_Austin property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7704071,P27,c(Q15617994))
action filter_type
action find
entity Q7704071
relation P27
type Q15617994
[ANSWER] is Terry Austin a civilian of
['Q7704071', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7704071 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Terry Austin a civilian of
United Kingdom
action filter_type
action find
entity Terry Austin
relation country of citizenship
type designation for an administrative territorial entity
['Terry Austin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Terry_Austin property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7704071
P735
Q82799
USER
Which name is that person known by ?
(Q145,P735,c(Q82799))
action filter_type
action find
entity Q7704071
relation P735
type Q82799
['Q145', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q7704071 property:P735 ?m }
Terry Austin
action filter_type
action find
entity Terry Austin
relation given name
type name
['United Kingdom', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Terry_Austin property:given_name ?m }
[]
name
Q10514602
SYSTEM
Terry
Q10514602
(Q145,P735,c(Q82799))
action filter_type
action find
entity Q7704071
relation P735
type Q82799
That person is known for [ANSWER]
['Q145', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q7704071 property:P735 ?m }
Terry
That person is known for Terry
Terry
action filter_type
action find
entity Terry Austin
relation given name
type name
['United Kingdom', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Terry_Austin property:given_name ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24067392
P180
Q82799 Q15709879 Q386724
USER
How many names are demonstrated in more number of artwork series or works than Boy ?
(c(Q15709879)|c(Q386724),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q15709879
type Q386724
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P180 resource:Q24067392 . { { ?s rdf:type ontology:Q15709879 } UNION { ?s rdf:type ontology:Q386724 } } } } . FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?p WHERE { { ?p rdf:type ontology:Q82799 . ?o rdf:type ontology:Q15709879 . ?o property:P180 ?p } UNION { ?o property:P180 ?p . ?o rdf:type ontology:Q386724 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } }
Boy
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type artwork series
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:depicts resource:Boy . { { ?s rdf:type ontology:artwork_series } UNION { ?s rdf:type ontology:work } } } } . FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?p WHERE { { ?p rdf:type ontology:name . ?o rdf:type ontology:artwork_series . ?o property:depicts ?p } UNION { ?o property:depicts ?p . ?o rdf:type ontology:work . ?p rdf:type ontology:name } } GROUP BY ?p } }
[]
name artwork series work
SYSTEM
5
Q5 Q726 Q144 Q201251 Q152
(c(Q15709879)|c(Q386724),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q15709879
type Q386724
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P180 resource:Q24067392 . { { ?s rdf:type ontology:Q15709879 } UNION { ?s rdf:type ontology:Q386724 } } } } . FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?p WHERE { { ?p rdf:type ontology:Q82799 . ?o rdf:type ontology:Q15709879 . ?o property:P180 ?p } UNION { ?o property:P180 ?p . ?o rdf:type ontology:Q386724 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } }
human horse dog peacock fish
5
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type artwork series
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:depicts resource:Boy . { { ?s rdf:type ontology:artwork_series } UNION { ?s rdf:type ontology:work } } } } . FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?p WHERE { { ?p rdf:type ontology:name . ?o rdf:type ontology:artwork_series . ?o property:depicts ?p } UNION { ?o property:depicts ?p . ?o rdf:type ontology:work . ?p rdf:type ontology:name } } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for approximately 12 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 12
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?p = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P407 ?e . ?y rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 12
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?p = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:language_of_work_or_name ?e . ?y rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 12
[ANSWERS] are the languages of work for approximately 12 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?p = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P407 ?e . ?y rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for approximately 12 names
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 12
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?p = 12 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:language_of_work_or_name ?e . ?y rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P282
Q8192 Q9779 Q34770
USER
Which languages are approximately the same number of writing systems and alphabets the writing system of as that language ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( ?y ) ( ?x ) } . ?z property:Q8192 ?g } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q9779 }
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( ?y ) ( ?x ) } . ?z property:writing_system ?g } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:alphabet }
[]
writing system alphabet language
Comparative|More/Less|Mult. entity type|Clarification
Q35499
SYSTEM
Did you mean Old Church Slavonic ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( ?y ) ( ?x ) } . ?z property:Q8192 ?g } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q9779 }
Did you mean Old Church Slavonic ?
Old Church Slavonic
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( ?y ) ( ?x ) } . ?z property:writing_system ?g } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:alphabet }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q34770),P282,c(Q8192)|c(Q9779))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
[]
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q8192 ?y } UNION { ?z property:Q8192 ?x } } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q9779 }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:writing_system ?y } UNION { ?z property:writing_system ?x } } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:alphabet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10514602
P26
Q502895
USER
Who is married to Terry ?
(c(Q502895),P26,Q10514602)
action filter_type
action find_reverse
entity Q10514602
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q10514602']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P26 resource:Q10514602 }
Terry
action filter_type
action find_reverse
entity Terry
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Terry']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:spouse resource:Terry }
[]
common name
Q5041088
SYSTEM
Carla Nelson
Q5041088
(c(Q502895),P26,Q10514602)
action filter_type
action find_reverse
entity Q10514602
relation P26
type Q502895
The [ANSWER] is married to Terry
[{'concept': 'Q502895'}, 'P26', 'Q10514602']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P26 resource:Q10514602 }
Carla Nelson
The Carla Nelson is married to Terry
Carla Nelson
action filter_type
action find_reverse
entity Terry
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Terry']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:spouse resource:Terry }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5041088
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q5041088,P19,c(Q56061))
action filter_type
action find
entity Q5041088
relation P19
type Q56061
['Q5041088', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5041088 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Carla Nelson
action filter_type
action find
entity Carla Nelson
relation place of birth
type administrative territorial entity
['Carla Nelson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Carla_Nelson property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1914026
SYSTEM
Webster City
Q1914026
(Q5041088,P19,c(Q56061))
action filter_type
action find
entity Q5041088
relation P19
type Q56061
That person was born in [ANSWER]
['Q5041088', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5041088 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Webster City
That person was born in Webster City
Webster City
action filter_type
action find
entity Carla Nelson
relation place of birth
type administrative territorial entity
['Carla Nelson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Carla_Nelson property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1914026 Q5486444
P19
Q502895
USER
Does Mauro Asplanato have birthplace at that administrative territory ?
(Q5486444,P19,Q1914026)
action is_in
entity Q5486444
action find
entity Q1914026
relation P19
['Q5486444', 'P19', 'Q1914026']
ASK WHERE { resource:Q1914026 property:P19 resource:Q5486444 }
Webster City Mauro Asplanato
action is_in
entity Mauro Asplanato
action find
entity Webster City
relation place of birth
['Mauro Asplanato', 'place of birth', 'Webster City']
ASK WHERE { resource:Webster_City property:place_of_birth resource:Mauro_Asplanato }
[]
common name
SYSTEM
NO
(Q5486444,P19,Q1914026)
action is_in
entity Q5486444
action find
entity Q1914026
relation P19
[ANSWER]
['Q5486444', 'P19', 'Q1914026']
ASK WHERE { resource:Q1914026 property:P19 resource:Q5486444 }
No
action is_in
entity Mauro Asplanato
action find
entity Webster City
relation place of birth
['Mauro Asplanato', 'place of birth', 'Webster City']
ASK WHERE { resource:Webster_City property:place_of_birth resource:Mauro_Asplanato }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1914026
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
action filter_type
action find
entity Q1914026
relation P17
type Q15617994
SELECT DISTINCT ?y WHERE { resource:Q1914026 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Webster City
action filter_type
action find
entity Webster City
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Webster_City property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q1914026
relation P17
type Q15617994
That administrative territory is situated the [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q1914026 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
That administrative territory is situated the United States of America
United States of America
action filter_type
action find
entity Webster City
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Webster_City property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1914026
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q30)
action filter_type
action find_reverse
entity Q1914026
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q1914026 . ?x rdf:type ontology:Q62447 }
Webster City
action filter_type
action find_reverse
entity Webster City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Webster_City . ?x rdf:type ontology:aerodrome }
[]
aerodrome
Q14689347
SYSTEM
Webster City Municipal Airport
Q14689347
(c(Q62447),P931,Q30)
action filter_type
action find_reverse
entity Q1914026
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q1914026 . ?x rdf:type ontology:Q62447 }
Webster City Municipal Airport
Webster City Municipal Airport is served by that administrative territory
Webster City Municipal Airport
action filter_type
action find_reverse
entity Webster City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Webster_City . ?x rdf:type ontology:aerodrome }
[]