Simple Question (Direct)
Simple Question
Q14602173
P69
Q163740
USER
Which nonprofit organizations are Richard F. Abel an alumni of ?
(Q14602173,P69,c(Q163740))
action filter_type
action find
entity Q14602173
relation P69
type Q163740
['Q14602173', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q14602173 property:P69 ?a . ?a rdf:type ontology:Q163740 }
Richard F. Abel
action filter_type
action find
entity Richard F. Abel
relation educated at
type nonprofit organization
['Richard F. Abel', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Richard_F._Abel property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1320232 Q49110
SYSTEM
University of Detroit Mercy, Boston University
Q1320232 Q49110
(Q14602173,P69,c(Q163740))
action filter_type
action find
entity Q14602173
relation P69
type Q163740
[ANSWERS] are Richard F. Abel an alumni of
['Q14602173', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q14602173 property:P69 ?a . ?a rdf:type ontology:Q163740 }
University of Detroit Mercy Boston University
University of Detroit Mercy and Boston University are Richard F. Abel an alumni of
University of Detroit Mercy Boston University
action filter_type
action find
entity Richard F. Abel
relation educated at
type nonprofit organization
['Richard F. Abel', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Richard_F._Abel property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1320232 Q49110
P127
Q811979
USER
Which architectural structures are under posessision of those nonprofit organizations ?
(c(Q811979),P127,Q1320232) (c(Q811979),P127,Q49110)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q1320232'] [{'concept': 'Q811979'}, 'P127', 'Q49110']
SELECT DISTINCT ?q WHERE { ?q property:P127 ?o . ?q rdf:type ontology:Q811979 . VALUES ( ?o ) { ( resource:Q1320232 ) ( resource:Q49110 ) } }
University of Detroit Mercy Boston University
action filter_type
action find_reverse
entity prev_answer
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'University of Detroit Mercy'] [{'concept': 'architectural structure'}, 'owned by', 'Boston University']
SELECT DISTINCT ?q WHERE { ?q property:owned_by ?o . ?q rdf:type ontology:architectural_structure . VALUES ( ?o ) { ( resource:University_of_Detroit_Mercy ) ( resource:Boston_University ) } }
[]
architectural structure
Q5021351 Q3339834 Q4692179
SYSTEM
Calihan Hall, Nickerson Field, Agganis Arena
Q5021351 Q3339834 Q4692179
(c(Q811979),P127,Q1320232) (c(Q811979),P127,Q49110)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q811979
[ANSWERS] are under posessision of those nonprofit organizations
[{'concept': 'Q811979'}, 'P127', 'Q1320232'] [{'concept': 'Q811979'}, 'P127', 'Q49110']
SELECT DISTINCT ?q WHERE { ?q property:P127 ?o . ?q rdf:type ontology:Q811979 . VALUES ( ?o ) { ( resource:Q1320232 ) ( resource:Q49110 ) } }
Calihan Hall Nickerson Field Agganis Arena
Calihan Hall, Nickerson Field and Agganis Arena are under posessision of those nonprofit organizations
Calihan Hall Nickerson Field Agganis Arena
action filter_type
action find_reverse
entity prev_answer
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'University of Detroit Mercy'] [{'concept': 'architectural structure'}, 'owned by', 'Boston University']
SELECT DISTINCT ?q WHERE { ?q property:owned_by ?o . ?q rdf:type ontology:architectural_structure . VALUES ( ?o ) { ( resource:University_of_Detroit_Mercy ) ( resource:Boston_University ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5021351
P466
Q163740
USER
Which nonprofit organization is a tenant of that architectural structure ?
(Q5021351,P466,c(Q163740))
action filter_type
action find
entity Q5021351
relation P466
type Q163740
['Q5021351', 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q5021351 property:P466 ?q . ?q rdf:type ontology:Q163740 }
Calihan Hall
action filter_type
action find
entity Calihan Hall
relation occupant
type nonprofit organization
['Calihan Hall', 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Calihan_Hall property:occupant ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q3339834
SYSTEM
Did you mean Nickerson Field ?
Q5021351 Q3339834 Q4692179
(Q5021351,P466,c(Q163740)) (Q3339834,P466,c(Q163740)) (Q4692179,P466,c(Q163740))
[ANSWER]
['Q5021351', 'P466', {'concept': 'Q163740'}] ['Q3339834', 'P466', {'concept': 'Q163740'}] ['Q4692179', 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q5021351 property:P466 ?q . ?q rdf:type ontology:Q163740 }
Calihan Hall Nickerson Field Agganis Arena
Did you mean Nickerson Field ?
Nickerson Field
['Calihan Hall', 'occupant', {'concept': 'nonprofit organization'}] ['Nickerson Field', 'occupant', {'concept': 'nonprofit organization'}] ['Agganis Arena', 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Calihan_Hall property:occupant ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Calihan Hall. Could you tell me the answer for that?
(Q5021351,P466,c(Q163740))
Q5021351
['Q5021351', 'P466', {'concept': 'Q163740'}]
['Calihan Hall', 'occupant', {'concept': 'nonprofit organization'}]
[]
Q1320232
SYSTEM
University of Detroit Mercy
Q1320232
(Q5021351,P466,c(Q163740))
action filter_type
action find
entity Q5021351
relation P466
type Q163740
[ANSWER] is a tenant of that architectural structure
['Q5021351', 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q5021351 property:P466 ?q . ?q rdf:type ontology:Q163740 }
University of Detroit Mercy
University of Detroit Mercy is a tenant of that architectural structure
University of Detroit Mercy
action filter_type
action find
entity Calihan Hall
relation occupant
type nonprofit organization
['Calihan Hall', 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Calihan_Hall property:occupant ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q26954985
P138
Q811979 Q17444909 Q79529
USER
Which architectural structures are more number of astronomical object types and chemical substances named after than Byrud Emerald mine ?
(c(Q17444909)|c(Q79529),P138,c(Q811979))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q26954985
relation P138
type Q17444909
type Q79529
[[{'concept': 'Q17444909'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?e WHERE { { ?f property:P138 ?e . ?e rdf:type ontology:Q811979 . ?f rdf:type ontology:Q17444909 } UNION { ?f property:P138 ?e . ?e rdf:type ontology:Q811979 . ?f rdf:type ontology:Q79529 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P138 resource:Q26954985 . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } } } } . FILTER ( ?y > ?d ) }
Byrud Emerald mine
action greater
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type astronomical object type
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Byrud Emerald mine
relation named after
type astronomical object type
type chemical substance
[[{'concept': 'astronomical object type'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?e WHERE { { ?f property:named_after ?e . ?e rdf:type ontology:architectural_structure . ?f rdf:type ontology:astronomical_object_type } UNION { ?f property:named_after ?e . ?e rdf:type ontology:architectural_structure . ?f rdf:type ontology:chemical_substance } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:named_after resource:Byrud_Emerald_mine . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } } } } . FILTER ( ?y > ?d ) }
[]
architectural structure astronomical object type chemical substance
Q1130137 Q151510 Q11481889
SYSTEM
Rudolfinum, University of Heidelberg, Nusamai Bridge
Q631733 Q11481889 Q151510 Q1196460 Q1130137 Q2166466
(c(Q17444909)|c(Q79529),P138,c(Q811979))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q26954985
relation P138
type Q17444909
type Q79529
[ANSWERS] are more number of astronomical object types and chemical substances named after than Byrud Emerald mine
[[{'concept': 'Q17444909'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?e WHERE { { ?f property:P138 ?e . ?e rdf:type ontology:Q811979 . ?f rdf:type ontology:Q17444909 } UNION { ?f property:P138 ?e . ?e rdf:type ontology:Q811979 . ?f rdf:type ontology:Q79529 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P138 resource:Q26954985 . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } } } } . FILTER ( ?y > ?d ) }
Ytterby mine Nusamai Bridge University of Heidelberg Kintai Bridge Rudolfinum Söyembikä Tower
Rudolfinum, University of Heidelberg and Nusamai Bridge are more number of astronomical object types and chemical substances named after than Byrud Emerald mine
Rudolfinum University of Heidelberg Nusamai Bridge
action greater
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type astronomical object type
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Byrud Emerald mine
relation named after
type astronomical object type
type chemical substance
[[{'concept': 'astronomical object type'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?e WHERE { { ?f property:named_after ?e . ?e rdf:type ontology:architectural_structure . ?f rdf:type ontology:astronomical_object_type } UNION { ?f property:named_after ?e . ?e rdf:type ontology:architectural_structure . ?f rdf:type ontology:chemical_substance } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:named_after resource:Byrud_Emerald_mine . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } } } } . FILTER ( ?y > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q334186
P138
Q811979 Q17444909 Q79529
USER
And also tell me about Abbey of Saint-Germain-des-Prés?
(c(Q17444909)|c(Q79529),P138,c(Q811979))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q334186
relation P138
type Q17444909
type Q79529
[[{'concept': 'Q17444909'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } . ?t rdf:type ?v } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P138 resource:Q334186 . { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } } } } . FILTER ( ?n > ?j ) }
Abbey of Saint-Germain-des-Prés
action greater
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type astronomical object type
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Abbey of Saint-Germain-des-Prés
relation named after
type astronomical object type
type chemical substance
[[{'concept': 'astronomical object type'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } . ?t rdf:type ?v } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:named_after resource:Abbey_of_Saint-Germain-des-Prés . { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } } } } . FILTER ( ?n > ?j ) }
[]
architectural structure astronomical object type chemical substance
Q1130137 Q151510 Q11481889
SYSTEM
Rudolfinum, University of Heidelberg, Nusamai Bridge
Q631733 Q11481889 Q151510 Q1196460 Q1130137 Q2166466
(c(Q17444909)|c(Q79529),P138,c(Q811979))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q334186
relation P138
type Q17444909
type Q79529
[ANSWERS]
[[{'concept': 'Q17444909'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } . ?t rdf:type ?v } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P138 resource:Q334186 . { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q17444909 ) ( ontology:Q79529 ) } } } } . FILTER ( ?n > ?j ) }
Ytterby mine Nusamai Bridge University of Heidelberg Kintai Bridge Rudolfinum Söyembikä Tower
Rudolfinum University of Heidelberg Nusamai Bridge
action greater
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type astronomical object type
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Abbey of Saint-Germain-des-Prés
relation named after
type astronomical object type
type chemical substance
[[{'concept': 'astronomical object type'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } . ?t rdf:type ?v } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:named_after resource:Abbey_of_Saint-Germain-des-Prés . { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:astronomical_object_type ) ( ontology:chemical_substance ) } } } } . FILTER ( ?n > ?j ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11481889
P186
Q214609
USER
Which material is used to craft that architectural structure ?
(Q11481889,P186,c(Q214609))
action filter_type
action find
entity Q11481889
relation P186
type Q214609
['Q11481889', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?y WHERE { resource:Q11481889 property:P186 ?y . ?y rdf:type ontology:Q214609 }
Nusamai Bridge
action filter_type
action find
entity Nusamai Bridge
relation material used
type material
['Nusamai Bridge', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?y WHERE { resource:Nusamai_Bridge property:material_used ?y . ?y rdf:type ontology:material }
[]
material
Clarification for simple ques.
Q11481889
SYSTEM
Did you mean Nusamai Bridge ?
Q1130137 Q151510 Q11481889
(Q1130137,P186,c(Q214609)) (Q151510,P186,c(Q214609)) (Q11481889,P186,c(Q214609))
[ANSWER]
['Q1130137', 'P186', {'concept': 'Q214609'}] ['Q151510', 'P186', {'concept': 'Q214609'}] ['Q11481889', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?y WHERE { resource:Q11481889 property:P186 ?y . ?y rdf:type ontology:Q214609 }
Rudolfinum University of Heidelberg Nusamai Bridge
Did you mean Nusamai Bridge ?
Nusamai Bridge
['Rudolfinum', 'material used', {'concept': 'material'}] ['University of Heidelberg', 'material used', {'concept': 'material'}] ['Nusamai Bridge', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?y WHERE { resource:Nusamai_Bridge property:material_used ?y . ?y rdf:type ontology:material }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11481889,P186,c(Q214609))
['Q11481889', 'P186', {'concept': 'Q214609'}]
['Nusamai Bridge', 'material used', {'concept': 'material'}]
[]
Q22657
SYSTEM
concrete
Q22657
(Q11481889,P186,c(Q214609))
action filter_type
action find
entity Q11481889
relation P186
type Q214609
[ANSWER] is used to craft that architectural structure
['Q11481889', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?y WHERE { resource:Q11481889 property:P186 ?y . ?y rdf:type ontology:Q214609 }
concrete
Concrete is used to craft that architectural structure
concrete
action filter_type
action find
entity Nusamai Bridge
relation material used
type material
['Nusamai Bridge', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?y WHERE { resource:Nusamai_Bridge property:material_used ?y . ?y rdf:type ontology:material }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P186
Q16970
USER
How many churches are built using that material ?
(c(Q16970),P186,Q22657)
action count
action filter_type
action find_reverse
entity Q22657
relation P186
type Q16970
[{'concept': 'Q16970'}, 'P186', 'Q22657']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P186 resource:Q22657 . ?m rdf:type ontology:Q16970 }
action count
action filter_type
action find_reverse
entity concrete
relation material used
type church
[{'concept': 'church'}, 'material used', 'concrete']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:material_used resource:concrete . ?m rdf:type ontology:church }
[]
church
SYSTEM
15
Q201720 Q3790872 Q15848503 Q1423470 Q2315840 Q1631067 Q18020912 Q890127 Q1982229 Q127722 Q526650 Q2942901 Q18413167 Q18028066 Q794242
(c(Q16970),P186,Q22657)
action count
action filter_type
action find_reverse
entity Q22657
relation P186
type Q16970
[ANSWER]
[{'concept': 'Q16970'}, 'P186', 'Q22657']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P186 resource:Q22657 . ?m rdf:type ontology:Q16970 }
Cathedral of Brasília Cathedral of Saint Nicholas St. Johann Baptist Molde Cathedral St.-Albertus-Magnus-Kirche Cathedral of Our Lady of the Angels Hl. Dreifaltigkeit Bodø Cathedral Nevigeser Wallfahrtsdom Cathedral of Our Lady of the Immaculate Conception Clifton Cathedral Christ the King Cathedral, Nha Trang St. Martin St. Martin Landakotskirkja
15
action count
action filter_type
action find_reverse
entity concrete
relation material used
type church
[{'concept': 'church'}, 'material used', 'concrete']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:material_used resource:concrete . ?m rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q22657
P186
Q79529 Q10675206
USER
How many chemical substances and ingredients are used to craft concrete ?
(Q22657,P186,c(Q79529)) (Q22657,P186,c(Q10675206))
action count
action union
action filter_type
action find
entity Q22657
relation P186
type Q79529
action filter_type
action find
entity Q22657
relation P186
type Q10675206
['Q22657', 'P186', {'concept': 'Q79529'}] ['Q22657', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:Q79529 ) ( ontology:Q10675206 ) } . ?v rdf:type ?q }
concrete
action count
action union
action filter_type
action find
entity concrete
relation material used
type chemical substance
action filter_type
action find
entity concrete
relation material used
type ingredient
['concrete', 'material used', {'concept': 'chemical substance'}] ['concrete', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:chemical_substance ) ( ontology:ingredient ) } . ?v rdf:type ?q }
[]
chemical substance ingredient
SYSTEM
1 chemical substances and 1 ingredients
Q45190 Q283
(Q22657,P186,c(Q79529)) (Q22657,P186,c(Q10675206))
action count
action union
action filter_type
action find
entity Q22657
relation P186
type Q79529
action filter_type
action find
entity Q22657
relation P186
type Q10675206
[ANSWER]
['Q22657', 'P186', {'concept': 'Q79529'}] ['Q22657', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:Q79529 ) ( ontology:Q10675206 ) } . ?v rdf:type ?q }
cement water
1 chemical substances and 1 ingredients
action count
action union
action filter_type
action find
entity concrete
relation material used
type chemical substance
action filter_type
action find
entity concrete
relation material used
type ingredient
['concrete', 'material used', {'concept': 'chemical substance'}] ['concrete', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:chemical_substance ) ( ontology:ingredient ) } . ?v rdf:type ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5528367 Q5021351
P17
Q15617994
USER
Which administrative territories are Calihan Hall or Gavran present in ?
OR((Q5021351,P17,c(Q15617994)), (Q5528367,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5021351
relation P17
action find
entity Q5528367
relation P17
type Q15617994
{'OR': [['Q5021351', 'P17', {'concept': 'Q15617994'}], ['Q5528367', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5021351 property:P17 ?w } UNION { resource:Q5528367 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Gavran Calihan Hall
action filter_type
action union
action find
entity Calihan Hall
relation country
action find
entity Gavran
relation country
type designation for an administrative territorial entity
{'OR': [['Calihan Hall', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gavran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Calihan_Hall property:country ?w } UNION { resource:Gavran property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227 Q30
SYSTEM
Azerbaijan, United States of America
Q227 Q30
OR((Q5021351,P17,c(Q15617994)), (Q5528367,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5021351
relation P17
action find
entity Q5528367
relation P17
type Q15617994
[ANSWERS] are Calihan Hall or Gavran present in
{'OR': [['Q5021351', 'P17', {'concept': 'Q15617994'}], ['Q5528367', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5021351 property:P17 ?w } UNION { resource:Q5528367 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Azerbaijan United States of America
Azerbaijan and United States of America are Calihan Hall or Gavran present in
Azerbaijan United States of America
action filter_type
action union
action find
entity Calihan Hall
relation country
action find
entity Gavran
relation country
type designation for an administrative territorial entity
{'OR': [['Calihan Hall', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gavran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Calihan_Hall property:country ?w } UNION { resource:Gavran property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with more number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?f ) WHERE { ?o property:P530 ?d . ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q781 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?s ) }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?f ) WHERE { ?o property:diplomatic_relation ?d . ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?s ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Antigua and Barbuda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?f ) WHERE { ?o property:P530 ?d . ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q781 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?s ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic relations with more number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?f ) WHERE { ?o property:diplomatic_relation ?d . ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1000
P530
Q1048835 Q15617994
USER
And how about Gabon?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?i ) WHERE { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?i > ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1000 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Gabon
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?i ) WHERE { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?i > ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Gabon property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?i ) WHERE { ?b property:P530 ?x . ?b rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?i > ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1000 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?i ) WHERE { ?b property:diplomatic_relation ?x . ?b rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?i > ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Gabon property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P532
Q2235308
USER
Which ship type has Germany as its registry harbour ?
(c(Q2235308),P532,Q183)
action filter_type
action find_reverse
entity Q183
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P532 resource:Q183 . ?z rdf:type ontology:Q2235308 }
Germany
action filter_type
action find_reverse
entity Germany
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:port_of_registry resource:Germany . ?z rdf:type ontology:ship_type }
[]
ship type
Q469715
SYSTEM
MV Colombo Express
Q469715
(c(Q2235308),P532,Q183)
action filter_type
action find_reverse
entity Q183
relation P532
type Q2235308
[ANSWER] has Germany as its registry harbour
[{'concept': 'Q2235308'}, 'P532', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P532 resource:Q183 . ?z rdf:type ontology:Q2235308 }
MV Colombo Express
MV Colombo Express has Germany as its registry harbour
MV Colombo Express
action filter_type
action find_reverse
entity Germany
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:port_of_registry resource:Germany . ?z rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22657
P361
Q214609
USER
What is a component of concrete ?
(c(Q214609),P361,Q22657)
action filter_type
action find_reverse
entity Q22657
relation P361
type Q214609
[{'concept': 'Q214609'}, 'P361', 'Q22657']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q214609 . ?g property:P361 resource:Q22657 }
concrete
action filter_type
action find_reverse
entity concrete
relation part of
type material
[{'concept': 'material'}, 'part of', 'concrete']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:material . ?g property:part_of resource:concrete }
[]
material
Q189340
SYSTEM
Zementleim
Q189340
(c(Q214609),P361,Q22657)
action filter_type
action find_reverse
entity Q22657
relation P361
type Q214609
A component of concrete is a [ANSWER]
[{'concept': 'Q214609'}, 'P361', 'Q22657']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q214609 . ?g property:P361 resource:Q22657 }
Zementleim
A component of concrete is a Zementleim
Zementleim
action filter_type
action find_reverse
entity concrete
relation part of
type material
[{'concept': 'material'}, 'part of', 'concrete']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:material . ?g property:part_of resource:concrete }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q846
P530
Q15617994
USER
How many administrative territories are known to have diplomatic connections with United States of America and Qatar ?
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P530 resource:Q30 . ?z rdf:type ontology:Q15617994 . ?z property:P530 resource:Q846 . ?z rdf:type ontology:Q15617994 }
United States of America Qatar
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:diplomatic_relation resource:United_States_of_America . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation resource:Qatar . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q858 Q929 Q805 Q230
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:P530 resource:Q30 . ?z rdf:type ontology:Q15617994 . ?z property:P530 resource:Q846 . ?z rdf:type ontology:Q15617994 }
Syria Central African Republic Yemen Georgia
4
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z property:diplomatic_relation resource:United_States_of_America . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation resource:Qatar . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]