Simple Question (Direct)
Simple Question
Q6117237
P69
Q163740
USER
Which nonprofit organization is the alma mater of Jackson Mac Low ?
(Q6117237,P69,c(Q163740))
action filter_type
action find
entity Q6117237
relation P69
type Q163740
['Q6117237', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q6117237 property:P69 ?m . ?m rdf:type ontology:Q163740 }
Jackson Mac Low
action filter_type
action find
entity Jackson Mac Low
relation educated at
type nonprofit organization
['Jackson Mac Low', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Jackson_Mac_Low property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q131252
SYSTEM
University of Chicago
Q131252
(Q6117237,P69,c(Q163740))
action filter_type
action find
entity Q6117237
relation P69
type Q163740
[ANSWER]
['Q6117237', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q6117237 property:P69 ?m . ?m rdf:type ontology:Q163740 }
University of Chicago
University of Chicago
action filter_type
action find
entity Jackson Mac Low
relation educated at
type nonprofit organization
['Jackson Mac Low', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Jackson_Mac_Low property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6117237
P1412
Q34770
USER
Which language can Jackson Mac Low read ?
(Q6117237,P1412,c(Q34770))
action filter_type
action find
entity Q6117237
relation P1412
type Q34770
['Q6117237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6117237 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Jackson Mac Low
action filter_type
action find
entity Jackson Mac Low
relation languages spoken, written or signed
type language
['Jackson Mac Low', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Jackson_Mac_Low property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6117237,P1412,c(Q34770))
action filter_type
action find
entity Q6117237
relation P1412
type Q34770
[ANSWER]
['Q6117237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6117237 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Jackson Mac Low
relation languages spoken, written or signed
type language
['Jackson Mac Low', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Jackson_Mac_Low property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
How many administrative territories designates around 4 languages as their official language ?
(c(Q56061),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q56061 . ?z property:P37 ?y } GROUP BY ?z } . FILTER ( ?j = 4 ) }
action count
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:language . ?z rdf:type ontology:administrative_territorial_entity . ?z property:official_language ?y } GROUP BY ?z } . FILTER ( ?j = 4 ) }
[]
language administrative territorial entity
SYSTEM
1
Q458
(c(Q56061),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q56061 . ?z property:P37 ?y } GROUP BY ?z } . FILTER ( ?j = 4 ) }
European Union
1
action count
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:language . ?z rdf:type ontology:administrative_territorial_entity . ?z property:official_language ?y } GROUP BY ?z } . FILTER ( ?j = 4 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36751
P282
Q2001982 Q8192 Q34770
USER
Which languages use less number of notations and writing systems as the writing system than Phrygian language ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q36751 property:P282 ?b . { { ?b rdf:type ontology:Q8192 } UNION { ?b rdf:type ontology:Q2001982 } } } } . FILTER ( ?i < ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?h WHERE { { ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 . ?h property:P282 ?r } UNION { ?h property:P282 ?r . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } } GROUP BY ?h } }
Phrygian language
action less
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
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Phrygian_language property:writing_system ?b . { { ?b rdf:type ontology:writing_system } UNION { ?b rdf:type ontology:notation } } } } . FILTER ( ?i < ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?h WHERE { { ?h rdf:type ontology:language . ?r rdf:type ontology:notation . ?h property:writing_system ?r } UNION { ?h property:writing_system ?r . ?h rdf:type ontology:language . ?r rdf:type ontology:writing_system } } GROUP BY ?h } }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q36751 property:P282 ?b . { { ?b rdf:type ontology:Q8192 } UNION { ?b rdf:type ontology:Q2001982 } } } } . FILTER ( ?i < ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?h WHERE { { ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 . ?h property:P282 ?r } UNION { ?h property:P282 ?r . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } } GROUP BY ?h } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian 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 Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English Old Egyptian Norn
action less
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
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Phrygian_language property:writing_system ?b . { { ?b rdf:type ontology:writing_system } UNION { ?b rdf:type ontology:notation } } } } . FILTER ( ?i < ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?h WHERE { { ?h rdf:type ontology:language . ?r rdf:type ontology:notation . ?h property:writing_system ?r } UNION { ?h property:writing_system ?r . ?h rdf:type ontology:language . ?r rdf:type ontology:writing_system } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20972034
P282
Q2001982 Q8192 Q34770
USER
And how about Classic Greek?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?c WHERE { { ?c property:P282 ?d . ?c rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 } UNION { ?c property:P282 ?d . ?d rdf:type ontology:Q8192 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q20972034 property:P282 ?y . { { ?y rdf:type ontology:Q8192 } UNION { ?y rdf:type ontology:Q2001982 } } } } . FILTER ( ?f < ?l ) }
Classic Greek
action less
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
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?c WHERE { { ?c property:writing_system ?d . ?c rdf:type ontology:language . ?d rdf:type ontology:notation } UNION { ?c property:writing_system ?d . ?d rdf:type ontology:writing_system . ?c rdf:type ontology:language } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Classic_Greek property:writing_system ?y . { { ?y rdf:type ontology:writing_system } UNION { ?y rdf:type ontology:notation } } } } . FILTER ( ?f < ?l ) }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?c WHERE { { ?c property:P282 ?d . ?c rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 } UNION { ?c property:P282 ?d . ?d rdf:type ontology:Q8192 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q20972034 property:P282 ?y . { { ?y rdf:type ontology:Q8192 } UNION { ?y rdf:type ontology:Q2001982 } } } } . FILTER ( ?f < ?l ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian 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 Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English Old Egyptian Norn
action less
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
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?c WHERE { { ?c property:writing_system ?d . ?c rdf:type ontology:language . ?d rdf:type ontology:notation } UNION { ?c property:writing_system ?d . ?d rdf:type ontology:writing_system . ?c rdf:type ontology:language } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Classic_Greek property:writing_system ?y . { { ?y rdf:type ontology:writing_system } UNION { ?y rdf:type ontology:notation } } } } . FILTER ( ?f < ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447117
P407
Q234460
USER
Which text was done in Old Egyptian language ?
(c(Q234460),P407,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P407
type Q234460
[{'concept': 'Q234460'}, 'P407', 'Q447117']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P407 resource:Q447117 }
Old Egyptian
action filter_type
action find_reverse
entity Old Egyptian
relation language of work or name
type text
[{'concept': 'text'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:language_of_work_or_name resource:Old_Egyptian }
[]
text
Q14541222
SYSTEM
Book of the Dead of Nehem-es-Rataui
Q14541222
(c(Q234460),P407,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P407
type Q234460
[ANSWER]
[{'concept': 'Q234460'}, 'P407', 'Q447117']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P407 resource:Q447117 }
Book of the Dead of Nehem-es-Rataui
Book of the Dead of Nehem-es-Rataui
action filter_type
action find_reverse
entity Old Egyptian
relation language of work or name
type text
[{'concept': 'text'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:language_of_work_or_name resource:Old_Egyptian }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14541222
P195
Q1792387
USER
Which Kunstgewerbe museum includes that text in it ?
(Q14541222,P195,c(Q1792387))
action filter_type
action find
entity Q14541222
relation P195
type Q1792387
['Q14541222', 'P195', {'concept': 'Q1792387'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1792387 . resource:Q14541222 property:P195 ?e }
Book of the Dead of Nehem-es-Rataui
action filter_type
action find
entity Book of the Dead of Nehem-es-Rataui
relation collection
type Kunstgewerbemuseum
['Book of the Dead of Nehem-es-Rataui', 'collection', {'concept': 'Kunstgewerbemuseum'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Kunstgewerbemuseum . resource:Book_of_the_Dead_of_Nehem-es-Rataui property:collection ?e }
[]
Kunstgewerbemuseum
Q457671
SYSTEM
Museum August Kestner
Q457671
(Q14541222,P195,c(Q1792387))
action filter_type
action find
entity Q14541222
relation P195
type Q1792387
[ANSWER]
['Q14541222', 'P195', {'concept': 'Q1792387'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1792387 . resource:Q14541222 property:P195 ?e }
Museum August Kestner
Museum August Kestner
action filter_type
action find
entity Book of the Dead of Nehem-es-Rataui
relation collection
type Kunstgewerbemuseum
['Book of the Dead of Nehem-es-Rataui', 'collection', {'concept': 'Kunstgewerbemuseum'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Kunstgewerbemuseum . resource:Book_of_the_Dead_of_Nehem-es-Rataui property:collection ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q944070
P186
Q8063 Q234460
USER
How many rocks are used to construct more number of texts than artificial stone ?
(c(Q234460),P186,c(Q8063))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
action count
action filter_type
action find
entity Q944070
relation P186
type Q8063
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:Q8063 . ?g rdf:type ontology:Q234460 . ?g property:P186 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q944070 property:P186 ?a . ?a rdf:type ontology:Q8063 } } . FILTER ( ?s > ?c ) }
artificial stone
action count
action greater
action find_reverse_tuple_counts
relation material used
type rock
type text
action count
action filter_type
action find
entity artificial stone
relation material used
type rock
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:rock . ?g rdf:type ontology:text . ?g property:material_used ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:artificial_stone property:material_used ?a . ?a rdf:type ontology:rock } } . FILTER ( ?s > ?c ) }
[]
rock text
SYSTEM
4
Q43338 Q40861 Q207079 Q23757
(c(Q234460),P186,c(Q8063))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
action count
action filter_type
action find
entity Q944070
relation P186
type Q8063
[ANSWER]
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:Q8063 . ?g rdf:type ontology:Q234460 . ?g property:P186 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q944070 property:P186 ?a . ?a rdf:type ontology:Q8063 } } . FILTER ( ?s > ?c ) }
basalt marble slate limestone
4
action count
action greater
action find_reverse_tuple_counts
relation material used
type rock
type text
action count
action filter_type
action find
entity artificial stone
relation material used
type rock
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:rock . ?g rdf:type ontology:text . ?g property:material_used ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:artificial_stone property:material_used ?a . ?a rdf:type ontology:rock } } . FILTER ( ?s > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q216798
P186
Q8063 Q234460
USER
And also tell me about lapis lazuli?
(c(Q234460),P186,c(Q8063))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
action count
action filter_type
action find
entity Q216798
relation P186
type Q8063
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t rdf:type ontology:Q8063 . ?i rdf:type ontology:Q234460 . ?i property:P186 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q216798 property:P186 ?l . ?l rdf:type ontology:Q8063 } } . FILTER ( ?v > ?q ) }
lapis lazuli
action count
action greater
action find_reverse_tuple_counts
relation material used
type rock
type text
action count
action filter_type
action find
entity lapis lazuli
relation material used
type rock
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t rdf:type ontology:rock . ?i rdf:type ontology:text . ?i property:material_used ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:lapis_lazuli property:material_used ?l . ?l rdf:type ontology:rock } } . FILTER ( ?v > ?q ) }
[]
rock text
SYSTEM
4
Q43338 Q40861 Q207079 Q23757
(c(Q234460),P186,c(Q8063))
action count
action greater
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
action count
action filter_type
action find
entity Q216798
relation P186
type Q8063
[ANSWER]
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t rdf:type ontology:Q8063 . ?i rdf:type ontology:Q234460 . ?i property:P186 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q216798 property:P186 ?l . ?l rdf:type ontology:Q8063 } } . FILTER ( ?v > ?q ) }
basalt marble slate limestone
4
action count
action greater
action find_reverse_tuple_counts
relation material used
type rock
type text
action count
action filter_type
action find
entity lapis lazuli
relation material used
type rock
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t rdf:type ontology:rock . ?i rdf:type ontology:text . ?i property:material_used ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:lapis_lazuli property:material_used ?l . ?l rdf:type ontology:rock } } . FILTER ( ?v > ?q ) }
[]