Simple Question (Direct)
Simple Question
Q3839428
P937
Q56061
USER
What is the work location of Luigi Cancrini ?
(Q3839428,P937,c(Q56061))
action filter_type
action find
entity Q3839428
relation P937
type Q56061
['Q3839428', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q3839428 property:P937 ?g }
Luigi Cancrini
action filter_type
action find
entity Luigi Cancrini
relation work location
type administrative territorial entity
['Luigi Cancrini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Luigi_Cancrini property:work_location ?g }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3839428,P937,c(Q56061))
action filter_type
action find
entity Q3839428
relation P937
type Q56061
The work location of Luigi Cancrini is in [ANSWER]
['Q3839428', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q3839428 property:P937 ?g }
Rome
The work location of Luigi Cancrini is in Rome
Rome
action filter_type
action find
entity Luigi Cancrini
relation work location
type administrative territorial entity
['Luigi Cancrini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Luigi_Cancrini property:work_location ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P1071
Q18783400
USER
Which genre of sculpture has that administrative territory as its finally place of assembly ?
(c(Q18783400),P1071,Q220)
action filter_type
action find_reverse
entity Q220
relation P1071
type Q18783400
[{'concept': 'Q18783400'}, 'P1071', 'Q220']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q18783400 . ?b property:P1071 resource:Q220 }
Rome
action filter_type
action find_reverse
entity Rome
relation location of final assembly
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'location of final assembly', 'Rome']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:genre_of_sculpture . ?b property:location_of_final_assembly resource:Rome }
[]
genre of sculpture
Q27031521
SYSTEM
Theseus defeats the centaur
Q27031521
(c(Q18783400),P1071,Q220)
action filter_type
action find_reverse
entity Q220
relation P1071
type Q18783400
The [ANSWER] has that administrative territory as its finally place of assembly
[{'concept': 'Q18783400'}, 'P1071', 'Q220']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q18783400 . ?b property:P1071 resource:Q220 }
Theseus defeats the centaur
The Theseus defeats the centaur has that administrative territory as its finally place of assembly
Theseus defeats the centaur
action filter_type
action find_reverse
entity Rome
relation location of final assembly
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'location of final assembly', 'Rome']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:genre_of_sculpture . ?b property:location_of_final_assembly resource:Rome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27031521
P195
Q2668072
USER
Which collection includes that genre of sculpture in it ?
(Q27031521,P195,c(Q2668072))
action filter_type
action find
entity Q27031521
relation P195
type Q2668072
['Q27031521', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2668072 . resource:Q27031521 property:P195 ?y }
Theseus defeats the centaur
action filter_type
action find
entity Theseus defeats the centaur
relation collection
type collection
['Theseus defeats the centaur', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collection . resource:Theseus_defeats_the_centaur property:collection ?y }
[]
collection
Q95569
SYSTEM
Kunsthistorisches Museum
Q95569
(Q27031521,P195,c(Q2668072))
action filter_type
action find
entity Q27031521
relation P195
type Q2668072
[ANSWER] includes that genre of sculpture in it
['Q27031521', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2668072 . resource:Q27031521 property:P195 ?y }
Kunsthistorisches Museum
Kunsthistorisches Museum includes that genre of sculpture in it
Kunsthistorisches Museum
action filter_type
action find
entity Theseus defeats the centaur
relation collection
type collection
['Theseus defeats the centaur', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collection . resource:Theseus_defeats_the_centaur property:collection ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q26689954
P180
Q17781690 Q223557 Q18783400
USER
How many genres of sculpture express more number of anatomical regions or physical objects than Statue of Queen Elizabeth The Queen Mother ?
(c(Q18783400),P180,c(Q17781690)|c(Q223557))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q18783400
type Q17781690
action find_tuple_counts
relation P180
type Q18783400
type Q223557
action count
action filter_multi_types
action find
entity Q26689954
relation P180
type Q17781690
type Q223557
[{'concept': 'Q18783400'}, 'P180', [{'concept': 'Q17781690'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?w WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q17781690 ) ( ontology:Q223557 ) } } GROUP BY ?w } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q26689954 property:P180 ?r . { ?r rdf:type ?p . VALUES ( ?p ) { ( ontology:Q223557 ) ( ontology:Q17781690 ) } } } } }
Statue of Queen Elizabeth The Queen Mother
action count
action greater
action union
action find_tuple_counts
relation depicts
type genre of sculpture
type anatomical region
action find_tuple_counts
relation depicts
type genre of sculpture
type physical object
action count
action filter_multi_types
action find
entity Statue of Queen Elizabeth The Queen Mother
relation depicts
type anatomical region
type physical object
[{'concept': 'genre of sculpture'}, 'depicts', [{'concept': 'anatomical region'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?w WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:anatomical_region ) ( ontology:physical_object ) } } GROUP BY ?w } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Statue_of_Queen_Elizabeth_The_Queen_Mother property:depicts ?r . { ?r rdf:type ?p . VALUES ( ?p ) { ( ontology:physical_object ) ( ontology:anatomical_region ) } } } } }
[]
anatomical region physical object genre of sculpture
SYSTEM
2
Q7110766 Q517408
(c(Q18783400),P180,c(Q17781690)|c(Q223557))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q18783400
type Q17781690
action find_tuple_counts
relation P180
type Q18783400
type Q223557
action count
action filter_multi_types
action find
entity Q26689954
relation P180
type Q17781690
type Q223557
[ANSWER]
[{'concept': 'Q18783400'}, 'P180', [{'concept': 'Q17781690'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?w WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q17781690 ) ( ontology:Q223557 ) } } GROUP BY ?w } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q26689954 property:P180 ?r . { ?r rdf:type ?p . VALUES ( ?p ) { ( ontology:Q223557 ) ( ontology:Q17781690 ) } } } } }
Our Lady of Cardigan Psyche Revived by Cupid's Kiss
2
action count
action greater
action union
action find_tuple_counts
relation depicts
type genre of sculpture
type anatomical region
action find_tuple_counts
relation depicts
type genre of sculpture
type physical object
action count
action filter_multi_types
action find
entity Statue of Queen Elizabeth The Queen Mother
relation depicts
type anatomical region
type physical object
[{'concept': 'genre of sculpture'}, 'depicts', [{'concept': 'anatomical region'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?w WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:anatomical_region ) ( ontology:physical_object ) } } GROUP BY ?w } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Statue_of_Queen_Elizabeth_The_Queen_Mother property:depicts ?r . { ?r rdf:type ?p . VALUES ( ?p ) { ( ontology:physical_object ) ( ontology:anatomical_region ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3839428
P1412
Q34770
USER
Which language does Luigi Cancrini speak in ?
(Q3839428,P1412,c(Q34770))
action filter_type
action find
entity Q3839428
relation P1412
type Q34770
['Q3839428', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3839428 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Luigi Cancrini
action filter_type
action find
entity Luigi Cancrini
relation languages spoken, written or signed
type language
['Luigi Cancrini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Luigi_Cancrini property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3839428,P1412,c(Q34770))
action filter_type
action find
entity Q3839428
relation P1412
type Q34770
Luigi Cancrini speaks in [ANSWER]
['Q3839428', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3839428 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Italian
Luigi Cancrini speaks in Italian
Italian
action filter_type
action find
entity Luigi Cancrini
relation languages spoken, written or signed
type language
['Luigi Cancrini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Luigi_Cancrini property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q806024
P282
Q2001982 Q34770
USER
How many notations are the writing systems of approximately the same number of languages known as as Bamum script ?
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q806024
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P282 ?z . ?z rdf:type ontology:Q2001982 . ?i rdf:type ontology:Q34770 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q806024 property:P282 ?l . ?l rdf:type ontology:Q2001982 } } . FILTER ( ?t = ?o ) }
Bamum script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Bamum script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:writing_system ?z . ?z rdf:type ontology:notation . ?i rdf:type ontology:language } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Bamum_script property:writing_system ?l . ?l rdf:type ontology:notation } } . FILTER ( ?t = ?o ) }
[]
notation language
SYSTEM
15
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q806024
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P282 ?z . ?z rdf:type ontology:Q2001982 . ?i rdf:type ontology:Q34770 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q806024 property:P282 ?l . ?l rdf:type ontology:Q2001982 } } . FILTER ( ?t = ?o ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
15
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Bamum script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:writing_system ?z . ?z rdf:type ontology:notation . ?i rdf:type ontology:language } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Bamum_script property:writing_system ?l . ?l rdf:type ontology:notation } } . FILTER ( ?t = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q95569
P276
Q18783400 Q3305213
USER
How many genres of sculpture and paintings are situated at Kunsthistorisches Museum ?
(c(Q18783400),P276,Q95569) (c(Q3305213),P276,Q95569)
action count
action union
action filter_type
action find_reverse
entity Q95569
relation P276
type Q18783400
action filter_type
action find_reverse
entity Q95569
relation P276
type Q3305213
[{'concept': 'Q18783400'}, 'P276', 'Q95569'] [{'concept': 'Q3305213'}, 'P276', 'Q95569']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P276 resource:Q95569 . ?l rdf:type ontology:Q18783400 } UNION { ?l property:P276 resource:Q95569 . ?l rdf:type ontology:Q3305213 } }
Kunsthistorisches Museum
action count
action union
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation location
type genre of sculpture
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation location
type painting
[{'concept': 'genre of sculpture'}, 'location', 'Kunsthistorisches Museum'] [{'concept': 'painting'}, 'location', 'Kunsthistorisches Museum']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:location resource:Kunsthistorisches_Museum . ?l rdf:type ontology:genre_of_sculpture } UNION { ?l property:location resource:Kunsthistorisches_Museum . ?l rdf:type ontology:painting } }
[]
genre of sculpture painting
SYSTEM
1 genres of sculpture and 1 paintings
Q1750739 Q27031521
(c(Q18783400),P276,Q95569) (c(Q3305213),P276,Q95569)
action count
action union
action filter_type
action find_reverse
entity Q95569
relation P276
type Q18783400
action filter_type
action find_reverse
entity Q95569
relation P276
type Q3305213
[ANSWER]
[{'concept': 'Q18783400'}, 'P276', 'Q95569'] [{'concept': 'Q3305213'}, 'P276', 'Q95569']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P276 resource:Q95569 . ?l rdf:type ontology:Q18783400 } UNION { ?l property:P276 resource:Q95569 . ?l rdf:type ontology:Q3305213 } }
San Cassiano Altarpiece Theseus defeats the centaur
1 genres of sculpture and 1 paintings
action count
action union
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation location
type genre of sculpture
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation location
type painting
[{'concept': 'genre of sculpture'}, 'location', 'Kunsthistorisches Museum'] [{'concept': 'painting'}, 'location', 'Kunsthistorisches Museum']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:location resource:Kunsthistorisches_Museum . ?l rdf:type ontology:genre_of_sculpture } UNION { ?l property:location resource:Kunsthistorisches_Museum . ?l rdf:type ontology:painting } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15700818
P17
Q15617994
USER
How many administrative territories are Grade I listed building present in ?
(Q15700818,P17,c(Q15617994))
action count
action filter_type
action find
entity Q15700818
relation P17
type Q15617994
['Q15700818', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q15700818 property:P17 ?z }
Grade I listed building
action count
action filter_type
action find
entity Grade I listed building
relation country
type designation for an administrative territorial entity
['Grade I listed building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grade_I_listed_building property:country ?z }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q15700818,P17,c(Q15617994))
action count
action filter_type
action find
entity Q15700818
relation P17
type Q15617994
[ANSWER]
['Q15700818', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q15700818 property:P17 ?z }
United Kingdom
1
action count
action filter_type
action find
entity Grade I listed building
relation country
type designation for an administrative territorial entity
['Grade I listed building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grade_I_listed_building property:country ?z }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7898916
Q15617994
USER
And what about Upper Shockoe Valley?
(Q7898916,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7898916
relation P17
type Q15617994
['Q7898916', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q7898916 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Upper Shockoe Valley
action count
action filter_type
action find
entity Upper Shockoe Valley
relation country
type designation for an administrative territorial entity
['Upper Shockoe Valley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Upper_Shockoe_Valley property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7898916,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7898916
relation P17
type Q15617994
[ANSWER]
['Q7898916', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q7898916 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Upper Shockoe Valley
relation country
type designation for an administrative territorial entity
['Upper Shockoe Valley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Upper_Shockoe_Valley property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7898916
P47
Q486972
USER
Which human settlement shares border with that one ?
action filter_type
action find
entity Q7898916
relation P47
type Q486972
SELECT DISTINCT ?m WHERE { resource:Q7898916 property:P47 ?m . ?m rdf:type ontology:Q486972 }
Upper Shockoe Valley
action filter_type
action find
entity Upper Shockoe Valley
relation shares border with
type human settlement
SELECT DISTINCT ?m WHERE { resource:Upper_Shockoe_Valley property:shares_border_with ?m . ?m rdf:type ontology:human_settlement }
[]
human settlement
Q5758955
SYSTEM
Highland Park
Q5758955
action filter_type
action find
entity Q7898916
relation P47
type Q486972
[ANSWER] shares border with that one
SELECT DISTINCT ?m WHERE { resource:Q7898916 property:P47 ?m . ?m rdf:type ontology:Q486972 }
Highland Park
Highland Park shares border with that one
Highland Park
action filter_type
action find
entity Upper Shockoe Valley
relation shares border with
type human settlement
SELECT DISTINCT ?m WHERE { resource:Upper_Shockoe_Valley property:shares_border_with ?m . ?m rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q95569
P800 P21
Q502895
USER
Which people are author of Kunsthistorisches Museum and are a male ?
AND((c(Q502895),P800,Q95569), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q95569
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q95569'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q95569 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
male Kunsthistorisches Museum
action filter_type
action intersection
action find_reverse
entity Kunsthistorisches Museum
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Kunsthistorisches Museum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Kunsthistorisches_Museum . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
common name
Q61342
SYSTEM
Gottfried Semper
Q61342
AND((c(Q502895),P800,Q95569), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q95569
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is author of Kunsthistorisches Museum and is a male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q95569'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q95569 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
Gottfried Semper
Gottfried Semper is author of Kunsthistorisches Museum and is a male
Gottfried Semper
action filter_type
action intersection
action find_reverse
entity Kunsthistorisches Museum
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Kunsthistorisches Museum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Kunsthistorisches_Museum . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61342
P1066
Q502895
USER
Which people are a pupil of that one ?
(c(Q502895),P1066,Q61342)
action filter_type
action find_reverse
entity Q61342
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q61342']
SELECT DISTINCT ?i WHERE { ?i property:P1066 resource:Q61342 . ?i rdf:type ontology:Q502895 }
Gottfried Semper
action filter_type
action find_reverse
entity Gottfried Semper
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Gottfried Semper']
SELECT DISTINCT ?i WHERE { ?i property:student_of resource:Gottfried_Semper . ?i rdf:type ontology:common_name }
[]
common name
Q96793 Q362055
SYSTEM
Oskar Mothes, Adolf Heinrich Lier
Q96793 Q362055
(c(Q502895),P1066,Q61342)
action filter_type
action find_reverse
entity Q61342
relation P1066
type Q502895
[ANSWERS] are a pupil of that one
[{'concept': 'Q502895'}, 'P1066', 'Q61342']
SELECT DISTINCT ?i WHERE { ?i property:P1066 resource:Q61342 . ?i rdf:type ontology:Q502895 }
Oskar Mothes Adolf Heinrich Lier
Oskar Mothes and Adolf Heinrich Lier are a pupil of that one
Oskar Mothes Adolf Heinrich Lier
action filter_type
action find_reverse
entity Gottfried Semper
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Gottfried Semper']
SELECT DISTINCT ?i WHERE { ?i property:student_of resource:Gottfried_Semper . ?i rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P802
Q502895
USER
How many people were a notable student of that person ?
(c(Q502895),P802,Q362055)
[{'concept': 'Q502895'}, 'P802', 'Q362055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q48282 resource:Q362055 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'student', 'Adolf Heinrich Lier']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:student resource:Adolf_Heinrich_Lier . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q362055
SYSTEM
Did you mean Adolf Heinrich Lier ?
(c(Q502895),P802,Q96793) (c(Q502895),P802,Q362055)
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q96793'] [{'concept': 'Q502895'}, 'P802', 'Q362055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q48282 resource:Q362055 . ?z rdf:type ontology:Q502895 }
Did you mean Adolf Heinrich Lier ?
Adolf Heinrich Lier
[{'concept': 'common name'}, 'student', 'Oskar Mothes'] [{'concept': 'common name'}, 'student', 'Adolf Heinrich Lier']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:student resource:Adolf_Heinrich_Lier . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P802,Q362055)
[{'concept': 'Q502895'}, 'P802', 'Q362055']
[{'concept': 'common name'}, 'student', 'Adolf Heinrich Lier']
[]
SYSTEM
1
Q61342
(c(Q502895),P802,Q362055)
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q362055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q48282 resource:Q362055 . ?z rdf:type ontology:Q502895 }
Gottfried Semper
1
[{'concept': 'common name'}, 'student', 'Adolf Heinrich Lier']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:student resource:Adolf_Heinrich_Lier . ?z rdf:type ontology:common_name }
[]