Simple Question (Direct)
Simple Question
Q3724148
P735
Q82799
USER
What is the firstname of Emerson Nunes ?
(Q3724148,P735,c(Q82799))
action filter_type
action find
entity Q3724148
relation P735
type Q82799
['Q3724148', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3724148 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Emerson Nunes
action filter_type
action find
entity Emerson Nunes
relation given name
type name
['Emerson Nunes', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Emerson_Nunes property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q2081336
SYSTEM
Emerson
Q2081336
(Q3724148,P735,c(Q82799))
action filter_type
action find
entity Q3724148
relation P735
type Q82799
The firstname of [ANSWER] Nunes is the [ANSWER]
['Q3724148', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3724148 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Emerson
The firstname of Emerson Nunes is the Emerson
Emerson
action filter_type
action find
entity Emerson Nunes
relation given name
type name
['Emerson Nunes', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Emerson_Nunes property:given_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3724148
P21
Q290
USER
Which sex does Emerson Nunes possess ?
(Q3724148,P21,c(Q290))
action filter_type
action find
entity Q3724148
relation P21
type Q290
['Q3724148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3724148 property:P21 ?w . ?w rdf:type ontology:Q290 }
Emerson Nunes
action filter_type
action find
entity Emerson Nunes
relation gender
type sex
['Emerson Nunes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Emerson_Nunes property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3724148,P21,c(Q290))
action filter_type
action find
entity Q3724148
relation P21
type Q290
Emerson Nunes possesses un [ANSWER]
['Q3724148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3724148 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Emerson Nunes possesses un male
male
action filter_type
action find
entity Emerson Nunes
relation gender
type sex
['Emerson Nunes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Emerson_Nunes property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24572421
Q290
USER
And also tell me about Wayne Trottier?
(Q24572421,P21,c(Q290))
action filter_type
action find
entity Q24572421
relation P21
type Q290
['Q24572421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q24572421 property:P21 ?o . ?o rdf:type ontology:Q290 }
Wayne Trottier
action filter_type
action find
entity Wayne Trottier
relation gender
type sex
['Wayne Trottier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Wayne_Trottier property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24572421,P21,c(Q290))
action filter_type
action find
entity Q24572421
relation P21
type Q290
[ANSWER]
['Q24572421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q24572421 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Wayne Trottier
relation gender
type sex
['Wayne Trottier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Wayne_Trottier property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are the languages of work for around 90 names ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 90
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P407 ?w . ?w rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?w } . FILTER ( ?j = 90 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 90
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:language_of_work_or_name ?w . ?w rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?w } . FILTER ( ?j = 90 ) }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 90
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P407 ?w . ?w rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?w } . FILTER ( ?j = 90 ) }
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
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 90
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:language_of_work_or_name ?w . ?w rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?w } . FILTER ( ?j = 90 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are min number of names in ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P407 ?u . ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } . FILTER ( ?r = ?k ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } . FILTER ( ?r = ?k ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P407 ?u . ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } . FILTER ( ?r = ?k ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Which languages are min number of names in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } . FILTER ( ?r = ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q486972 Q15617994 Q82799
USER
Which names have min number of human settlements or administrative territories as their toponym ?
(c(Q82799),P138,c(Q486972)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q15617994
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q486972 ) } . ?m rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q486972 ) } } GROUP BY ?p } . FILTER ( ?e = ?t ) }
action argmin
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?k WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_settlement ) } . ?m rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . FILTER ( ?e = ?t ) }
[]
human settlement designation for an administrative territorial entity name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706
(c(Q82799),P138,c(Q486972)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q15617994
[ANSWERS] have min number of human settlements or administrative territories as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q486972 ) } . ?m rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q486972 ) } } GROUP BY ?p } . FILTER ( ?e = ?t ) }
Prévot Émile-Louis Kaplan Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer
Abel, Rosario and Michael Gregorio have min number of human settlements or administrative territories as their toponym
Abel Rosario Michael Gregorio
action argmin
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?k WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_settlement ) } . ?m rdf:type ?c } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?p WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . FILTER ( ?e = ?t ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q56061 Q486972 Q82799
USER
How many names are the eponym of greater number of administrative territories or human settlements than that name ?
(c(Q82799),P138,c(Q56061)|c(Q486972))
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?z property:P138 ?x } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q486972 }
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?z property:named_after ?x } } . ?z rdf:type ontology:name . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:human_settlement }
[]
administrative territorial entity human settlement name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1069827
SYSTEM
Did you mean Rosario ?
(c(Q82799),P138,c(Q56061)|c(Q486972))
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?z property:P138 ?x } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q486972 }
Did you mean Rosario ?
Rosario
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?z property:named_after ?x } } . ?z rdf:type ontology:name . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q82799),P138,c(Q56061)|c(Q486972))
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
[]
SYSTEM
4
Q27022433 Q23688105 Q22922124 Q16877784
(c(Q82799),P138,c(Q56061)|c(Q486972))
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?z property:P138 ?x } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q486972 }
Danziger de Bragança von Mecklenburg-Schwerin Napoli
4
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?z property:named_after ?x } } . ?z rdf:type ontology:name . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q11060274 Q3305213
USER
How many names are expressed in around 13 prints or paintings ?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 13
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?d WHERE { { ?c property:P180 ?d . ?d rdf:type ontology:Q82799 . ?c rdf:type ontology:Q11060274 } UNION { ?c property:P180 ?d . ?c rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q82799 } } GROUP BY ?d } . FILTER ( ?b = 13 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 13
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?d WHERE { { ?c property:depicts ?d . ?d rdf:type ontology:name . ?c rdf:type ontology:print } UNION { ?c property:depicts ?d . ?c rdf:type ontology:painting . ?d rdf:type ontology:name } } GROUP BY ?d } . FILTER ( ?b = 13 ) }
[]
name print painting
SYSTEM
2
Q144 Q43115
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 13
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?d WHERE { { ?c property:P180 ?d . ?d rdf:type ontology:Q82799 . ?c rdf:type ontology:Q11060274 } UNION { ?c property:P180 ?d . ?c rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q82799 } } GROUP BY ?d } . FILTER ( ?b = 13 ) }
dog saint
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 13
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?d WHERE { { ?c property:depicts ?d . ?d rdf:type ontology:name . ?c rdf:type ontology:print } UNION { ?c property:depicts ?d . ?c rdf:type ontology:painting . ?d rdf:type ontology:name } } GROUP BY ?d } . FILTER ( ?b = 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447117
P1412
Q502895
USER
Which people speaks Old Egyptian ?
(c(Q502895),P1412,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117']
SELECT DISTINCT ?i WHERE { ?i property:P1412 resource:Q447117 . ?i rdf:type ontology:Q502895 }
Old Egyptian
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
SELECT DISTINCT ?i WHERE { ?i property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?i rdf:type ontology:common_name }
[]
common name
Q1736643 Q1162154 Q15815525
SYSTEM
Katja Lembke, Daniel Polz, Hi
Q1736643 Q1162154 Q15815525
(c(Q502895),P1412,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
[ANSWERS] speak Old Egyptian
[{'concept': 'Q502895'}, 'P1412', 'Q447117']
SELECT DISTINCT ?i WHERE { ?i property:P1412 resource:Q447117 . ?i rdf:type ontology:Q502895 }
Katja Lembke Daniel Polz Hi
Katja Lembke, Daniel Polz and Hi speak Old Egyptian
Katja Lembke Daniel Polz Hi
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
SELECT DISTINCT ?i WHERE { ?i property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447117
P495
Q8425
USER
Where did Old Egyptian originate ?
(Q447117,P495,c(Q8425))
action filter_type
action find
entity Q447117
relation P495
type Q8425
['Q447117', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?z WHERE { resource:Q447117 property:P495 ?z . ?z rdf:type ontology:Q8425 }
Old Egyptian
action filter_type
action find
entity Old Egyptian
relation country of origin
type society
['Old Egyptian', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?z WHERE { resource:Old_Egyptian property:country_of_origin ?z . ?z rdf:type ontology:society }
[]
society
Q11768
SYSTEM
Ancient Egypt
Q11768
(Q447117,P495,c(Q8425))
action filter_type
action find
entity Q447117
relation P495
type Q8425
Old Egyptian originated from [ANSWER]
['Q447117', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?z WHERE { resource:Q447117 property:P495 ?z . ?z rdf:type ontology:Q8425 }
Ancient Egypt
Old Egyptian originated from Ancient Egypt
Ancient Egypt
action filter_type
action find
entity Old Egyptian
relation country of origin
type society
['Old Egyptian', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?z WHERE { resource:Old_Egyptian property:country_of_origin ?z . ?z rdf:type ontology:society }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q522648
Q8425
USER
And what about clothing in ancient Greece?
(Q522648,P495,c(Q8425))
action filter_type
action find
entity Q522648
relation P495
type Q8425
['Q522648', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?e WHERE { resource:Q522648 property:P495 ?e . ?e rdf:type ontology:Q8425 }
clothing in ancient Greece
action filter_type
action find
entity clothing in ancient Greece
relation country of origin
type society
['clothing in ancient Greece', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?e WHERE { resource:clothing_in_ancient_Greece property:country_of_origin ?e . ?e rdf:type ontology:society }
[]
society
Q11772
SYSTEM
Ancient Greece
Q11772
(Q522648,P495,c(Q8425))
action filter_type
action find
entity Q522648
relation P495
type Q8425
[ANSWER]
['Q522648', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?e WHERE { resource:Q522648 property:P495 ?e . ?e rdf:type ontology:Q8425 }
Ancient Greece
Ancient Greece
action filter_type
action find
entity clothing in ancient Greece
relation country of origin
type society
['clothing in ancient Greece', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?e WHERE { resource:clothing_in_ancient_Greece property:country_of_origin ?e . ?e rdf:type ontology:society }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q144
P180
Q82799 Q838948 Q3305213
USER
How many names are demonstrated in around the same number of works of art or paintings as dog ?
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q144
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P180 resource:Q144 . { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } } } . FILTER ( ?o = ?x ) }
dog
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity dog
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:depicts resource:dog . { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:work_of_art ) } } } } . FILTER ( ?o = ?x ) }
[]
name work of art painting
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q144
relation P180
type Q838948
type Q3305213
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P180 resource:Q144 . { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } } } . FILTER ( ?o = ?x ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity dog
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:depicts resource:dog . { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:work_of_art ) } } } } . FILTER ( ?o = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q41692
P180
Q82799 Q838948 Q3305213
USER
And also tell me about mule?
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q41692
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?d WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P180 resource:Q41692 . { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q3305213 } } } } . FILTER ( ?y = ?h ) }
mule
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity mule
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?d WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:depicts resource:mule . { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:painting } } } } . FILTER ( ?y = ?h ) }
[]
name work of art painting
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q41692
relation P180
type Q838948
type Q3305213
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?d WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:P180 resource:Q41692 . { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q3305213 } } } } . FILTER ( ?y = ?h ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity mule
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?d WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a property:depicts resource:mule . { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:painting } } } } . FILTER ( ?y = ?h ) }
[]