Simple Question (Direct)
Simple Question
Q5545296
P937
Q56061
USER
Which administrative territory is the work location of George Traill ?
(Q5545296,P937,c(Q56061))
action filter_type
action find
entity Q5545296
relation P937
type Q56061
['Q5545296', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q5545296 property:P937 ?n . ?n rdf:type ontology:Q56061 }
George Traill
action filter_type
action find
entity George Traill
relation work location
type administrative territorial entity
['George Traill', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:George_Traill property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5545296,P937,c(Q56061))
action filter_type
action find
entity Q5545296
relation P937
type Q56061
[ANSWER] is the work location of George Traill
['Q5545296', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q5545296 property:P937 ?n . ?n rdf:type ontology:Q56061 }
London
London is the work location of George Traill
London
action filter_type
action find
entity George Traill
relation work location
type administrative territorial entity
['George Traill', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:George_Traill property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5545296
P27
Q7275
USER
Which state is the country of citizenship of that person ?
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q5545296
relation P27
type Q7275
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . resource:Q5545296 property:P27 ?d }
George Traill
action filter_type
action find
entity George Traill
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . resource:George_Traill property:country_of_citizenship ?d }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q5545296
relation P27
type Q7275
[ANSWER] is the country of citizenship of that person
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7275 . resource:Q5545296 property:P27 ?d }
United Kingdom of Great Britain and Ireland
United Kingdom of Great Britain and Ireland is the country of citizenship of that person
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity George Traill
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:state . resource:George_Traill property:country_of_citizenship ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5545296
P1412
Q34770
USER
How many languages can George Traill read ?
(Q5545296,P1412,c(Q34770))
action count
action filter_type
action find
entity Q5545296
relation P1412
type Q34770
['Q5545296', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q5545296 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
George Traill
action count
action filter_type
action find
entity George Traill
relation languages spoken, written or signed
type language
['George Traill', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:George_Traill property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q5545296,P1412,c(Q34770))
action count
action filter_type
action find
entity Q5545296
relation P1412
type Q34770
[ANSWER]
['Q5545296', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q5545296 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity George Traill
relation languages spoken, written or signed
type language
['George Traill', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:George_Traill property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5545296
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
action filter_type
action find
entity Q5545296
relation P39
type Q12737077
SELECT DISTINCT ?d WHERE { resource:Q5545296 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
George Traill
action filter_type
action find
entity George Traill
relation position held
type occupation
SELECT DISTINCT ?d WHERE { resource:George_Traill property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
action filter_type
action find
entity Q5545296
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
SELECT DISTINCT ?d WHERE { resource:Q5545296 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position for which that person was appointed
Member of Parliament in the United Kingdom
action filter_type
action find
entity George Traill
relation position held
type occupation
SELECT DISTINCT ?d WHERE { resource:George_Traill property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q84
P1444
Q2912397 Q31629
USER
How many single-day races or types of sport ends at London ?
(c(Q2912397),P1444,Q84) (c(Q31629),P1444,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P1444
type Q2912397
action filter_type
action find_reverse
entity Q84
relation P1444
type Q31629
[{'concept': 'Q2912397'}, 'P1444', 'Q84'] [{'concept': 'Q31629'}, 'P1444', 'Q84']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2912397 ) ( ontology:Q31629 ) } }
London
action count
action union
action filter_type
action find_reverse
entity London
relation destination point
type single-day race
action filter_type
action find_reverse
entity London
relation destination point
type type of sport
[{'concept': 'single-day race'}, 'destination point', 'London'] [{'concept': 'type of sport'}, 'destination point', 'London']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:single-day_race ) ( ontology:type_of_sport ) } }
[]
single-day race type of sport
SYSTEM
2
Q20739807 Q26793343
(c(Q2912397),P1444,Q84) (c(Q31629),P1444,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P1444
type Q2912397
action filter_type
action find_reverse
entity Q84
relation P1444
type Q31629
[ANSWER]
[{'concept': 'Q2912397'}, 'P1444', 'Q84'] [{'concept': 'Q31629'}, 'P1444', 'Q84']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2912397 ) ( ontology:Q31629 ) } }
2015 RideLondon–Surrey Classic 2016 Tour of Britain, Stage 8
2
action count
action union
action filter_type
action find_reverse
entity London
relation destination point
type single-day race
action filter_type
action find_reverse
entity London
relation destination point
type type of sport
[{'concept': 'single-day race'}, 'destination point', 'London'] [{'concept': 'type of sport'}, 'destination point', 'London']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:single-day_race ) ( ontology:type_of_sport ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5494448 Q5545296
P1412
Q34770
USER
Which languages do George Traill and Fred Anderson speak in ?
AND((Q5545296,P1412,c(Q34770)), (Q5494448,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q5545296
relation P1412
action find
entity Q5494448
relation P1412
type Q34770
{'AND': [['Q5545296', 'P1412', {'concept': 'Q34770'}], ['Q5494448', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { resource:Q5545296 property:P1412 ?k . resource:Q5494448 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Fred Anderson George Traill
action filter_type
action intersection
action find
entity George Traill
relation languages spoken, written or signed
action find
entity Fred Anderson
relation languages spoken, written or signed
type language
{'AND': [['George Traill', 'languages spoken, written or signed', {'concept': 'language'}], ['Fred Anderson', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { resource:George_Traill property:languages_spoken,_written_or_signed ?k . resource:Fred_Anderson property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q5545296,P1412,c(Q34770)), (Q5494448,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q5545296
relation P1412
action find
entity Q5494448
relation P1412
type Q34770
George Traill and Fred Anderson speak [ANSWER]
{'AND': [['Q5545296', 'P1412', {'concept': 'Q34770'}], ['Q5494448', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { resource:Q5545296 property:P1412 ?k . resource:Q5494448 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
George Traill and Fred Anderson speak English
English
action filter_type
action intersection
action find
entity George Traill
relation languages spoken, written or signed
action find
entity Fred Anderson
relation languages spoken, written or signed
type language
{'AND': [['George Traill', 'languages spoken, written or signed', {'concept': 'language'}], ['Fred Anderson', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { resource:George_Traill property:languages_spoken,_written_or_signed ?k . resource:Fred_Anderson property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1084541 Q5545296
P1412
Q34770
USER
Which languages can George Traill or Christoph August Heumann read ?
OR((Q5545296,P1412,c(Q34770)), (Q1084541,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q5545296
relation P1412
action find
entity Q1084541
relation P1412
type Q34770
{'OR': [['Q5545296', 'P1412', {'concept': 'Q34770'}], ['Q1084541', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Q5545296 ) ( resource:Q1084541 ) } . ?t property:P1412 ?c } . ?c rdf:type ontology:Q34770 }
Christoph August Heumann George Traill
action filter_type
action union
action find
entity George Traill
relation languages spoken, written or signed
action find
entity Christoph August Heumann
relation languages spoken, written or signed
type language
{'OR': [['George Traill', 'languages spoken, written or signed', {'concept': 'language'}], ['Christoph August Heumann', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:George_Traill ) ( resource:Christoph_August_Heumann ) } . ?t property:languages_spoken,_written_or_signed ?c } . ?c rdf:type ontology:language }
[]
language
Q397 Q1860
SYSTEM
Latin, English
Q397 Q1860
OR((Q5545296,P1412,c(Q34770)), (Q1084541,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q5545296
relation P1412
action find
entity Q1084541
relation P1412
type Q34770
George Traill or Christoph August Heumann can read in [ANSWERS]
{'OR': [['Q5545296', 'P1412', {'concept': 'Q34770'}], ['Q1084541', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Q5545296 ) ( resource:Q1084541 ) } . ?t property:P1412 ?c } . ?c rdf:type ontology:Q34770 }
Latin English
George Traill or Christoph August Heumann can read in Latin and English
Latin English
action filter_type
action union
action find
entity George Traill
relation languages spoken, written or signed
action find
entity Christoph August Heumann
relation languages spoken, written or signed
type language
{'OR': [['George Traill', 'languages spoken, written or signed', {'concept': 'language'}], ['Christoph August Heumann', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:George_Traill ) ( resource:Christoph_August_Heumann ) } . ?t property:languages_spoken,_written_or_signed ?c } . ?c rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1478736
P1412
Q502895
USER
Does Michel Maittaire talk in those languages ?
(Q1478736,P1412,Q397) (Q1478736,P1412,Q1860)
action is_in
entity prev_answer
action find
entity Q1478736
relation P1412
['Q1478736', 'P1412', 'Q397'] ['Q1478736', 'P1412', 'Q1860']
ASK WHERE { resource:Q1478736 property:P1412 ?p . VALUES ( ?p ) { ( resource:Q397 ) ( resource:Q1860 ) } }
Michel Maittaire
action is_in
entity prev_answer
action find
entity Michel Maittaire
relation languages spoken, written or signed
['Michel Maittaire', 'languages spoken, written or signed', 'Latin'] ['Michel Maittaire', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Michel_Maittaire property:languages_spoken,_written_or_signed ?p . VALUES ( ?p ) { ( resource:Latin ) ( resource:English ) } }
[]
common name
SYSTEM
YES
(Q1478736,P1412,Q397) (Q1478736,P1412,Q1860)
action is_in
entity prev_answer
action find
entity Q1478736
relation P1412
[ANSWER]
['Q1478736', 'P1412', 'Q397'] ['Q1478736', 'P1412', 'Q1860']
ASK WHERE { resource:Q1478736 property:P1412 ?p . VALUES ( ?p ) { ( resource:Q397 ) ( resource:Q1860 ) } }
Yes
action is_in
entity prev_answer
action find
entity Michel Maittaire
relation languages spoken, written or signed
['Michel Maittaire', 'languages spoken, written or signed', 'Latin'] ['Michel Maittaire', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Michel_Maittaire property:languages_spoken,_written_or_signed ?p . VALUES ( ?p ) { ( resource:Latin ) ( resource:English ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages use exactly 1 notations or writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?a ) WHERE { { ?k property:P282 ?v . ?k rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?v . ?v rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?a = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?a ) WHERE { { ?k property:writing_system ?v . ?k rdf:type ontology:language . ?v rdf:type ontology:notation } UNION { ?k property:writing_system ?v . ?v rdf:type ontology:writing_system . ?k rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?a = 1 ) }
[]
notation writing system language
SYSTEM
7
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?a ) WHERE { { ?k property:P282 ?v . ?k rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?v . ?v rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?a = 1 ) }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
7
action count
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?a ) WHERE { { ?k property:writing_system ?v . ?k rdf:type ontology:language . ?v rdf:type ontology:notation } UNION { ?k property:writing_system ?v . ?v rdf:type ontology:writing_system . ?k rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?a = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q25164
P364
Q34770 Q2342494 Q838948
USER
How many languages are the original languages of creation of lesser number of collectables and works of art than Nynorsk ?
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q25164
relation P364
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?l WHERE { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P364 resource:Q25164 . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?n < ?r ) }
Nynorsk
action count
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action count
action filter_multi_types
action find_reverse
entity Nynorsk
relation original language of work
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?l WHERE { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:original_language_of_work resource:Nynorsk . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?n < ?r ) }
[]
language collectable work of art
SYSTEM
20
Q132659 Q13414913 Q13211 Q35499 Q35668 Q1072111 Q34909 Q36765 Q18130932 Q35726 Q36206 Q33976 Q10862919 Q35505 Q56530 Q36790 Q29977 Q182695 Q837985 Q783605
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q25164
relation P364
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?l WHERE { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P364 resource:Q25164 . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?n < ?r ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Galician-Portuguese Old Icelandic Demotic Traditional Chinese Etruscan Lak Sardinian language Tibetan language Old Norse language Wappo language Sumerian Gaulish Late Old Japanese Middle High German Written vernacular Chinese
20
action count
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action count
action filter_multi_types
action find_reverse
entity Nynorsk
relation original language of work
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?l WHERE { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:original_language_of_work resource:Nynorsk . { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?n < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q783605
P364
Q34770 Q2342494 Q838948
USER
And also tell me about Written vernacular Chinese?
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q783605
relation P364
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?r WHERE { { ?r rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2342494 . ?g property:P364 ?r } UNION { ?g property:P364 ?r . ?g rdf:type ontology:Q838948 . ?r rdf:type ontology:Q34770 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P364 resource:Q783605 } } . FILTER ( ?j < ?u ) }
Written vernacular Chinese
action count
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action count
action filter_multi_types
action find_reverse
entity Written vernacular Chinese
relation original language of work
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?r WHERE { { ?r rdf:type ontology:language . ?g rdf:type ontology:collectable . ?g property:original_language_of_work ?r } UNION { ?g property:original_language_of_work ?r . ?g rdf:type ontology:work_of_art . ?r rdf:type ontology:language } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:original_language_of_work resource:Written_vernacular_Chinese } } . FILTER ( ?j < ?u ) }
[]
language collectable work of art
SYSTEM
14
Q132659 Q13211 Q35668 Q1072111 Q34909 Q36765 Q35726 Q36206 Q33976 Q56530 Q36790 Q29977 Q182695 Q837985
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q783605
relation P364
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?r WHERE { { ?r rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2342494 . ?g property:P364 ?r } UNION { ?g property:P364 ?r . ?g rdf:type ontology:Q838948 . ?r rdf:type ontology:Q34770 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q838948 } } . ?s property:P364 resource:Q783605 } } . FILTER ( ?j < ?u ) }
Egyptian hieroglyphs Ruthenian Hittite Galician-Portuguese Old Icelandic Demotic Etruscan Lak Sardinian language Wappo language Sumerian Gaulish Late Old Japanese Middle High German
14
action count
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action count
action filter_multi_types
action find_reverse
entity Written vernacular Chinese
relation original language of work
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?r WHERE { { ?r rdf:type ontology:language . ?g rdf:type ontology:collectable . ?g property:original_language_of_work ?r } UNION { ?g property:original_language_of_work ?r . ?g rdf:type ontology:work_of_art . ?r rdf:type ontology:language } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:work_of_art } } . ?s property:original_language_of_work resource:Written_vernacular_Chinese } } . FILTER ( ?j < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q319239
P17
Q15617994
USER
Which administrative territory is Tel Aviv University a part of ?
(Q319239,P17,c(Q15617994))
action filter_type
action find
entity Q319239
relation P17
type Q15617994
['Q319239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q319239 property:P17 ?b }
Tel Aviv University
action filter_type
action find
entity Tel Aviv University
relation country
type designation for an administrative territorial entity
['Tel Aviv University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tel_Aviv_University property:country ?b }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q319239,P17,c(Q15617994))
action filter_type
action find
entity Q319239
relation P17
type Q15617994
[ANSWER] is Tel Aviv University a part of
['Q319239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q319239 property:P17 ?b }
Israel
Israel is Tel Aviv University a part of
Israel
action filter_type
action find
entity Tel Aviv University
relation country
type designation for an administrative territorial entity
['Tel Aviv University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tel_Aviv_University property:country ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q2031291
USER
Which administrative territories did around the same number of collectables and releases originate as that administrative territory ?
(c(Q2342494)|c(Q2031291),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q801
relation P495
type Q2342494
type Q2031291
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?d WHERE { { ?b property:P495 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q2031291 . ?d rdf:type ontology:Q15617994 . ?b property:P495 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P495 resource:Q801 . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?i = ?t ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Israel
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?d WHERE { { ?b property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:release . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country_of_origin ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:country_of_origin resource:Israel . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:release ) } } } } . FILTER ( ?i = ?t ) }
[]
designation for an administrative territorial entity collectable release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q2031291),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q801
relation P495
type Q2342494
type Q2031291
[ANSWERS] around the same number of collectables and releases originated as that administrative territory
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?d WHERE { { ?b property:P495 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q2031291 . ?d rdf:type ontology:Q15617994 . ?b property:P495 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P495 resource:Q801 . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?i = ?t ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia around the same number of collectables and releases originated as that administrative territory
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Israel
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?d WHERE { { ?b property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:release . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country_of_origin ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:country_of_origin resource:Israel . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:release ) } } } } . FILTER ( ?i = ?t ) }
[]