Simple Question (Direct)
Simple Question
Q8016202
P39
Q12737077
USER
What was the position held by William Nunn ?
(Q8016202,P39,c(Q12737077))
action filter_type
action find
entity Q8016202
relation P39
type Q12737077
['Q8016202', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q8016202 property:P39 ?d }
William Nunn
action filter_type
action find
entity William Nunn
relation position held
type occupation
['William Nunn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:William_Nunn property:position_held ?d }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q8016202,P39,c(Q12737077))
action filter_type
action find
entity Q8016202
relation P39
type Q12737077
The position held by William Nunn was a [ANSWER]
['Q8016202', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q8016202 property:P39 ?d }
Member of Parliament in the United Kingdom
The position held by William Nunn was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity William Nunn
relation position held
type occupation
['William Nunn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:William_Nunn property:position_held ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8016202
P1412
Q34770
USER
Which language does that person speak in ?
(Q16707842,P1412,c(Q34770))
action filter_type
action find
entity Q8016202
relation P1412
type Q34770
['Q16707842', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q8016202 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
William Nunn
action filter_type
action find
entity William Nunn
relation languages spoken, written or signed
type language
['Member of Parliament in the United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:William_Nunn property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16707842,P1412,c(Q34770))
action filter_type
action find
entity Q8016202
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q16707842', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q8016202 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity William Nunn
relation languages spoken, written or signed
type language
['Member of Parliament in the United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:William_Nunn property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8016202
P102
Q7210356
USER
Which party does that person belong to ?
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q8016202
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q8016202 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
William Nunn
action filter_type
action find
entity William Nunn
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:William_Nunn property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q8016202
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q8016202 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Conservative Party
That person belongs to Conservative Party
Conservative Party
action filter_type
action find
entity William Nunn
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:William_Nunn property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q9056
P364
Q34770 Q201658 Q15416
USER
Which languages are the original languages of creation of approximately the same number of film genres or television programs as Czech ?
(c(Q201658)|c(Q15416),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P364
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?c WHERE { { ?z property:P364 ?c . ?z rdf:type ontology:Q201658 . ?c rdf:type ontology:Q34770 } UNION { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q15416 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { { ?a rdf:type ontology:Q201658 } UNION { ?a rdf:type ontology:Q15416 } } . ?a property:P364 resource:Q9056 } } . FILTER ( ?h = ?p ) }
Czech
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action count
action filter_multi_types
action find_reverse
entity Czech
relation original language of work
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?c WHERE { { ?z property:original_language_of_work ?c . ?z rdf:type ontology:film_genre . ?c rdf:type ontology:language } UNION { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:television_program } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { { ?a rdf:type ontology:film_genre } UNION { ?a rdf:type ontology:television_program } } . ?a property:original_language_of_work resource:Czech } } . FILTER ( ?h = ?p ) }
[]
language film genre television program
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q201658)|c(Q15416),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P364
type Q201658
type Q15416
[ANSWERS] are the original languages of creation of approximately the same number of film genres or television programs as Czech
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?c WHERE { { ?z property:P364 ?c . ?z rdf:type ontology:Q201658 . ?c rdf:type ontology:Q34770 } UNION { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q15416 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { { ?a rdf:type ontology:Q201658 } UNION { ?a rdf:type ontology:Q15416 } } . ?a property:P364 resource:Q9056 } } . FILTER ( ?h = ?p ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language, Late Old Japanese and Old Church Slavonic are the original languages of creation of approximately the same number of film genres or television programs as Czech
Wappo language Late Old Japanese Old Church Slavonic
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action count
action filter_multi_types
action find_reverse
entity Czech
relation original language of work
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?c WHERE { { ?z property:original_language_of_work ?c . ?z rdf:type ontology:film_genre . ?c rdf:type ontology:language } UNION { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:television_program } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { { ?a rdf:type ontology:film_genre } UNION { ?a rdf:type ontology:television_program } } . ?a property:original_language_of_work resource:Czech } } . FILTER ( ?h = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3110592
P364
Q34770 Q201658 Q15416
USER
And how about written Chinese?
(c(Q201658)|c(Q15416),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3110592
relation P364
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P364 ?n . ?n rdf:type ontology:Q34770 . ?o rdf:type ontology:Q201658 } UNION { ?n rdf:type ontology:Q34770 . ?o rdf:type ontology:Q15416 . ?o property:P364 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:P364 resource:Q3110592 . { { ?z rdf:type ontology:Q201658 } UNION { ?z rdf:type ontology:Q15416 } } } } . FILTER ( ?r = ?k ) }
written Chinese
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action count
action filter_multi_types
action find_reverse
entity written Chinese
relation original language of work
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:original_language_of_work ?n . ?n rdf:type ontology:language . ?o rdf:type ontology:film_genre } UNION { ?n rdf:type ontology:language . ?o rdf:type ontology:television_program . ?o property:original_language_of_work ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:original_language_of_work resource:written_Chinese . { { ?z rdf:type ontology:film_genre } UNION { ?z rdf:type ontology:television_program } } } } . FILTER ( ?r = ?k ) }
[]
language film genre television program
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q201658)|c(Q15416),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3110592
relation P364
type Q201658
type Q15416
[ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P364 ?n . ?n rdf:type ontology:Q34770 . ?o rdf:type ontology:Q201658 } UNION { ?n rdf:type ontology:Q34770 . ?o rdf:type ontology:Q15416 . ?o property:P364 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:P364 resource:Q3110592 . { { ?z rdf:type ontology:Q201658 } UNION { ?z rdf:type ontology:Q15416 } } } } . FILTER ( ?r = ?k ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language Late Old Japanese Old Church Slavonic
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action count
action filter_multi_types
action find_reverse
entity written Chinese
relation original language of work
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:original_language_of_work ?n . ?n rdf:type ontology:language . ?o rdf:type ontology:film_genre } UNION { ?n rdf:type ontology:language . ?o rdf:type ontology:television_program . ?o property:original_language_of_work ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:original_language_of_work resource:written_Chinese . { { ?z rdf:type ontology:film_genre } UNION { ?z rdf:type ontology:television_program } } } } . FILTER ( ?r = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1860
P282
Q8192 Q2001982 Q34770
USER
How many languages are more number of writing systems or notations the writing system of than English ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q1860 property:P282 ?n . { { ?n rdf:type ontology:Q8192 } UNION { ?n rdf:type ontology:Q2001982 } } } } . FILTER ( ?o > ?u ) }
English
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:English property:writing_system ?n . { { ?n rdf:type ontology:writing_system } UNION { ?n rdf:type ontology:notation } } } } . FILTER ( ?o > ?u ) }
[]
writing system notation language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q1860 property:P282 ?n . { { ?n rdf:type ontology:Q8192 } UNION { ?n rdf:type ontology:Q2001982 } } } } . FILTER ( ?o > ?u ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:English property:writing_system ?n . { { ?n rdf:type ontology:writing_system } UNION { ?n rdf:type ontology:notation } } } } . FILTER ( ?o > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q149838
P282
Q8192 Q2001982 Q34770
USER
And how about Old Polish?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q149838
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?n WHERE { VALUES ( ?o ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?c rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q149838 property:P282 ?i . { { ?i rdf:type ontology:Q8192 } UNION { ?i rdf:type ontology:Q2001982 } } } } . FILTER ( ?g > ?t ) }
Old Polish
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Old Polish
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?n WHERE { VALUES ( ?o ) { ( ontology:writing_system ) ( ontology:notation ) } . ?c rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Old_Polish property:writing_system ?i . { { ?i rdf:type ontology:writing_system } UNION { ?i rdf:type ontology:notation } } } } . FILTER ( ?g > ?t ) }
[]
writing system notation language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q149838
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?n WHERE { VALUES ( ?o ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?c rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q149838 property:P282 ?i . { { ?i rdf:type ontology:Q8192 } UNION { ?i rdf:type ontology:Q2001982 } } } } . FILTER ( ?g > ?t ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Old Polish
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?n WHERE { VALUES ( ?o ) { ( ontology:writing_system ) ( ontology:notation ) } . ?c rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Old_Polish property:writing_system ?i . { { ?i rdf:type ontology:writing_system } UNION { ?i rdf:type ontology:notation } } } } . FILTER ( ?g > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1026296
P37
Q34770 Q56061
USER
How many administrative territories are lesser number of languages associated to as the official language than Jinotega ?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q1026296
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?q ) WHERE { ?d property:P37 ?p . ?d rdf:type ontology:Q56061 . ?p rdf:type ontology:Q34770 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1026296 property:P37 ?e . ?e rdf:type ontology:Q34770 } } . FILTER ( ?q < ?z ) }
Jinotega
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Jinotega
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?q ) WHERE { ?d property:official_language ?p . ?d rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:language } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Jinotega property:official_language ?e . ?e rdf:type ontology:language } } . FILTER ( ?q < ?z ) }
[]
language administrative territorial entity
SYSTEM
148
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q1026296
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?q ) WHERE { ?d property:P37 ?p . ?d rdf:type ontology:Q56061 . ?p rdf:type ontology:Q34770 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1026296 property:P37 ?e . ?e rdf:type ontology:Q34770 } } . FILTER ( ?q < ?z ) }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
148
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Jinotega
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?q ) WHERE { ?d property:official_language ?p . ?d rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:language } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Jinotega property:official_language ?e . ?e rdf:type ontology:language } } . FILTER ( ?q < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q67130
P37
Q34770 Q56061
USER
And what about Riva San Vitale?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q67130
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?d ) WHERE { ?g rdf:type ontology:Q56061 . ?k rdf:type ontology:Q34770 . ?g property:P37 ?k } GROUP BY ?g } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q67130 property:P37 ?w . ?w rdf:type ontology:Q34770 } } }
Riva San Vitale
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Riva San Vitale
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?d ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:language . ?g property:official_language ?k } GROUP BY ?g } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Riva_San_Vitale property:official_language ?w . ?w rdf:type ontology:language } } }
[]
language administrative territorial entity
SYSTEM
148
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q67130
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?d ) WHERE { ?g rdf:type ontology:Q56061 . ?k rdf:type ontology:Q34770 . ?g property:P37 ?k } GROUP BY ?g } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q67130 property:P37 ?w . ?w rdf:type ontology:Q34770 } } }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
148
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Riva San Vitale
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?d ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:language . ?g property:official_language ?k } GROUP BY ?g } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Riva_San_Vitale property:official_language ?w . ?w rdf:type ontology:language } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q191067
USER
Which occupations were the main subjects of exactly 1 publications and articles 's work ?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?y rdf:type ?w } GROUP BY ?s } . FILTER ( ?d = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:article ) ( ontology:publication ) } . ?y rdf:type ?w } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
occupation publication article
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were the main subjects of exactly 1 publications and articles 's work
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?y rdf:type ?w } GROUP BY ?s } . FILTER ( ?d = 1 ) }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian, librarian and Wikipedian in Residence were the main subjects of exactly 1 publications and articles 's work
Fletcher Christian librarian Wikipedian in Residence
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:article ) ( ontology:publication ) } . ?y rdf:type ?w } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]