Simple Question (Direct)
Simple Question
Q7964200
P102
Q7210356
USER
Which party does Walter Ayles belong to ?
(Q7964200,P102,c(Q7210356))
action filter_type
action find
entity Q7964200
relation P102
type Q7210356
['Q7964200', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q7964200 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Walter Ayles
action filter_type
action find
entity Walter Ayles
relation member of political party
type political organization
['Walter Ayles', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Walter_Ayles property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q7964200,P102,c(Q7210356))
action filter_type
action find
entity Q7964200
relation P102
type Q7210356
Walter Ayles belongs to [ANSWER]
['Q7964200', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q7964200 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Labour Party
Walter Ayles belongs to Labour Party
Labour Party
action filter_type
action find
entity Walter Ayles
relation member of political party
type political organization
['Walter Ayles', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Walter_Ayles property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7964200
P1412
Q34770
USER
Which language can that person understand ?
(Q9630,P1412,c(Q34770))
action filter_type
action find
entity Q7964200
relation P1412
type Q34770
['Q9630', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q7964200 property:P1412 ?k }
Walter Ayles
action filter_type
action find
entity Walter Ayles
relation languages spoken, written or signed
type language
['Labour Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Walter_Ayles property:languages_spoken,_written_or_signed ?k }
[]
language
Q1860
SYSTEM
English
Q1860
(Q9630,P1412,c(Q34770))
action filter_type
action find
entity Q7964200
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q9630', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q7964200 property:P1412 ?k }
English
That person can understand the English
English
action filter_type
action find
entity Walter Ayles
relation languages spoken, written or signed
type language
['Labour Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Walter_Ayles property:languages_spoken,_written_or_signed ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q5058512 Q1346342
P361
Q5962346
USER
Is English a part of Celtic Hounds and Anglic languages ?
(Q1860,P361,Q5058512) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5058512
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q5058512'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5058512 . resource:Q1860 property:P361 resource:Q1346342 }
English Celtic Hounds Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Celtic Hounds
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Celtic Hounds'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Celtic_Hounds . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q5058512) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5058512
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5058512'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5058512 . resource:Q1860 property:P361 resource:Q1346342 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Celtic Hounds
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Celtic Hounds'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Celtic_Hounds . resource:English property:part_of resource:Anglic_languages }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36751
P282
Q8192 Q9779 Q34770
USER
How many languages adopt approximately the same number of writing systems or alphabets as the writing system as Phrygian language ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?w WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q36751 property:P282 ?n . { { ?n rdf:type ontology:Q8192 } UNION { ?n rdf:type ontology:Q9779 } } } } . FILTER ( ?h = ?q ) }
Phrygian language
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?w WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Phrygian_language property:writing_system ?n . { { ?n rdf:type ontology:writing_system } UNION { ?n rdf:type ontology:alphabet } } } } . FILTER ( ?h = ?q ) }
[]
writing system alphabet language
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))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?w WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q36751 property:P282 ?n . { { ?n rdf:type ontology:Q8192 } UNION { ?n rdf:type ontology:Q9779 } } } } . FILTER ( ?h = ?q ) }
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
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?w WHERE { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Phrygian_language property:writing_system ?n . { { ?n rdf:type ontology:writing_system } UNION { ?n rdf:type ontology:alphabet } } } } . FILTER ( ?h = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1639124
P282
Q8192 Q9779 Q34770
USER
And how about Slavoserbian?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1639124
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?p ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?v rdf:type ?p } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q1639124 property:P282 ?i . { { ?i rdf:type ontology:Q8192 } UNION { ?i rdf:type ontology:Q9779 } } } } . FILTER ( ?q = ?d ) }
Slavoserbian
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Slavoserbian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?p ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?v rdf:type ?p } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Slavoserbian property:writing_system ?i . { { ?i rdf:type ontology:writing_system } UNION { ?i rdf:type ontology:alphabet } } } } . FILTER ( ?q = ?d ) }
[]
writing system alphabet language
SYSTEM
8
Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1639124
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?p ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?v rdf:type ?p } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q1639124 property:P282 ?i . { { ?i rdf:type ontology:Q8192 } UNION { ?i rdf:type ontology:Q9779 } } } } . FILTER ( ?q = ?d ) }
Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
8
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Slavoserbian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?p ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?v rdf:type ?p } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Slavoserbian property:writing_system ?i . { { ?i rdf:type ontology:writing_system } UNION { ?i rdf:type ontology:alphabet } } } } . FILTER ( ?q = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964200
P937
Q56061
USER
Where did Walter Ayles work ?
(Q7964200,P937,c(Q56061))
action filter_type
action find
entity Q7964200
relation P937
type Q56061
['Q7964200', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7964200 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Walter Ayles
action filter_type
action find
entity Walter Ayles
relation work location
type administrative territorial entity
['Walter Ayles', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Walter_Ayles property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7964200,P937,c(Q56061))
action filter_type
action find
entity Q7964200
relation P937
type Q56061
Walter Ayles worked in [ANSWER]
['Q7964200', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7964200 property:P937 ?c . ?c rdf:type ontology:Q56061 }
London
Walter Ayles worked in London
London
action filter_type
action find
entity Walter Ayles
relation work location
type administrative territorial entity
['Walter Ayles', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Walter_Ayles property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964200
P39
Q12737077
USER
Which occupation was a position held by Walter Ayles ?
(Q7964200,P39,c(Q12737077))
action filter_type
action find
entity Q7964200
relation P39
type Q12737077
['Q7964200', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7964200 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Walter Ayles
action filter_type
action find
entity Walter Ayles
relation position held
type occupation
['Walter Ayles', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Ayles property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q7964200,P39,c(Q12737077))
action filter_type
action find
entity Q7964200
relation P39
type Q12737077
The [ANSWER] was a position held by Walter Ayles
['Q7964200', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q7964200 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position held by Walter Ayles
Member of Parliament in the United Kingdom
action filter_type
action find
entity Walter Ayles
relation position held
type occupation
['Walter Ayles', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Ayles property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964200
P21
Q290
USER
Which sex does Walter Ayles have ?
(Q7964200,P21,c(Q290))
action filter_type
action find
entity Q7964200
relation P21
type Q290
['Q7964200', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7964200 property:P21 ?o . ?o rdf:type ontology:Q290 }
Walter Ayles
action filter_type
action find
entity Walter Ayles
relation gender
type sex
['Walter Ayles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Walter_Ayles property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7964200,P21,c(Q290))
action filter_type
action find
entity Q7964200
relation P21
type Q290
Walter Ayles has a [ANSWER]
['Q7964200', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7964200 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Walter Ayles has a male
male
action filter_type
action find
entity Walter Ayles
relation gender
type sex
['Walter Ayles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Walter_Ayles property:gender ?o . ?o rdf:type ontology:sex }
[]