Simple Question (Direct)
Simple Question
Q2195541
P27
Q15617994
USER
Which administrative territory is Martha Fierro a civilian of ?
(Q2195541,P27,c(Q15617994))
action filter_type
action find
entity Q2195541
relation P27
type Q15617994
['Q2195541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2195541 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Martha Fierro
action filter_type
action find
entity Martha Fierro
relation country of citizenship
type designation for an administrative territorial entity
['Martha Fierro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Martha_Fierro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q736
SYSTEM
Ecuador
Q736
(Q2195541,P27,c(Q15617994))
action filter_type
action find
entity Q2195541
relation P27
type Q15617994
[ANSWER] is Martha Fierro a civilian of
['Q2195541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2195541 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Ecuador
Ecuador is Martha Fierro a civilian of
Ecuador
action filter_type
action find
entity Martha Fierro
relation country of citizenship
type designation for an administrative territorial entity
['Martha Fierro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Martha_Fierro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q736
P35
Q502895
USER
Which person has the highest formal authority in that administrative territory ?
(Q736,P35,c(Q502895))
action filter_type
action find
entity Q736
relation P35
type Q502895
['Q736', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q736 property:P35 ?c . ?c rdf:type ontology:Q502895 }
Ecuador
action filter_type
action find
entity Ecuador
relation head of state
type common name
['Ecuador', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ecuador property:head_of_state ?c . ?c rdf:type ontology:common_name }
[]
common name
Q19581
SYSTEM
Ratael Correa
Q19581
(Q736,P35,c(Q502895))
action filter_type
action find
entity Q736
relation P35
type Q502895
[ANSWER] has the highest formal authority in that administrative territory
['Q736', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q736 property:P35 ?c . ?c rdf:type ontology:Q502895 }
Ratael Correa
Ratael Correa has the highest formal authority in that administrative territory
Ratael Correa
action filter_type
action find
entity Ecuador
relation head of state
type common name
['Ecuador', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ecuador property:head_of_state ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q736
P163
Q14660
USER
What is associated with that administrative territory ?
(Q19581,P163,c(Q14660))
action filter_type
action find
entity Q736
relation P163
type Q14660
['Q19581', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q14660 . resource:Q736 property:P163 ?f }
Ecuador
action filter_type
action find
entity Ecuador
relation flag
type flag
['Ratael Correa', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:flag . resource:Ecuador property:flag ?f }
[]
flag
Q165542
SYSTEM
flag of Ecuador
Q165542
(Q19581,P163,c(Q14660))
action filter_type
action find
entity Q736
relation P163
type Q14660
Ecuador [ANSWER] is associated with that administrative territory
['Q19581', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q14660 . resource:Q736 property:P163 ?f }
flag of Ecuador
Ecuador flag of Ecuador is associated with that administrative territory
flag of Ecuador
action filter_type
action find
entity Ecuador
relation flag
type flag
['Ratael Correa', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:flag . resource:Ecuador property:flag ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q165542 Q17073587
P163
Q15617994
USER
Does Mazraeh-ye Hajjiabad, Kazerun have flag named that one ?
(Q17073587,P163,Q165542)
action is_in
entity Q17073587
action find
entity Q165542
relation P163
['Q17073587', 'P163', 'Q165542']
ASK WHERE { resource:Q165542 property:P163 resource:Q17073587 }
flag of Ecuador Mazraeh-ye Hajjiabad, Kazerun
action is_in
entity Mazraeh-ye Hajjiabad, Kazerun
action find
entity flag of Ecuador
relation flag
['Mazraeh-ye Hajjiabad, Kazerun', 'flag', 'flag of Ecuador']
ASK WHERE { resource:flag_of_Ecuador property:flag resource:Mazraeh-ye_Hajjiabad,_Kazerun }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q17073587,P163,Q165542)
action is_in
entity Q17073587
action find
entity Q165542
relation P163
[ANSWER]
['Q17073587', 'P163', 'Q165542']
ASK WHERE { resource:Q165542 property:P163 resource:Q17073587 }
No
action is_in
entity Mazraeh-ye Hajjiabad, Kazerun
action find
entity flag of Ecuador
relation flag
['Mazraeh-ye Hajjiabad, Kazerun', 'flag', 'flag of Ecuador']
ASK WHERE { resource:flag_of_Ecuador property:flag resource:Mazraeh-ye_Hajjiabad,_Kazerun }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19581 Q736 Q25216
P27
Q15617994
USER
Is Ratael Correa a native of Ecuador and Varallo Sesia ?
(Q19581,P27,Q736) (Q19581,P27,Q25216)
action is_in
entity Q19581
action intersection
action find_reverse
entity Q736
relation P27
action find_reverse
entity Q25216
relation P27
['Q19581', 'P27', 'Q736'] ['Q19581', 'P27', 'Q25216']
ASK WHERE { resource:Q19581 property:P27 resource:Q25216 . resource:Q19581 property:P27 resource:Q736 }
Ratael Correa Ecuador Varallo Sesia
action is_in
entity Ratael Correa
action intersection
action find_reverse
entity Ecuador
relation country of citizenship
action find_reverse
entity Varallo Sesia
relation country of citizenship
['Ratael Correa', 'country of citizenship', 'Ecuador'] ['Ratael Correa', 'country of citizenship', 'Varallo Sesia']
ASK WHERE { resource:Ratael_Correa property:country_of_citizenship resource:Varallo_Sesia . resource:Ratael_Correa property:country_of_citizenship resource:Ecuador }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q19581,P27,Q736) (Q19581,P27,Q25216)
action is_in
entity Q19581
action intersection
action find_reverse
entity Q736
relation P27
action find_reverse
entity Q25216
relation P27
[ANSWER]
['Q19581', 'P27', 'Q736'] ['Q19581', 'P27', 'Q25216']
ASK WHERE { resource:Q19581 property:P27 resource:Q25216 . resource:Q19581 property:P27 resource:Q736 }
YES and NO respectively
action is_in
entity Ratael Correa
action intersection
action find_reverse
entity Ecuador
relation country of citizenship
action find_reverse
entity Varallo Sesia
relation country of citizenship
['Ratael Correa', 'country of citizenship', 'Ecuador'] ['Ratael Correa', 'country of citizenship', 'Varallo Sesia']
ASK WHERE { resource:Ratael_Correa property:country_of_citizenship resource:Varallo_Sesia . resource:Ratael_Correa property:country_of_citizenship resource:Ecuador }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P941
Q14660 Q14660
USER
Which flags had min number of flags as a source of inspiration ?
(c(Q14660),P941,c(Q14660))
action argmin
action find_tuple_counts
relation P941
type Q14660
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:P941 ?w . ?w rdf:type ontology:Q14660 . ?g rdf:type ontology:Q14660 } GROUP BY ?g } } . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { ?x property:P941 ?s . ?x rdf:type ontology:Q14660 . ?s rdf:type ontology:Q14660 } GROUP BY ?x } . FILTER ( ?e = ?j ) }
action argmin
action find_tuple_counts
relation inspired by
type flag
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:inspired_by ?w . ?w rdf:type ontology:flag . ?g rdf:type ontology:flag } GROUP BY ?g } } . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { ?x property:inspired_by ?s . ?x rdf:type ontology:flag . ?s rdf:type ontology:flag } GROUP BY ?x } . FILTER ( ?e = ?j ) }
[]
flag flag
Q429900 Q604735
SYSTEM
Flag of Saba, Flag of Sint Maarten
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action argmin
action find_tuple_counts
relation P941
type Q14660
type Q14660
[ANSWERS] had min number of flags as a source of inspiration
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:P941 ?w . ?w rdf:type ontology:Q14660 . ?g rdf:type ontology:Q14660 } GROUP BY ?g } } . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { ?x property:P941 ?s . ?x rdf:type ontology:Q14660 . ?s rdf:type ontology:Q14660 } GROUP BY ?x } . FILTER ( ?e = ?j ) }
Flag of Saba Flag of Sint Maarten
Flag of Saba and Flag of Sint Maarten had min number of flags as a source of inspiration
Flag of Saba Flag of Sint Maarten
action argmin
action find_tuple_counts
relation inspired by
type flag
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:inspired_by ?w . ?w rdf:type ontology:flag . ?g rdf:type ontology:flag } GROUP BY ?g } } . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { ?x property:inspired_by ?s . ?x rdf:type ontology:flag . ?s rdf:type ontology:flag } GROUP BY ?x } . FILTER ( ?e = ?j ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P163
Q14660 Q13220204
USER
Which flags have more number of administrative country subdivisions as their flag than that flag ?
(c(Q13220204),P163,c(Q14660))
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
flag second-level administrative country subdivision
Comparative|More/Less|Single entity type|Clarification
Q429900
SYSTEM
Did you mean Flag of Saba ?
(c(Q13220204),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
Did you mean Flag of Saba ?
Flag of Saba
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
Comparative Reasoning (All)
USER
No, I meant Flag of Sint Maarten. Could you tell me the answer for that?
(c(Q13220204),P163,c(Q14660))
Q604735
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
[]
Q543471 Q1426379
SYSTEM
Flag of the Region of Murcia, Flag of Amsterdam
Q543471 Q1426379
(c(Q13220204),P163,c(Q14660))
[ANSWERS] have more number of administrative country subdivisions as their flag than that flag
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q14660 }
Flag of the Region of Murcia Flag of Amsterdam
Flag of the Region of Murcia and Flag of Amsterdam have more number of administrative country subdivisions as their flag than that flag
Flag of the Region of Murcia Flag of Amsterdam
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?z property:flag ?y . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q543471 Q1426379
P1001
Q13220204
USER
Which administrative country subdivisions are judicially linked to Flag of the Region of Murcia and Flag of Amsterdam ?
(Q543471,P1001,c(Q13220204)) (Q1426379,P1001,c(Q13220204))
action union
action filter_type
action find
entity Q543471
relation P1001
type Q13220204
action filter_type
action find
entity Q1426379
relation P1001
type Q13220204
['Q543471', 'P1001', {'concept': 'Q13220204'}] ['Q1426379', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { resource:Q543471 property:P1001 ?w . ?w rdf:type ontology:Q13220204 } UNION { resource:Q1426379 property:P1001 ?w . ?w rdf:type ontology:Q13220204 } }
Flag of the Region of Murcia Flag of Amsterdam
action union
action filter_type
action find
entity Flag of the Region of Murcia
relation applies to jurisdiction
type second-level administrative country subdivision
action filter_type
action find
entity Flag of Amsterdam
relation applies to jurisdiction
type second-level administrative country subdivision
['Flag of the Region of Murcia', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}] ['Flag of Amsterdam', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { resource:Flag_of_the_Region_of_Murcia property:applies_to_jurisdiction ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Flag_of_Amsterdam property:applies_to_jurisdiction ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
Q5772 Q9899
SYSTEM
Region of Murcia, Amsterdam
Q5772 Q9899
(Q543471,P1001,c(Q13220204)) (Q1426379,P1001,c(Q13220204))
action union
action filter_type
action find
entity Q543471
relation P1001
type Q13220204
action filter_type
action find
entity Q1426379
relation P1001
type Q13220204
[ANSWERS] are judicially linked to Flag of the Region of Murcia and Flag of Amsterdam
['Q543471', 'P1001', {'concept': 'Q13220204'}] ['Q1426379', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { resource:Q543471 property:P1001 ?w . ?w rdf:type ontology:Q13220204 } UNION { resource:Q1426379 property:P1001 ?w . ?w rdf:type ontology:Q13220204 } }
Region of Murcia Amsterdam
Region of Murcia and Amsterdam are judicially linked to Flag of the Region of Murcia and Flag of Amsterdam
Region of Murcia Amsterdam
action union
action filter_type
action find
entity Flag of the Region of Murcia
relation applies to jurisdiction
type second-level administrative country subdivision
action filter_type
action find
entity Flag of Amsterdam
relation applies to jurisdiction
type second-level administrative country subdivision
['Flag of the Region of Murcia', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}] ['Flag of Amsterdam', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { resource:Flag_of_the_Region_of_Murcia property:applies_to_jurisdiction ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Flag_of_Amsterdam property:applies_to_jurisdiction ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5772 Q9899
P163
Q14660
USER
Which flags are associated with Region of Murcia and Amsterdam ?
(Q5772,P163,c(Q14660)) (Q9899,P163,c(Q14660))
action union
action filter_type
action find
entity Q5772
relation P163
type Q14660
action filter_type
action find
entity Q9899
relation P163
type Q14660
['Q5772', 'P163', {'concept': 'Q14660'}] ['Q9899', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { ?u property:P163 ?c . VALUES ( ?u ) { ( resource:Q5772 ) ( resource:Q9899 ) } }
Region of Murcia Amsterdam
action union
action filter_type
action find
entity Region of Murcia
relation flag
type flag
action filter_type
action find
entity Amsterdam
relation flag
type flag
['Region of Murcia', 'flag', {'concept': 'flag'}] ['Amsterdam', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { ?u property:flag ?c . VALUES ( ?u ) { ( resource:Region_of_Murcia ) ( resource:Amsterdam ) } }
[]
flag
Q543471 Q1426379
SYSTEM
Flag of the Region of Murcia, Flag of Amsterdam
Q543471 Q1426379
(Q5772,P163,c(Q14660)) (Q9899,P163,c(Q14660))
action union
action filter_type
action find
entity Q5772
relation P163
type Q14660
action filter_type
action find
entity Q9899
relation P163
type Q14660
And [ANSWERS] are associated with Region of Murcia and Amsterdam
['Q5772', 'P163', {'concept': 'Q14660'}] ['Q9899', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { ?u property:P163 ?c . VALUES ( ?u ) { ( resource:Q5772 ) ( resource:Q9899 ) } }
Flag of the Region of Murcia Flag of Amsterdam
And Flag of the Region of Murcia and Flag of Amsterdam are associated with Region of Murcia and Amsterdam
Flag of the Region of Murcia Flag of Amsterdam
action union
action filter_type
action find
entity Region of Murcia
relation flag
type flag
action filter_type
action find
entity Amsterdam
relation flag
type flag
['Region of Murcia', 'flag', {'concept': 'flag'}] ['Amsterdam', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { ?u property:flag ?c . VALUES ( ?u ) { ( resource:Region_of_Murcia ) ( resource:Amsterdam ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9899
P159
Q476028
USER
Which association football club has its head office location at Amsterdam ?
(c(Q476028),P159,Q9899)
action filter_type
action find_reverse
entity Q9899
relation P159
type Q476028
[{'concept': 'Q476028'}, 'P159', 'Q9899']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q476028 . ?o property:P159 resource:Q9899 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation headquarters location
type association football club
[{'concept': 'association football club'}, 'headquarters location', 'Amsterdam']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:association_football_club . ?o property:headquarters_location resource:Amsterdam }
[]
association football club
Q478766
SYSTEM
Door Wilskracht Sterk
Q478766
(c(Q476028),P159,Q9899)
action filter_type
action find_reverse
entity Q9899
relation P159
type Q476028
[ANSWER] has its head office location at Amsterdam
[{'concept': 'Q476028'}, 'P159', 'Q9899']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q476028 . ?o property:P159 resource:Q9899 }
Door Wilskracht Sterk
Door Wilskracht Sterk has its head office location at Amsterdam
Door Wilskracht Sterk
action filter_type
action find_reverse
entity Amsterdam
relation headquarters location
type association football club
[{'concept': 'association football club'}, 'headquarters location', 'Amsterdam']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:association_football_club . ?o property:headquarters_location resource:Amsterdam }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q478766
P641
Q349
USER
Which sport was that association football club a part of ?
(Q478766,P641,c(Q349))
action filter_type
action find
entity Q478766
relation P641
type Q349
['Q478766', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q478766 property:P641 ?q . ?q rdf:type ontology:Q349 }
Door Wilskracht Sterk
action filter_type
action find
entity Door Wilskracht Sterk
relation sport
type sport
['Door Wilskracht Sterk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Door_Wilskracht_Sterk property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q478766,P641,c(Q349))
action filter_type
action find
entity Q478766
relation P641
type Q349
Club [ANSWER] was that [ANSWER] club a part of
['Q478766', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q478766 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Club association football was that association football club a part of
association football
action filter_type
action find
entity Door Wilskracht Sterk
relation sport
type sport
['Door Wilskracht Sterk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Door_Wilskracht_Sterk property:sport ?q . ?q rdf:type ontology:sport }
[]