Simple Question (Direct)
Simple Question
Q6104601
P27
Q15617994
USER
Which administrative territory is J. Andrew McCammon a civilian of ?
(Q6104601,P27,c(Q15617994))
action filter_type
action find
entity Q6104601
relation P27
type Q15617994
['Q6104601', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6104601 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
J. Andrew McCammon
action filter_type
action find
entity J. Andrew McCammon
relation country of citizenship
type designation for an administrative territorial entity
['J. Andrew McCammon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:J._Andrew_McCammon property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6104601,P27,c(Q15617994))
action filter_type
action find
entity Q6104601
relation P27
type Q15617994
The [ANSWER] is J. Andrew McCammon a civilian of
['Q6104601', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6104601 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
The United States of America is J. Andrew McCammon a civilian of
United States of America
action filter_type
action find
entity J. Andrew McCammon
relation country of citizenship
type designation for an administrative territorial entity
['J. Andrew McCammon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:J._Andrew_McCammon property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6104601
P463
Q811430
USER
What was that person a member of ?
(Q30,P463,c(Q811430))
action filter_type
action find
entity Q6104601
relation P463
type Q811430
['Q30', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?x WHERE { resource:Q6104601 property:P463 ?x . ?x rdf:type ontology:Q811430 }
J. Andrew McCammon
action filter_type
action find
entity J. Andrew McCammon
relation member of
type construction
['United States of America', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?x WHERE { resource:J._Andrew_McCammon property:member_of ?x . ?x rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q30,P463,c(Q811430))
action filter_type
action find
entity Q6104601
relation P463
type Q811430
That person a member of was the [ANSWER]
['Q30', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?x WHERE { resource:Q6104601 property:P463 ?x . ?x rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
That person a member of was the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity J. Andrew McCammon
relation member of
type construction
['United States of America', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?x WHERE { resource:J._Andrew_McCammon property:member_of ?x . ?x rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q463303 Q30
P17
Q15617994
USER
Is that construction a part of United States of America ?
(Q463303,P17,Q30)
action is_in
entity Q30
action find
entity Q463303
relation P17
['Q463303', 'P17', 'Q30']
ASK WHERE { resource:Q463303 property:P17 resource:Q30 }
American Academy of Arts and Sciences United States of America
action is_in
entity United States of America
action find
entity American Academy of Arts and Sciences
relation country
['American Academy of Arts and Sciences', 'country', 'United States of America']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q463303,P17,Q30)
action is_in
entity Q30
action find
entity Q463303
relation P17
[ANSWER]
['Q463303', 'P17', 'Q30']
ASK WHERE { resource:Q463303 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity American Academy of Arts and Sciences
relation country
['American Academy of Arts and Sciences', 'country', 'United States of America']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6104601 Q7842359
P69
Q163740
USER
Is Tring School the alma mater of J. Andrew McCammon ?
(Q6104601,P69,Q7842359)
action is_in
entity Q7842359
action find
entity Q6104601
relation P69
['Q6104601', 'P69', 'Q7842359']
ASK WHERE { resource:Q6104601 property:P69 resource:Q7842359 }
J. Andrew McCammon Tring School
action is_in
entity Tring School
action find
entity J. Andrew McCammon
relation educated at
['J. Andrew McCammon', 'educated at', 'Tring School']
ASK WHERE { resource:J._Andrew_McCammon property:educated_at resource:Tring_School }
[]
nonprofit organization
SYSTEM
NO
(Q6104601,P69,Q7842359)
action is_in
entity Q7842359
action find
entity Q6104601
relation P69
[ANSWER]
['Q6104601', 'P69', 'Q7842359']
ASK WHERE { resource:Q6104601 property:P69 resource:Q7842359 }
No
action is_in
entity Tring School
action find
entity J. Andrew McCammon
relation educated at
['J. Andrew McCammon', 'educated at', 'Tring School']
ASK WHERE { resource:J._Andrew_McCammon property:educated_at resource:Tring_School }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q10857409
P149
Q2198855 Q811430
USER
Which cultural movements are the architectural style of more number of constructions than realism ?
(c(Q811430),P149,c(Q2198855))
action greater
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q811430
action count
action filter_type
action find
entity Q10857409
relation P149
type Q2198855
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q10857409 property:P149 ?v . ?v rdf:type ontology:Q2198855 } } . FILTER ( ?a > ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P149 ?b . ?j rdf:type ontology:Q811430 . ?b rdf:type ontology:Q2198855 } GROUP BY ?b } }
realism
action greater
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type construction
action count
action filter_type
action find
entity realism
relation architectural style
type cultural movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:realism property:architectural_style ?v . ?v rdf:type ontology:cultural_movement } } . FILTER ( ?a > ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:architectural_style ?b . ?j rdf:type ontology:construction . ?b rdf:type ontology:cultural_movement } GROUP BY ?b } }
[]
cultural movement construction
Q173782 Q46825 Q994776
SYSTEM
Art Deco, Gothic art, brutalism
Q46825 Q173782 Q4692 Q131808 Q330369 Q160218 Q994776
(c(Q811430),P149,c(Q2198855))
action greater
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q811430
action count
action filter_type
action find
entity Q10857409
relation P149
type Q2198855
[ANSWERS] are the architectural style of more number of constructions than realism
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q10857409 property:P149 ?v . ?v rdf:type ontology:Q2198855 } } . FILTER ( ?a > ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P149 ?b . ?j rdf:type ontology:Q811430 . ?b rdf:type ontology:Q2198855 } GROUP BY ?b } }
Gothic art Art Deco renaissance Mannerism Arts and Crafts movement New Objectivity brutalism
Art Deco, Gothic art and brutalism are the architectural style of more number of constructions than realism
Art Deco Gothic art brutalism
action greater
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type construction
action count
action filter_type
action find
entity realism
relation architectural style
type cultural movement
[{'concept': 'construction'}, 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:realism property:architectural_style ?v . ?v rdf:type ontology:cultural_movement } } . FILTER ( ?a > ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:architectural_style ?b . ?j rdf:type ontology:construction . ?b rdf:type ontology:cultural_movement } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q10857409
P135 P21
Q502895
USER
Which people are associated with realism and have male as the sex ?
AND((c(Q502895),P135,Q10857409), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q10857409
relation P135
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P135', 'Q10857409'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P135 resource:Q10857409 . ?j rdf:type ontology:Q502895 }
male realism
action filter_type
action intersection
action find_reverse
entity realism
relation movement
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'movement', 'realism'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:movement resource:realism . ?j rdf:type ontology:common_name }
[]
common name
Q6394591 Q20898100 Q344838 Q297409 Q1099591 Q769883 Q16864524 Q21733179 Q165756 Q3068361
SYSTEM
Some of them are Vasili Pukirev, Erhabor Emokpae, Winslow Homer, Yiannis Ritsos, Jamie Wyeth, Augusto d'Halmar, Clément Dessart, Bruce Kurland, Simon Hollósy, Octav Băncilă
Q16864524 Q1379000 Q1898155 Q165756 Q2858153 Q20011230 Q769883 Q1563821 Q344838 Q21733179 Q30755 Q12069930 Q2865107 Q4455199 Q1403459 Q316327 Q172911 Q297409 Q171128 Q159297 Q20898100 Q1099591 Q315237 Q3068361 Q18710275 Q6394591 Q175257 Q552440 Q214905 Q2840554 Q1738984
AND((c(Q502895),P135,Q10857409), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q10857409
relation P135
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are associated with realism and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P135', 'Q10857409'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P135 resource:Q10857409 . ?j rdf:type ontology:Q502895 }
Clément Dessart Pedro Lira Nicolas Eekman Simon Hollósy Apcar Baltazar Karl Josef Müller Augusto d'Halmar Jim Crace Winslow Homer Bruce Kurland Auguste Rodin Constantin Daniel Stahi Arthur Garguromin-Verona Franciszek Tepa Simeon Roksandić José Maria de Eça de Queiroz Ilya Repin Yiannis Ritsos Diego Rivera John Constable Erhabor Emokpae Jamie Wyeth Vasily Perov Octav Băncilă Kenneth Riley Vasili Pukirev Charles Verlat Constantin Meunier Thomas Eakins Aluísio Azevedo Simon Kozhin
Vasili Pukirev, Erhabor Emokpae, Winslow Homer, Yiannis Ritsos, Jamie Wyeth, Augusto d'Halmar, Clément Dessart, Bruce Kurland, Simon Hollósy and Octav Băncilă are associated with realism and have male as the sex
Vasili Pukirev Erhabor Emokpae Winslow Homer Yiannis Ritsos Jamie Wyeth Augusto d'Halmar Clément Dessart Bruce Kurland Simon Hollósy Octav Băncilă
action filter_type
action intersection
action find_reverse
entity realism
relation movement
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'movement', 'realism'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:movement resource:realism . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1099153
P1303
Q34379 Q502895
USER
Which musical instruments do around the same number of people know to play as clavinet ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q1099153 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } }
clavinet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:clavinet property:instrument ?v . ?v rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[ANSWERS] around the same number of people know to play as clavinet
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q1099153 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano around the same number of people know to play as clavinet
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:clavinet property:instrument ?v . ?v rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3574843
P1303
Q34379 Q502895
USER
And how about tonbak?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q3574843
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q3574843 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f = ?g ) }
tonbak
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tonbak
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:tonbak property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?g ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q3574843
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q3574843 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f = ?g ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tonbak
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:tonbak property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7592180 Q463303
P17
Q15617994
USER
Which administrative territories are American Academy of Arts and Sciences or St. Xavier's Girls' College present in ?
OR((Q463303,P17,c(Q15617994)), (Q7592180,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q463303
relation P17
action find
entity Q7592180
relation P17
type Q15617994
{'OR': [['Q463303', 'P17', {'concept': 'Q15617994'}], ['Q7592180', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q463303 property:P17 ?i } UNION { resource:Q7592180 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
St. Xavier's Girls' College American Academy of Arts and Sciences
action filter_type
action union
action find
entity American Academy of Arts and Sciences
relation country
action find
entity St. Xavier's Girls' College
relation country
type designation for an administrative territorial entity
{'OR': [['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}], ["St. Xavier's Girls' College", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:American_Academy_of_Arts_and_Sciences property:country ?i } UNION { resource:St._Xavier's_Girls'_College property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q854
SYSTEM
United States of America, Sri Lanka
Q30 Q854
OR((Q463303,P17,c(Q15617994)), (Q7592180,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q463303
relation P17
action find
entity Q7592180
relation P17
type Q15617994
Are American Academy of Arts and Sciences or St. Xavier's Girls ' College present in the [ANSWERS]
{'OR': [['Q463303', 'P17', {'concept': 'Q15617994'}], ['Q7592180', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q463303 property:P17 ?i } UNION { resource:Q7592180 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
United States of America Sri Lanka
Are American Academy of Arts and Sciences or St. Xavier's Girls ' College present in the United States of America and Sri Lanka
United States of America Sri Lanka
action filter_type
action union
action find
entity American Academy of Arts and Sciences
relation country
action find
entity St. Xavier's Girls' College
relation country
type designation for an administrative territorial entity
{'OR': [['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}], ["St. Xavier's Girls' College", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:American_Academy_of_Arts_and_Sciences property:country ?i } UNION { resource:St._Xavier's_Girls'_College property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q854
SYSTEM
Did you mean Sri Lanka ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Sri Lanka ?
Sri Lanka
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the countries of origin of approximately the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of approximately the same number of releases as that administrative territory
Italy Brazil Georgia
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q230
P495
Q2342494
USER
What are that administrative territory a country of origin of ?
(c(Q2342494),P495,Q230)
action filter_type
action find_reverse
entity Q230
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q230']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q230 . ?h rdf:type ontology:Q2342494 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Georgia']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Georgia . ?h rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q230
(c(Q2342494),P495,Q38) (c(Q2342494),P495,Q155) (c(Q2342494),P495,Q230)
[ANSWER]
[{'concept': 'Q2342494'}, 'P495', 'Q38'] [{'concept': 'Q2342494'}, 'P495', 'Q155'] [{'concept': 'Q2342494'}, 'P495', 'Q230']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q230 . ?h rdf:type ontology:Q2342494 }
Italy Brazil Georgia
Did you mean Italy ?
Italy
[{'concept': 'collectable'}, 'country of origin', 'Italy'] [{'concept': 'collectable'}, 'country of origin', 'Brazil'] [{'concept': 'collectable'}, 'country of origin', 'Georgia']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Georgia . ?h rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Georgia. Could you tell me the answer for that?
(c(Q2342494),P495,Q230)
Q230
[{'concept': 'Q2342494'}, 'P495', 'Q230']
[{'concept': 'collectable'}, 'country of origin', 'Georgia']
[]
Q21071060 Q7764970 Q20875511
SYSTEM
Man of the Forest (story), The Snake's Skin, Avelum
Q21071060 Q20875511 Q7764970 Q12867034 Q12866348 Q15427594 Q12861365 Q4159205 Q20473972 Q16379668 Q21029031 Q22056771 Q13639092 Q5268017 Q12868806 Q9166537 Q20874908 Q12863156 Q21040983 Q21039540 Q12868734 Q21079107 Q21032396 Q16378653 Q3650271 Q20706409 Q20820557
(c(Q2342494),P495,Q230)
action filter_type
action find_reverse
entity Q230
relation P495
type Q2342494
That administrative territory a country of origin of are The [ANSWERS]
[{'concept': 'Q2342494'}, 'P495', 'Q230']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q230 . ?h rdf:type ontology:Q2342494 }
Man of the Forest (story) Avelum The Snake's Skin Journey to Karabakh The Literature Express Antonio and David Adibas The Right Hand of the Grand Master The Sunny Night Flight from the USSR Arsena of Marabda The Brueghel Moon Jaqo's Dispossessed The Patricide Santa Esperanza The Pond The Iron Theatre A Man Was Going Down the Road A Woman's Burden Giwi Shaduri The First Garment Of Old Hearts and Swords The White Collar (novel) A Book of Wisdom and Lies Data Tutashkhia Kvachi Kvachantiradze Igi
That administrative territory a country of origin of are The Man of the Forest (story), The Snake's Skin and Avelum
Man of the Forest (story) The Snake's Skin Avelum
action filter_type
action find_reverse
entity Georgia
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Georgia']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Georgia . ?h rdf:type ontology:collectable }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories did that collectable originate ?
(Q21071060,P495,c(Q15617994))
['Q21071060', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21071060 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['Man of the Forest (story)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Man_of_the_Forest_(story) property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q21071060
SYSTEM
Did you mean Man of the Forest (story) ?
(Q21071060,P495,c(Q15617994)) (Q7764970,P495,c(Q15617994)) (Q20875511,P495,c(Q15617994))
[ANSWER]
['Q21071060', 'P495', {'concept': 'Q15617994'}] ['Q7764970', 'P495', {'concept': 'Q15617994'}] ['Q20875511', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21071060 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Man of the Forest (story) ?
Man of the Forest (story)
['Man of the Forest (story)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["The Snake's Skin", 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Avelum', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Man_of_the_Forest_(story) property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q21071060,P495,c(Q15617994))
['Q21071060', 'P495', {'concept': 'Q15617994'}]
['Man of the Forest (story)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q230
(Q21071060,P495,c(Q15617994))
[ANSWER]
['Q21071060', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21071060 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Georgia
1
['Man of the Forest (story)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Man_of_the_Forest_(story) property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q487096
P47
Q1048835
USER
Which political territories have an adjacent border with Reus ?
(c(Q1048835),P47,Q487096)
action filter_type
action find
entity Q487096
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q487096']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q487096 property:P47 ?w }
Reus
action filter_type
action find
entity Reus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Reus']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Reus property:shares_border_with ?w }
[]
political territorial entity
Q1233410 Q679015 Q1230100
SYSTEM
L'Aleixar, Riudoms, La Selva del Camp
Q550210 Q542633 Q1233410 Q1245507 Q679015 Q1230080 Q1230100 Q508754
(c(Q1048835),P47,Q487096)
action filter_type
action find
entity Q487096
relation P47
type Q1048835
[ANSWERS] have an adjacent border with Reus
[{'concept': 'Q1048835'}, 'P47', 'Q487096']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q487096 property:P47 ?w }
Constantí Almoster L'Aleixar La Canonja Riudoms Castellvell del Camp La Selva del Camp Vila-seca
L'Aleixar, Riudoms and La Selva del Camp have an adjacent border with Reus
L'Aleixar Riudoms La Selva del Camp
action filter_type
action find
entity Reus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Reus']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Reus property:shares_border_with ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1233410
P6
Q502895
USER
Which person is that political territory the head of goverment of ?
(Q1233410,P6,c(Q502895))
action filter_type
action find
entity Q1233410
relation P6
type Q502895
['Q1233410', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1233410 property:P6 ?j }
L'Aleixar
action filter_type
action find
entity L'Aleixar
relation head of government
type common name
["L'Aleixar", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:L'Aleixar property:head_of_government ?j }
[]
common name
Clarification for simple ques.
Q1230100
SYSTEM
Did you mean La Selva del Camp ?
Q1233410 Q679015 Q1230100
(Q1233410,P6,c(Q502895)) (Q679015,P6,c(Q502895)) (Q1230100,P6,c(Q502895))
[ANSWER]
['Q1233410', 'P6', {'concept': 'Q502895'}] ['Q679015', 'P6', {'concept': 'Q502895'}] ['Q1230100', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1233410 property:P6 ?j }
L'Aleixar Riudoms La Selva del Camp
Did you mean La Selva del Camp ?
La Selva del Camp
["L'Aleixar", 'head of government', {'concept': 'common name'}] ['Riudoms', 'head of government', {'concept': 'common name'}] ['La Selva del Camp', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:L'Aleixar property:head_of_government ?j }
[]
Simple Question (Coreferenced)
USER
No, I meant L'Aleixar. Could you tell me the answer for that?
(Q1233410,P6,c(Q502895))
Q1233410
['Q1233410', 'P6', {'concept': 'Q502895'}]
["L'Aleixar", 'head of government', {'concept': 'common name'}]
[]
Q14121308
SYSTEM
Antoni Abelló Grau
Q14121308
(Q1233410,P6,c(Q502895))
action filter_type
action find
entity Q1233410
relation P6
type Q502895
[ANSWER] is that political territory the head of goverment of
['Q1233410', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1233410 property:P6 ?j }
Antoni Abelló Grau
Antoni Abelló Grau is that political territory the head of goverment of
Antoni Abelló Grau
action filter_type
action find
entity L'Aleixar
relation head of government
type common name
["L'Aleixar", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:L'Aleixar property:head_of_government ?j }
[]