Simple Question (Direct)
Simple Question
Q1109093
P17
Q15617994
USER
Which administrative territory does College of Wooster belong to ?
(Q1109093,P17,c(Q15617994))
action filter_type
action find
entity Q1109093
relation P17
type Q15617994
['Q1109093', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1109093 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
College of Wooster
action filter_type
action find
entity College of Wooster
relation country
type designation for an administrative territorial entity
['College of Wooster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:College_of_Wooster property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1109093,P17,c(Q15617994))
action filter_type
action find
entity Q1109093
relation P17
type Q15617994
College of Wooster belongs to the [ANSWER]
['Q1109093', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1109093 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
College of Wooster belongs to the United States of America
United States of America
action filter_type
action find
entity College of Wooster
relation country
type designation for an administrative territorial entity
['College of Wooster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:College_of_Wooster property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1109093
P123
Q21114848
USER
Which magazine genre was published by that nonprofit organization ?
(c(Q21114848),P123,Q30)
action filter_type
action find_reverse
entity Q1109093
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P123 resource:Q1109093 . ?a rdf:type ontology:Q21114848 }
College of Wooster
action filter_type
action find_reverse
entity College of Wooster
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:publisher resource:College_of_Wooster . ?a rdf:type ontology:magazine_genre }
[]
magazine genre
Q4797587
SYSTEM
Artful Dodge
Q4797587
(c(Q21114848),P123,Q30)
action filter_type
action find_reverse
entity Q1109093
relation P123
type Q21114848
The [ANSWER] was published by that nonprofit organization
[{'concept': 'Q21114848'}, 'P123', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P123 resource:Q1109093 . ?a rdf:type ontology:Q21114848 }
Artful Dodge
The Artful Dodge was published by that nonprofit organization
Artful Dodge
action filter_type
action find_reverse
entity College of Wooster
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:publisher resource:College_of_Wooster . ?a rdf:type ontology:magazine_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21003741 Q30
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America or are the native countriesof Vilma Díaz ?
OR((Q30,P530,c(Q15617994)), (Q21003741,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q21003741
relation P27
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q21003741', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q30 property:P530 ?p } UNION { resource:Q21003741 property:P27 ?p } } }
Vilma Díaz United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Vilma Díaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vilma Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_of_America property:diplomatic_relation ?p } UNION { resource:Vilma_Díaz property:country_of_citizenship ?p } } }
[]
designation for an administrative territorial entity
Q37 Q796 Q222 Q668 Q801 Q17 Q805 Q38 Q155 Q1011
SYSTEM
Some of them are Lithuania, Iraq, Albania, India, Israel, Japan, Yemen, Italy, Brazil, Cape Verde
Q739 Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q21003741,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q21003741
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America or are the native countriesof Vilma Díaz
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q21003741', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q30 property:P530 ?p } UNION { resource:Q21003741 property:P27 ?p } } }
Colombia Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Lithuania, Iraq, Albania, India, Israel, Japan, Yemen, Italy, Brazil and Cape Verde have diplomatic relationships with United States of America or are the native countriesof Vilma Díaz
Lithuania Iraq Albania India Israel Japan Yemen Italy Brazil Cape Verde
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Vilma Díaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vilma Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_of_America property:diplomatic_relation ?p } UNION { resource:Vilma_Díaz property:country_of_citizenship ?p } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q17335294 Q14660
USER
Which administrative territories belong to jurisdiction of exactly 2 coats of arms or flags ?
(c(Q17335294)|c(Q14660),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 2
[[{'concept': 'Q17335294'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P1001 ?x . ?r rdf:type ontology:Q17335294 . ?x rdf:type ontology:Q15617994 } UNION { ?r property:P1001 ?x . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q14660 } } GROUP BY ?x } . FILTER ( ?e = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 2
[[{'concept': 'flag or coat of arms'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:applies_to_jurisdiction ?x . ?r rdf:type ontology:flag_or_coat_of_arms . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:applies_to_jurisdiction ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:flag } } GROUP BY ?x } . FILTER ( ?e = 2 ) }
[]
designation for an administrative territorial entity flag or coat of arms flag
Q159 Q889 Q962
SYSTEM
Russia, Afghanistan, Benin
Q159 Q889 Q962 Q176
(c(Q17335294)|c(Q14660),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 2
[ANSWERS] belong to jurisdiction of exactly 2 coats of arms or flags
[[{'concept': 'Q17335294'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P1001 ?x . ?r rdf:type ontology:Q17335294 . ?x rdf:type ontology:Q15617994 } UNION { ?r property:P1001 ?x . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q14660 } } GROUP BY ?x } . FILTER ( ?e = 2 ) }
Russia Afghanistan Benin Quebec
Russia, Afghanistan and Benin belong to jurisdiction of exactly 2 coats of arms or flags
Russia Afghanistan Benin
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 2
[[{'concept': 'flag or coat of arms'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:applies_to_jurisdiction ?x . ?r rdf:type ontology:flag_or_coat_of_arms . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:applies_to_jurisdiction ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:flag } } GROUP BY ?x } . FILTER ( ?e = 2 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13419
P530
Q1048835
USER
Do Bordils have tactful political relations with those administrative territories ?
(Q13419,P530,Q159) (Q13419,P530,Q889) (Q13419,P530,Q962)
action is_in
entity prev_answer
action find
entity Q13419
relation P530
['Q13419', 'P530', 'Q159'] ['Q13419', 'P530', 'Q889'] ['Q13419', 'P530', 'Q962']
ASK WHERE { resource:Q13419 property:P530 ?b . VALUES ( ?b ) { ( resource:Q159 ) ( resource:Q889 ) ( resource:Q962 ) } }
Bordils
action is_in
entity prev_answer
action find
entity Bordils
relation diplomatic relation
['Bordils', 'diplomatic relation', 'Russia'] ['Bordils', 'diplomatic relation', 'Afghanistan'] ['Bordils', 'diplomatic relation', 'Benin']
ASK WHERE { resource:Bordils property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Russia ) ( resource:Afghanistan ) ( resource:Benin ) } }
[]
political territorial entity
SYSTEM
NO
(Q13419,P530,Q159) (Q13419,P530,Q889) (Q13419,P530,Q962)
action is_in
entity prev_answer
action find
entity Q13419
relation P530
[ANSWER]
['Q13419', 'P530', 'Q159'] ['Q13419', 'P530', 'Q889'] ['Q13419', 'P530', 'Q962']
ASK WHERE { resource:Q13419 property:P530 ?b . VALUES ( ?b ) { ( resource:Q159 ) ( resource:Q889 ) ( resource:Q962 ) } }
No
action is_in
entity prev_answer
action find
entity Bordils
relation diplomatic relation
['Bordils', 'diplomatic relation', 'Russia'] ['Bordils', 'diplomatic relation', 'Afghanistan'] ['Bordils', 'diplomatic relation', 'Benin']
ASK WHERE { resource:Bordils property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Russia ) ( resource:Afghanistan ) ( resource:Benin ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4797587 Q36765
P364
Q34770
USER
Is Demotic considered to be the original language of creation of Artful Dodge ?
(Q4797587,P364,Q36765)
action is_in
entity Q36765
action find
entity Q4797587
relation P364
['Q4797587', 'P364', 'Q36765']
ASK WHERE { resource:Q4797587 property:P364 resource:Q36765 }
Artful Dodge Demotic
action is_in
entity Demotic
action find
entity Artful Dodge
relation original language of work
['Artful Dodge', 'original language of work', 'Demotic']
ASK WHERE { resource:Artful_Dodge property:original_language_of_work resource:Demotic }
[]
language
SYSTEM
NO
(Q4797587,P364,Q36765)
action is_in
entity Q36765
action find
entity Q4797587
relation P364
[ANSWER]
['Q4797587', 'P364', 'Q36765']
ASK WHERE { resource:Q4797587 property:P364 resource:Q36765 }
No
action is_in
entity Demotic
action find
entity Artful Dodge
relation original language of work
['Artful Dodge', 'original language of work', 'Demotic']
ASK WHERE { resource:Artful_Dodge property:original_language_of_work resource:Demotic }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1661356 Q889
P530 P495
Q1048835
USER
Which political territories have a diplomatic relationship with Afghanistan or did Indien originate ?
OR((Q889,P530,c(Q1048835)), (Q1661356,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q889
relation P530
action find
entity Q1661356
relation P495
type Q1048835
{'OR': [['Q889', 'P530', {'concept': 'Q1048835'}], ['Q1661356', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { { resource:Q889 property:P530 ?o } UNION { resource:Q1661356 property:P495 ?o } } }
Indien Afghanistan
action filter_type
action union
action find
entity Afghanistan
relation diplomatic relation
action find
entity Indien
relation country of origin
type political territorial entity
{'OR': [['Afghanistan', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Indien', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { { resource:Afghanistan property:diplomatic_relation ?o } UNION { resource:Indien property:country_of_origin ?o } } }
[]
political territorial entity
Q408 Q16 Q183 Q40
SYSTEM
Australia, Canada, Germany, Austria
Q408 Q16 Q183 Q40
OR((Q889,P530,c(Q1048835)), (Q1661356,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q889
relation P530
action find
entity Q1661356
relation P495
type Q1048835
[ANSWERS] have a diplomatic relationship with Afghanistan or did Indien originate
{'OR': [['Q889', 'P530', {'concept': 'Q1048835'}], ['Q1661356', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . { { resource:Q889 property:P530 ?o } UNION { resource:Q1661356 property:P495 ?o } } }
Australia Canada Germany Austria
Australia, Canada, Germany and Austria have a diplomatic relationship with Afghanistan or did Indien originate
Australia Canada Germany Austria
action filter_type
action union
action find
entity Afghanistan
relation diplomatic relation
action find
entity Indien
relation country of origin
type political territorial entity
{'OR': [['Afghanistan', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Indien', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . { { resource:Afghanistan property:diplomatic_relation ?o } UNION { resource:Indien property:country_of_origin ?o } } }
[]