Simple Question (Direct)
Simple Question
Q3371889
P1412
Q34770
USER
Which language is Paul Murray Kendall capable of writing ?
(Q3371889,P1412,c(Q34770))
action filter_type
action find
entity Q3371889
relation P1412
type Q34770
['Q3371889', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q3371889 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Paul Murray Kendall
action filter_type
action find
entity Paul Murray Kendall
relation languages spoken, written or signed
type language
['Paul Murray Kendall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Paul_Murray_Kendall property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3371889,P1412,c(Q34770))
action filter_type
action find
entity Q3371889
relation P1412
type Q34770
[ANSWER] is Paul Murray Kendall capable of writing
['Q3371889', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q3371889 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
English is Paul Murray Kendall capable of writing
English
action filter_type
action find
entity Paul Murray Kendall
relation languages spoken, written or signed
type language
['Paul Murray Kendall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Paul_Murray_Kendall property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3371889
P69
Q3918
USER
Where was that person educated ?
(Q1860,P69,c(Q3918))
action filter_type
action find
entity Q3371889
relation P69
type Q3918
['Q1860', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q3371889 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Paul Murray Kendall
action filter_type
action find
entity Paul Murray Kendall
relation educated at
type university
['English', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Murray_Kendall property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q213439
SYSTEM
University of Virginia
Q213439
(Q1860,P69,c(Q3918))
action filter_type
action find
entity Q3371889
relation P69
type Q3918
Educated that person was the [ANSWER]
['Q1860', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q3371889 property:P69 ?n . ?n rdf:type ontology:Q3918 }
University of Virginia
Educated that person was the University of Virginia
University of Virginia
action filter_type
action find
entity Paul Murray Kendall
relation educated at
type university
['English', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Murray_Kendall property:educated_at ?n . ?n rdf:type ontology:university }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36790
P282
Q9779 Q2001982 Q34770
USER
Which languages adopt lesser number of alphabets or notations as the writing system than Sumerian ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q36790 property:P282 ?j . { ?j rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?e } }
Sumerian
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Sumerian property:writing_system ?j . { ?j rdf:type ?l . VALUES ( ?l ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?e } }
[]
alphabet notation 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(Q9779)|c(Q2001982))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q9779
type Q2001982
[ANSWERS] adopt lesser number of alphabets or notations as the writing system than Sumerian
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q36790 property:P282 ?j . { ?j rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?e } }
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 adopt lesser number of alphabets or notations as the writing system than Sumerian
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Sumerian property:writing_system ?j . { ?j rdf:type ?l . VALUES ( ?l ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6767799 Q3371889
P106
Q12737077
USER
Which occupations are the job of Paul Murray Kendall or Mark Gravas ?
OR((Q3371889,P106,c(Q12737077)), (Q6767799,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3371889
relation P106
action find
entity Q6767799
relation P106
type Q12737077
{'OR': [['Q3371889', 'P106', {'concept': 'Q12737077'}], ['Q6767799', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . { { resource:Q3371889 property:P106 ?o } UNION { resource:Q6767799 property:P106 ?o } } }
Mark Gravas Paul Murray Kendall
action filter_type
action union
action find
entity Paul Murray Kendall
relation occupation
action find
entity Mark Gravas
relation occupation
type occupation
{'OR': [['Paul Murray Kendall', 'occupation', {'concept': 'occupation'}], ['Mark Gravas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . { { resource:Paul_Murray_Kendall property:occupation ?o } UNION { resource:Mark_Gravas property:occupation ?o } } }
[]
occupation
Q201788 Q266569 Q36180
SYSTEM
historian, animator, writer
Q201788 Q266569 Q36180
OR((Q3371889,P106,c(Q12737077)), (Q6767799,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3371889
relation P106
action find
entity Q6767799
relation P106
type Q12737077
The [ANSWERS] are the job of Paul Murray Kendall or Mark Gravas
{'OR': [['Q3371889', 'P106', {'concept': 'Q12737077'}], ['Q6767799', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . { { resource:Q3371889 property:P106 ?o } UNION { resource:Q6767799 property:P106 ?o } } }
historian animator writer
The historian, animator and writer are the job of Paul Murray Kendall or Mark Gravas
historian animator writer
action filter_type
action union
action find
entity Paul Murray Kendall
relation occupation
action find
entity Mark Gravas
relation occupation
type occupation
{'OR': [['Paul Murray Kendall', 'occupation', {'concept': 'occupation'}], ['Mark Gravas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . { { resource:Paul_Murray_Kendall property:occupation ?o } UNION { resource:Mark_Gravas property:occupation ?o } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q833623 Q3371889
P106
Q12737077
USER
Which occupations are the job of Paul Murray Kendall and Bohuslav Tablic ?
AND((Q3371889,P106,c(Q12737077)), (Q833623,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3371889
relation P106
action find
entity Q833623
relation P106
type Q12737077
{'AND': [['Q3371889', 'P106', {'concept': 'Q12737077'}], ['Q833623', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q3371889 property:P106 ?c . resource:Q833623 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Bohuslav Tablic Paul Murray Kendall
action filter_type
action intersection
action find
entity Paul Murray Kendall
relation occupation
action find
entity Bohuslav Tablic
relation occupation
type occupation
{'AND': [['Paul Murray Kendall', 'occupation', {'concept': 'occupation'}], ['Bohuslav Tablic', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Paul_Murray_Kendall property:occupation ?c . resource:Bohuslav_Tablic property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
AND((Q3371889,P106,c(Q12737077)), (Q833623,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3371889
relation P106
action find
entity Q833623
relation P106
type Q12737077
The [ANSWER] is the job of Paul Murray Kendall and Bohuslav Tablic
{'AND': [['Q3371889', 'P106', {'concept': 'Q12737077'}], ['Q833623', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q3371889 property:P106 ?c . resource:Q833623 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
historian
The historian is the job of Paul Murray Kendall and Bohuslav Tablic
historian
action filter_type
action intersection
action find
entity Paul Murray Kendall
relation occupation
action find
entity Bohuslav Tablic
relation occupation
type occupation
{'AND': [['Paul Murray Kendall', 'occupation', {'concept': 'occupation'}], ['Bohuslav Tablic', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Paul_Murray_Kendall property:occupation ?c . resource:Bohuslav_Tablic property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q1002697 Q82799
USER
Which languages are max number of periodical literatures and names in ?
(c(Q1002697)|c(Q82799),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[[{'concept': 'Q1002697'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?h = ?t ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?f WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1002697 ) ( ontology:Q82799 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?a WHERE { { ?a rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 . ?s property:P407 ?a } UNION { ?s property:P407 ?a . ?a rdf:type ontology:Q34770 . ?s rdf:type ontology:Q1002697 } } GROUP BY ?a } } }
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[[{'concept': 'periodical literature'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?h = ?t ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?f WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:periodical_literature ) ( ontology:name ) } } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?a WHERE { { ?a rdf:type ontology:language . ?s rdf:type ontology:name . ?s property:language_of_work_or_name ?a } UNION { ?s property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?s rdf:type ontology:periodical_literature } } GROUP BY ?a } } }
[]
language periodical literature name
Q1860
SYSTEM
English
Q1860
(c(Q1002697)|c(Q82799),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWER] is max number of periodical literatures and names in
[[{'concept': 'Q1002697'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?h = ?t ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?f WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1002697 ) ( ontology:Q82799 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?a WHERE { { ?a rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 . ?s property:P407 ?a } UNION { ?s property:P407 ?a . ?a rdf:type ontology:Q34770 . ?s rdf:type ontology:Q1002697 } } GROUP BY ?a } } }
English
English is max number of periodical literatures and names in
English
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[[{'concept': 'periodical literature'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?h = ?t ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?f WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:periodical_literature ) ( ontology:name ) } } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?a WHERE { { ?a rdf:type ontology:language . ?s rdf:type ontology:name . ?s property:language_of_work_or_name ?a } UNION { ?s property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?s rdf:type ontology:periodical_literature } } GROUP BY ?a } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1346342 Q6675326
P361
Q5962346
USER
Is that language a part of Anglic languages and Echo II class submarine ?
(Q1860,P361,Q1346342) (Q1860,P361,Q6675326)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q6675326
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q6675326']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q6675326 }
English Anglic languages Echo II class submarine
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Echo II class submarine
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Echo II class submarine']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Echo_II_class_submarine }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q6675326)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q6675326
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q6675326']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q6675326 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Echo II class submarine
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Echo II class submarine']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Echo_II_class_submarine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213439 Q11812 Q12059353
P112
Q502895
USER
Was University of Virginia established by Thomas Jefferson and Tomáš Zelenka ?
(Q213439,P112,Q11812) (Q213439,P112,Q12059353)
action is_in
entity Q213439
action intersection
action find_reverse
entity Q11812
relation P112
action find_reverse
entity Q12059353
relation P112
['Q213439', 'P112', 'Q11812'] ['Q213439', 'P112', 'Q12059353']
ASK WHERE { resource:Q213439 property:P112 resource:Q11812 . resource:Q213439 property:P112 resource:Q12059353 }
University of Virginia Thomas Jefferson Tomáš Zelenka
action is_in
entity University of Virginia
action intersection
action find_reverse
entity Thomas Jefferson
relation founder
action find_reverse
entity Tomáš Zelenka
relation founder
['University of Virginia', 'founder', 'Thomas Jefferson'] ['University of Virginia', 'founder', 'Tomáš Zelenka']
ASK WHERE { resource:University_of_Virginia property:founder resource:Thomas_Jefferson . resource:University_of_Virginia property:founder resource:Tomáš_Zelenka }
[]
common name
SYSTEM
YES and NO respectively
(Q213439,P112,Q11812) (Q213439,P112,Q12059353)
action is_in
entity Q213439
action intersection
action find_reverse
entity Q11812
relation P112
action find_reverse
entity Q12059353
relation P112
[ANSWER]
['Q213439', 'P112', 'Q11812'] ['Q213439', 'P112', 'Q12059353']
ASK WHERE { resource:Q213439 property:P112 resource:Q11812 . resource:Q213439 property:P112 resource:Q12059353 }
YES and NO respectively
action is_in
entity University of Virginia
action intersection
action find_reverse
entity Thomas Jefferson
relation founder
action find_reverse
entity Tomáš Zelenka
relation founder
['University of Virginia', 'founder', 'Thomas Jefferson'] ['University of Virginia', 'founder', 'Tomáš Zelenka']
ASK WHERE { resource:University_of_Virginia property:founder resource:Thomas_Jefferson . resource:University_of_Virginia property:founder resource:Tomáš_Zelenka }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1114448
P921
Q12737077 Q191067 Q2342494
USER
Which occupations were discussed in more number of articles and collectables than cartoonist ?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1114448
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?r rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P921 resource:Q1114448 . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } } } . FILTER ( ?n > ?e ) }
cartoonist
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity cartoonist
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?d ) { ( ontology:article ) ( ontology:collectable ) } . ?r rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:main_subject resource:cartoonist . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:article ) } } } } . FILTER ( ?n > ?e ) }
[]
occupation article collectable
Q316070 Q182436 Q42973
SYSTEM
Fletcher Christian, librarian, architect
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1114448
relation P921
type Q191067
type Q2342494
[ANSWERS] were discussed in more number of articles and collectables than cartoonist
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?r rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P921 resource:Q1114448 . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } } } . FILTER ( ?n > ?e ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
Fletcher Christian, librarian and architect were discussed in more number of articles and collectables than cartoonist
Fletcher Christian librarian architect
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity cartoonist
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?d ) { ( ontology:article ) ( ontology:collectable ) } . ?r rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:main_subject resource:cartoonist . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:article ) } } } } . FILTER ( ?n > ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q2031291 Q82799
USER
Which languages are approximately 1780 releases and names composed in ?
(c(Q2031291)|c(Q82799),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1780
[[{'concept': 'Q2031291'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = 1780 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:P407 ?d . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2031291 } UNION { ?x property:P407 ?d . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } } GROUP BY ?d } }
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1780
[[{'concept': 'release'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = 1780 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?x rdf:type ontology:release } UNION { ?x property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?x rdf:type ontology:name } } GROUP BY ?d } }
[]
language release name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291)|c(Q82799),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1780
[ANSWERS] are approximately 1780 releases and names composed in
[[{'concept': 'Q2031291'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = 1780 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:P407 ?d . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2031291 } UNION { ?x property:P407 ?d . ?d rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } } GROUP BY ?d } }
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 approximately 1780 releases and names composed in
Old Egyptian Old Church Slavonic Etruscan
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1780
[[{'concept': 'release'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = 1780 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?x rdf:type ontology:release } UNION { ?x property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?x rdf:type ontology:name } } GROUP BY ?d } }
[]