Simple Question (Direct)
Simple Question
Q12047702
P915
Q486972
USER
Where was Páni kluci filmed ?
(Q12047702,P915,c(Q486972))
action filter_type
action find
entity Q12047702
relation P915
type Q486972
['Q12047702', 'P915', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q12047702 property:P915 ?t . ?t rdf:type ontology:Q486972 }
Páni kluci
action filter_type
action find
entity Páni kluci
relation filming location
type human settlement
['Páni kluci', 'filming location', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Páni_kluci property:filming_location ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q1821970
SYSTEM
Levín
Q1821970
(Q12047702,P915,c(Q486972))
action filter_type
action find
entity Q12047702
relation P915
type Q486972
Páni kluci was filmed in [ANSWER]
['Q12047702', 'P915', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q12047702 property:P915 ?t . ?t rdf:type ontology:Q486972 }
Levín
Páni kluci was filmed in Levín
Levín
action filter_type
action find
entity Páni kluci
relation filming location
type human settlement
['Páni kluci', 'filming location', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Páni_kluci property:filming_location ?t . ?t rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12047702
P495
Q7275
USER
Which state is the origin of that work of art ?
(Q1821970,P495,c(Q7275))
action filter_type
action find
entity Q12047702
relation P495
type Q7275
['Q1821970', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q12047702 property:P495 ?e . ?e rdf:type ontology:Q7275 }
Páni kluci
action filter_type
action find
entity Páni kluci
relation country of origin
type state
['Levín', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Páni_kluci property:country_of_origin ?e . ?e rdf:type ontology:state }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q1821970,P495,c(Q7275))
action filter_type
action find
entity Q12047702
relation P495
type Q7275
The [ANSWER] is the origin of that work of art
['Q1821970', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q12047702 property:P495 ?e . ?e rdf:type ontology:Q7275 }
Czechoslovakia
The Czechoslovakia is the origin of that work of art
Czechoslovakia
action filter_type
action find
entity Páni kluci
relation country of origin
type state
['Levín', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Páni_kluci property:country_of_origin ?e . ?e rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q33946 Q2666912 Q3067936
P6
Q502895
USER
Is Vlastimil Tusar and Federico Sforza the head of the goverment of Q33946 ?
(Q33946,P6,Q2666912) (Q33946,P6,Q3067936)
action is_in
entity Q33946
action intersection
action find_reverse
entity Q2666912
relation P6
action find_reverse
entity Q3067936
relation P6
['Q33946', 'P6', 'Q2666912'] ['Q33946', 'P6', 'Q3067936']
ASK WHERE { resource:Q33946 property:P6 resource:Q2666912 . resource:Q33946 property:P6 resource:Q3067936 }
Czechoslovakia Vlastimil Tusar Federico Sforza
action is_in
entity Czechoslovakia
action intersection
action find_reverse
entity Vlastimil Tusar
relation head of government
action find_reverse
entity Federico Sforza
relation head of government
['Czechoslovakia', 'head of government', 'Vlastimil Tusar'] ['Czechoslovakia', 'head of government', 'Federico Sforza']
ASK WHERE { resource:Czechoslovakia property:head_of_government resource:Vlastimil_Tusar . resource:Czechoslovakia property:head_of_government resource:Federico_Sforza }
[]
common name
SYSTEM
YES and NO respectively
(Q33946,P6,Q2666912) (Q33946,P6,Q3067936)
action is_in
entity Q33946
action intersection
action find_reverse
entity Q2666912
relation P6
action find_reverse
entity Q3067936
relation P6
[ANSWER]
['Q33946', 'P6', 'Q2666912'] ['Q33946', 'P6', 'Q3067936']
ASK WHERE { resource:Q33946 property:P6 resource:Q2666912 . resource:Q33946 property:P6 resource:Q3067936 }
YES and NO respectively
action is_in
entity Czechoslovakia
action intersection
action find_reverse
entity Vlastimil Tusar
relation head of government
action find_reverse
entity Federico Sforza
relation head of government
['Czechoslovakia', 'head of government', 'Vlastimil Tusar'] ['Czechoslovakia', 'head of government', 'Federico Sforza']
ASK WHERE { resource:Czechoslovakia property:head_of_government resource:Vlastimil_Tusar . resource:Czechoslovakia property:head_of_government resource:Federico_Sforza }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P37
Q34770
USER
What is the official language of that state ?
action filter_type
action find
entity Q33946
relation P37
type Q34770
SELECT DISTINCT ?u WHERE { resource:Q33946 property:P37 ?u . ?u rdf:type ontology:Q34770 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation official language
type language
SELECT DISTINCT ?u WHERE { resource:Czechoslovakia property:official_language ?u . ?u rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
action filter_type
action find
entity Q33946
relation P37
type Q34770
The official language of that state is the [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q33946 property:P37 ?u . ?u rdf:type ontology:Q34770 }
Czech
The official language of that state is the Czech
Czech
action filter_type
action find
entity Czechoslovakia
relation official language
type language
SELECT DISTINCT ?u WHERE { resource:Czechoslovakia property:official_language ?u . ?u rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q34909
P407
Q34770 Q82799 Q2031291
USER
Which languages are around the same number of names and releases composed in as Old Icelandic ?
(c(Q82799)|c(Q2031291),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q34909
relation P407
type Q82799
type Q2031291
[[{'concept': 'Q82799'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P407 ?f . ?f rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } UNION { ?x property:P407 ?f . ?f rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2031291 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P407 resource:Q34909 . { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?o = ?w ) }
Old Icelandic
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Old Icelandic
relation language of work or name
type name
type release
[[{'concept': 'name'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?x rdf:type ontology:name } UNION { ?x property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?x rdf:type ontology:release } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:language_of_work_or_name resource:Old_Icelandic . { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:release ) } } } } . FILTER ( ?o = ?w ) }
[]
language name release
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)|c(Q2031291),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q34909
relation P407
type Q82799
type Q2031291
[ANSWERS] are around the same number of names and releases composed in as Old Icelandic
[[{'concept': 'Q82799'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:P407 ?f . ?f rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } UNION { ?x property:P407 ?f . ?f rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2031291 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P407 resource:Q34909 . { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?o = ?w ) }
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 around the same number of names and releases composed in as Old Icelandic
Old Egyptian Old Church Slavonic Etruscan
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Old Icelandic
relation language of work or name
type name
type release
[[{'concept': 'name'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { { ?x property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?x rdf:type ontology:name } UNION { ?x property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?x rdf:type ontology:release } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:language_of_work_or_name resource:Old_Icelandic . { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:release ) } } } } . FILTER ( ?o = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q33879
P407
Q34770 Q82799 Q2031291
USER
And what about Pangasinan language?
(c(Q82799)|c(Q2031291),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q33879
relation P407
type Q82799
type Q2031291
[[{'concept': 'Q82799'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q82799 ) ( ontology:Q2031291 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2031291 ) ( ontology:Q82799 ) } } . ?t property:P407 resource:Q33879 } } . FILTER ( ?m = ?s ) }
Pangasinan language
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Pangasinan language
relation language of work or name
type name
type release
[[{'concept': 'name'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:name ) ( ontology:release ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?b . VALUES ( ?b ) { ( ontology:release ) ( ontology:name ) } } . ?t property:language_of_work_or_name resource:Pangasinan_language } } . FILTER ( ?m = ?s ) }
[]
language name release
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)|c(Q2031291),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q33879
relation P407
type Q82799
type Q2031291
[ANSWERS]
[[{'concept': 'Q82799'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q82799 ) ( ontology:Q2031291 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2031291 ) ( ontology:Q82799 ) } } . ?t property:P407 resource:Q33879 } } . FILTER ( ?m = ?s ) }
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 Etruscan
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Pangasinan language
relation language of work or name
type name
type release
[[{'concept': 'name'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:name ) ( ontology:release ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?b . VALUES ( ?b ) { ( ontology:release ) ( ontology:name ) } } . ?t property:language_of_work_or_name resource:Pangasinan_language } } . FILTER ( ?m = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1314503
P282
Q8192 Q34770
USER
Which writing systems are the writing systems used for approximately the same number of languages as Tai Tham alphabet ?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1314503
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 . ?g property:P282 ?e } GROUP BY ?e } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q1314503 property:P282 ?p . ?p rdf:type ontology:Q8192 } } }
Tai Tham alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Tai Tham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:language . ?e rdf:type ontology:writing_system . ?g property:writing_system ?e } GROUP BY ?e } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Tai_Tham_alphabet property:writing_system ?p . ?p rdf:type ontology:writing_system } } }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1314503
relation P282
type Q8192
[ANSWERS] are the writing systems used for approximately the same number of languages as Tai Tham alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 . ?g property:P282 ?e } GROUP BY ?e } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q1314503 property:P282 ?p . ?p rdf:type ontology:Q8192 } } }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are the writing systems used for approximately the same number of languages as Tai Tham alphabet
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Tai Tham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:language . ?e rdf:type ontology:writing_system . ?g property:writing_system ?e } GROUP BY ?e } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Tai_Tham_alphabet property:writing_system ?p . ?p rdf:type ontology:writing_system } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33946
P159
Q874405
USER
Which social group has its head office location at Czechoslovakia ?
(c(Q874405),P159,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q33946']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q33946 . ?n rdf:type ontology:Q874405 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Czechoslovakia']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Czechoslovakia . ?n rdf:type ontology:social_group }
[]
social group
Q6149094
SYSTEM
Jan Hus Educational Foundation
Q6149094
(c(Q874405),P159,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P159
type Q874405
[ANSWER] has its head office location at Czechoslovakia
[{'concept': 'Q874405'}, 'P159', 'Q33946']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q33946 . ?n rdf:type ontology:Q874405 }
Jan Hus Educational Foundation
Jan Hus Educational Foundation has its head office location at Czechoslovakia
Jan Hus Educational Foundation
action filter_type
action find_reverse
entity Czechoslovakia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Czechoslovakia']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Czechoslovakia . ?n rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P1376
Q56061
USER
Which administrative territory is the capital of that state ?
(c(Q56061),P1376,Q6149094)
action filter_type
action find_reverse
entity Q33946
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q6149094']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . ?x property:P1376 resource:Q33946 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Jan Hus Educational Foundation']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?x property:capital_of resource:Czechoslovakia }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(c(Q56061),P1376,Q6149094)
action filter_type
action find_reverse
entity Q33946
relation P1376
type Q56061
[ANSWER] is the capital of that state
[{'concept': 'Q56061'}, 'P1376', 'Q6149094']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . ?x property:P1376 resource:Q33946 }
Prague
Prague is the capital of that state
Prague
action filter_type
action find_reverse
entity Czechoslovakia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Jan Hus Educational Foundation']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?x property:capital_of resource:Czechoslovakia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P463
Q43229
USER
Which organizations were that state a member of ?
(Q1085,P463,c(Q43229))
action filter_type
action find
entity Q33946
relation P463
type Q43229
['Q1085', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q33946 property:P463 ?v . ?v rdf:type ontology:Q43229 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation member of
type organization
['Prague', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Czechoslovakia property:member_of ?v . ?v rdf:type ontology:organization }
[]
organization
Q41644 Q191582
SYSTEM
Warsaw Pact, Comecon
Q41644 Q191582
(Q1085,P463,c(Q43229))
action filter_type
action find
entity Q33946
relation P463
type Q43229
[ANSWERS]
['Q1085', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q33946 property:P463 ?v . ?v rdf:type ontology:Q43229 }
Warsaw Pact Comecon
Which organizations were that state a member of
Warsaw Pact Comecon
action filter_type
action find
entity Czechoslovakia
relation member of
type organization
['Prague', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Czechoslovakia property:member_of ?v . ?v rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q83186
P941
Q838948 Q15416 Q11424
USER
How many works of art were lesser number of television programs or films inspired by than Romeo and Juliet ?
(c(Q15416)|c(Q11424),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q15416
type Q11424
[[{'concept': 'Q15416'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P941 resource:Q83186 . { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q11424 ) } . ?g rdf:type ?z } } } . FILTER ( ?y < ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q11424 ) } } GROUP BY ?e } }
Romeo and Juliet
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type television program
type film
[[{'concept': 'television program'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:inspired_by resource:Romeo_and_Juliet . { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:film ) } . ?g rdf:type ?z } } } . FILTER ( ?y < ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:television_program ) ( ontology:film ) } } GROUP BY ?e } }
[]
work of art television program film
SYSTEM
28
Q125191 Q1136305 Q107724 Q1856846 Q7758112 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q375786 Q465478 Q493755 Q214619
(c(Q15416)|c(Q11424),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q15416
type Q11424
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P941 resource:Q83186 . { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q11424 ) } . ?g rdf:type ?z } } } . FILTER ( ?y < ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q11424 ) } } GROUP BY ?e } }
photograph Doryphoros Thunderball The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece Hippolytus Star Trek II: The Wrath of Khan Coming to America The Little Mermaid
28
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type television program
type film
[[{'concept': 'television program'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:inspired_by resource:Romeo_and_Juliet . { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:film ) } . ?g rdf:type ?z } } } . FILTER ( ?y < ?d ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ?p . VALUES ( ?p ) { ( ontology:television_program ) ( ontology:film ) } } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41644
P138
Q820655
USER
What is Warsaw Pact named after ?
(Q41644,P138,c(Q820655))
action filter_type
action find
entity Q41644
relation P138
type Q820655
['Q41644', 'P138', {'concept': 'Q820655'}]
SELECT DISTINCT ?x WHERE { resource:Q41644 property:P138 ?x . ?x rdf:type ontology:Q820655 }
Warsaw Pact
action filter_type
action find
entity Warsaw Pact
relation named after
type statute
['Warsaw Pact', 'named after', {'concept': 'statute'}]
SELECT DISTINCT ?x WHERE { resource:Warsaw_Pact property:named_after ?x . ?x rdf:type ontology:statute }
[]
statute
Q17218115
SYSTEM
Warsaw Treaty
Q17218115
(Q41644,P138,c(Q820655))
action filter_type
action find
entity Q41644
relation P138
type Q820655
Warsaw Pact is named the [ANSWER]
['Q41644', 'P138', {'concept': 'Q820655'}]
SELECT DISTINCT ?x WHERE { resource:Q41644 property:P138 ?x . ?x rdf:type ontology:Q820655 }
Warsaw Treaty
Warsaw Pact is named the Warsaw Treaty
Warsaw Treaty
action filter_type
action find
entity Warsaw Pact
relation named after
type statute
['Warsaw Pact', 'named after', {'concept': 'statute'}]
SELECT DISTINCT ?x WHERE { resource:Warsaw_Pact property:named_after ?x . ?x rdf:type ontology:statute }
[]