Simple Question (Direct)
Simple Question
Q5233558
P1412
Q34770
USER
Which language can David Farr understand ?
(Q5233558,P1412,c(Q34770))
action filter_type
action find
entity Q5233558
relation P1412
type Q34770
['Q5233558', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q5233558 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
David Farr
action filter_type
action find
entity David Farr
relation languages spoken, written or signed
type language
['David Farr', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:David_Farr property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5233558,P1412,c(Q34770))
action filter_type
action find
entity Q5233558
relation P1412
type Q34770
David Farr can understand [ANSWER]
['Q5233558', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q5233558 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
David Farr can understand English
English
action filter_type
action find
entity David Farr
relation languages spoken, written or signed
type language
['David Farr', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:David_Farr property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5233558
P69
Q3918
USER
Which university is that person an alumni of ?
(Q1860,P69,c(Q3918))
action filter_type
action find
entity Q5233558
relation P69
type Q3918
['Q1860', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q5233558 property:P69 ?f . ?f rdf:type ontology:Q3918 }
David Farr
action filter_type
action find
entity David Farr
relation educated at
type university
['English', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:David_Farr property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
Q35794
SYSTEM
University of Cambridge
Q35794
(Q1860,P69,c(Q3918))
action filter_type
action find
entity Q5233558
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q1860', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q5233558 property:P69 ?f . ?f rdf:type ontology:Q3918 }
University of Cambridge
University of Cambridge is that person an alumni of
University of Cambridge
action filter_type
action find
entity David Farr
relation educated at
type university
['English', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:David_Farr property:educated_at ?f . ?f rdf:type ontology:university }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2705672
P282
Q2001982 Q9779 Q34770
USER
Which languages are lesser number of notations or alphabets the writing system of than Paeonian language ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?x rdf:type ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } . resource:Q2705672 property:P282 ?o } } . FILTER ( ?c < ?n ) }
Paeonian language
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:alphabet ) ( ontology:notation ) } . ?x rdf:type ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:notation ) ( ontology:alphabet ) } } . resource:Paeonian_language property:writing_system ?o } } . FILTER ( ?c < ?n ) }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q2001982
type Q9779
The [ANSWERS] are lesser number of notations or alphabets the writing system of than Paeonian language
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?x rdf:type ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } . resource:Q2705672 property:P282 ?o } } . FILTER ( ?c < ?n ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
The English, Old Egyptian and Norn are lesser number of notations or alphabets the writing system of than Paeonian language
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:alphabet ) ( ontology:notation ) } . ?x rdf:type ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:notation ) ( ontology:alphabet ) } } . resource:Paeonian_language property:writing_system ?o } } . FILTER ( ?c < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q182695
P282
Q2001982 Q9779 Q34770
USER
And how about Late Old Japanese?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q182695 property:P282 ?b . { { ?b rdf:type ontology:Q9779 } UNION { ?b rdf:type ontology:Q2001982 } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?m WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?m } }
Late Old Japanese
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Late_Old_Japanese property:writing_system ?b . { { ?b rdf:type ontology:alphabet } UNION { ?b rdf:type ontology:notation } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?m WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?m } }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q182695 property:P282 ?b . { { ?b rdf:type ontology:Q9779 } UNION { ?b rdf:type ontology:Q2001982 } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?m WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?m } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Late_Old_Japanese property:writing_system ?b . { { ?b rdf:type ontology:alphabet } UNION { ?b rdf:type ontology:notation } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?m WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q182695
P282
Q2001982 Q9779 Q34770
USER
Which languages have writing system as lesser number of notations or alphabets than Late Old Japanese ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q182695 property:P282 ?l . { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?l rdf:type ?z } } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?x WHERE { { ?c rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?c } UNION { ?x property:P282 ?c . ?x rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 } } GROUP BY ?x } }
Late Old Japanese
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Late_Old_Japanese property:writing_system ?l . { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?l rdf:type ?z } } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?x WHERE { { ?c rdf:type ontology:notation . ?x rdf:type ontology:language . ?x property:writing_system ?c } UNION { ?x property:writing_system ?c . ?x rdf:type ontology:language . ?c rdf:type ontology:alphabet } } GROUP BY ?x } }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q2001982
type Q9779
[ANSWERS] have writing system as lesser number of notations or alphabets than Late Old Japanese
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q182695 property:P282 ?l . { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?l rdf:type ?z } } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?x WHERE { { ?c rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?c } UNION { ?x property:P282 ?c . ?x rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 } } GROUP BY ?x } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
English, Old Egyptian and Norn have writing system as lesser number of notations or alphabets than Late Old Japanese
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Late_Old_Japanese property:writing_system ?l . { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?l rdf:type ?z } } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?x WHERE { { ?c rdf:type ontology:notation . ?x rdf:type ontology:language . ?x property:writing_system ?c } UNION { ?x property:writing_system ?c . ?x rdf:type ontology:language . ?c rdf:type ontology:alphabet } } GROUP BY ?x } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages use lesser number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q36708
SYSTEM
Did you mean Norn ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Norn ?
Norn
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant English. Could you tell me the answer for that?
(c(Q34770),P282,c(Q8192))
Q1860
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
57
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 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 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian 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 Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
57
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35794
P17
Q15617994
USER
Which administrative territory is University of Cambridge situated in ?
(Q35794,P17,c(Q15617994))
action filter_type
action find
entity Q35794
relation P17
type Q15617994
['Q35794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q35794 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
University of Cambridge
action filter_type
action find
entity University of Cambridge
relation country
type designation for an administrative territorial entity
['University of Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:University_of_Cambridge property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q35794,P17,c(Q15617994))
action filter_type
action find
entity Q35794
relation P17
type Q15617994
University of Cambridge is situated in [ANSWER]
['Q35794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q35794 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
University of Cambridge is situated in United Kingdom
United Kingdom
action filter_type
action find
entity University of Cambridge
relation country
type designation for an administrative territorial entity
['University of Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:University_of_Cambridge property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19977996
Q15617994
USER
And how about Embassy of Laos, Stockholm?
(Q19977996,P17,c(Q15617994))
action filter_type
action find
entity Q19977996
relation P17
type Q15617994
['Q19977996', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q19977996 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Embassy of Laos, Stockholm
action filter_type
action find
entity Embassy of Laos, Stockholm
relation country
type designation for an administrative territorial entity
['Embassy of Laos, Stockholm', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Embassy_of_Laos,_Stockholm property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q19977996,P17,c(Q15617994))
action filter_type
action find
entity Q19977996
relation P17
type Q15617994
[ANSWER]
['Q19977996', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q19977996 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
Sweden
action filter_type
action find
entity Embassy of Laos, Stockholm
relation country
type designation for an administrative territorial entity
['Embassy of Laos, Stockholm', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Embassy_of_Laos,_Stockholm property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q34 Q15304053
P17
Q55488
USER
Is Valla Torg tram station located in that administrative territory ?
(Q15304053,P17,Q34)
action is_in
entity Q34
action find
entity Q15304053
relation P17
['Q15304053', 'P17', 'Q34']
ASK WHERE { resource:Q15304053 property:P17 resource:Q34 }
Sweden Valla Torg tram station
action is_in
entity Sweden
action find
entity Valla Torg tram station
relation country
['Valla Torg tram station', 'country', 'Sweden']
ASK WHERE { resource:Valla_Torg_tram_station property:country resource:Sweden }
[]
railway station
SYSTEM
YES
(Q15304053,P17,Q34)
action is_in
entity Q34
action find
entity Q15304053
relation P17
[ANSWER]
['Q15304053', 'P17', 'Q34']
ASK WHERE { resource:Q15304053 property:P17 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Valla Torg tram station
relation country
['Valla Torg tram station', 'country', 'Sweden']
ASK WHERE { resource:Valla_Torg_tram_station property:country resource:Sweden }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36708 Q46766 Q145
P17
Q15617994
USER
Is Norn present in Mühlental and United Kingdom ?
(Q36708,P17,Q46766) (Q36708,P17,Q145)
action is_in
entity Q36708
action intersection
action find_reverse
entity Q46766
relation P17
action find_reverse
entity Q145
relation P17
['Q36708', 'P17', 'Q46766'] ['Q36708', 'P17', 'Q145']
ASK WHERE { resource:Q36708 property:P17 resource:Q46766 . resource:Q36708 property:P17 resource:Q145 }
Norn Mühlental United Kingdom
action is_in
entity Norn
action intersection
action find_reverse
entity Mühlental
relation country
action find_reverse
entity United Kingdom
relation country
['Norn', 'country', 'Mühlental'] ['Norn', 'country', 'United Kingdom']
ASK WHERE { resource:Norn property:country resource:Mühlental . resource:Norn property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q36708,P17,Q46766) (Q36708,P17,Q145)
action is_in
entity Q36708
action intersection
action find_reverse
entity Q46766
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q36708', 'P17', 'Q46766'] ['Q36708', 'P17', 'Q145']
ASK WHERE { resource:Q36708 property:P17 resource:Q46766 . resource:Q36708 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Norn
action intersection
action find_reverse
entity Mühlental
relation country
action find_reverse
entity United Kingdom
relation country
['Norn', 'country', 'Mühlental'] ['Norn', 'country', 'United Kingdom']
ASK WHERE { resource:Norn property:country resource:Mühlental . resource:Norn property:country resource:United_Kingdom }
[]