Simple Question (Direct)
Simple Question
Q11618533
P27
Q15617994
USER
Which administrative territory does Tsutomu Arakawa belong to ?
(Q11618533,P27,c(Q15617994))
action filter_type
action find
entity Q11618533
relation P27
type Q15617994
['Q11618533', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11618533 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Tsutomu Arakawa
action filter_type
action find
entity Tsutomu Arakawa
relation country of citizenship
type designation for an administrative territorial entity
['Tsutomu Arakawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Tsutomu_Arakawa property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11618533,P27,c(Q15617994))
action filter_type
action find
entity Q11618533
relation P27
type Q15617994
Tsutomu Arakawa belongs to [ANSWER]
['Q11618533', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11618533 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Japan
Tsutomu Arakawa belongs to Japan
Japan
action filter_type
action find
entity Tsutomu Arakawa
relation country of citizenship
type designation for an administrative territorial entity
['Tsutomu Arakawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Tsutomu_Arakawa property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11618533
P734
Q82799
USER
Who is associated with Tsutomu Arakawa ?
(Q11618533,P734,c(Q82799))
action filter_type
action find
entity Q11618533
relation P734
type Q82799
['Q11618533', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q11618533 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Tsutomu Arakawa
action filter_type
action find
entity Tsutomu Arakawa
relation family name
type name
['Tsutomu Arakawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Tsutomu_Arakawa property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q16147886
SYSTEM
Arakawa
Q16147886
(Q11618533,P734,c(Q82799))
action filter_type
action find
entity Q11618533
relation P734
type Q82799
To [ANSWER] is associated with Tsutomu [ANSWER]
['Q11618533', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q11618533 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Arakawa
To Arakawa is associated with Tsutomu Arakawa
Arakawa
action filter_type
action find
entity Tsutomu Arakawa
relation family name
type name
['Tsutomu Arakawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Tsutomu_Arakawa property:family_name ?u . ?u rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q634257
Q82799
USER
And how about Hugo Pérez?
(Q634257,P734,c(Q82799))
action filter_type
action find
entity Q634257
relation P734
type Q82799
['Q634257', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q634257 property:P734 ?r }
Hugo Pérez
action filter_type
action find
entity Hugo Pérez
relation family name
type name
['Hugo Pérez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Hugo_Pérez property:family_name ?r }
[]
name
Q383010
SYSTEM
Pérez
Q383010
(Q634257,P734,c(Q82799))
action filter_type
action find
entity Q634257
relation P734
type Q82799
[ANSWER]
['Q634257', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q634257 property:P734 ?r }
Pérez
Pérez
action filter_type
action find
entity Hugo Pérez
relation family name
type name
['Hugo Pérez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Hugo_Pérez property:family_name ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q634257
P1344
Q15275719
USER
Which recurring event did that person participate in ?
(Q383010,P1344,c(Q15275719))
action filter_type
action find
entity Q634257
relation P1344
type Q15275719
['Q383010', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q634257 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
Hugo Pérez
action filter_type
action find
entity Hugo Pérez
relation participant of
type recurring event
['Pérez', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Hugo_Pérez property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q101751
SYSTEM
1994 FIFA World Cup
Q101751
(Q383010,P1344,c(Q15275719))
action filter_type
action find
entity Q634257
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q383010', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q634257 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
1994 FIFA World Cup
That person participated in 1994 FIFA World Cup
1994 FIFA World Cup
action filter_type
action find
entity Hugo Pérez
relation participant of
type recurring event
['Pérez', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Hugo_Pérez property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q82799 Q82799
USER
Which names have exactly 1 geographic locations or names as their namesake ?
(c(Q82799),P138,c(Q2221906)|c(Q82799))
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q82799
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?p WHERE { VALUES ( ?e ) { ( ontology:Q2221906 ) ( ontology:Q82799 ) } . ?m rdf:type ?e } GROUP BY ?p } . FILTER ( ?s = 1 ) }
action equal
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type name
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'name'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?p WHERE { VALUES ( ?e ) { ( ontology:geographic_location ) ( ontology:name ) } . ?m rdf:type ?e } GROUP BY ?p } . FILTER ( ?s = 1 ) }
[]
geographic location name name
Q22922124 Q23727105 Q21507928
SYSTEM
von Mecklenburg-Schwerin, Poisson, Mouton
Q23727105 Q18043344 Q25115046 Q17747435 Q21507928 Q21493520 Q22922124
(c(Q82799),P138,c(Q2221906)|c(Q82799))
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q2221906
action find_tuple_counts
relation P138
type Q82799
type Q82799
value 1
[ANSWERS] have exactly 1 geographic locations or names as their namesake
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?p WHERE { VALUES ( ?e ) { ( ontology:Q2221906 ) ( ontology:Q82799 ) } . ?m rdf:type ?e } GROUP BY ?p } . FILTER ( ?s = 1 ) }
Poisson Renard Louarn Ruzena Mouton Bergmann von Mecklenburg-Schwerin
Von Mecklenburg-Schwerin, Poisson and Mouton have exactly 1 geographic locations or names as their namesake
von Mecklenburg-Schwerin Poisson Mouton
action equal
action union
action find_tuple_counts
relation named after
type name
type geographic location
action find_tuple_counts
relation named after
type name
type name
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'name'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?p WHERE { VALUES ( ?e ) { ( ontology:geographic_location ) ( ontology:name ) } . ?m rdf:type ?e } GROUP BY ?p } . FILTER ( ?s = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16730691 Q634257
P27
Q15617994
USER
Which administrative territories are Hugo Pérez and Keith Greiner an inhabitant of ?
AND((Q634257,P27,c(Q15617994)), (Q16730691,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q634257
relation P27
action find
entity Q16730691
relation P27
type Q15617994
{'AND': [['Q634257', 'P27', {'concept': 'Q15617994'}], ['Q16730691', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q634257 property:P27 ?w . resource:Q16730691 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Keith Greiner Hugo Pérez
action filter_type
action intersection
action find
entity Hugo Pérez
relation country of citizenship
action find
entity Keith Greiner
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Hugo Pérez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Keith Greiner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Hugo_Pérez property:country_of_citizenship ?w . resource:Keith_Greiner property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q634257,P27,c(Q15617994)), (Q16730691,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q634257
relation P27
action find
entity Q16730691
relation P27
type Q15617994
[ANSWER] is Hugo Pérez and Keith Greiner an inhabitant of
{'AND': [['Q634257', 'P27', {'concept': 'Q15617994'}], ['Q16730691', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q634257 property:P27 ?w . resource:Q16730691 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is Hugo Pérez and Keith Greiner an inhabitant of
United States of America
action filter_type
action intersection
action find
entity Hugo Pérez
relation country of citizenship
action find
entity Keith Greiner
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Hugo Pérez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Keith Greiner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Hugo_Pérez property:country_of_citizenship ?w . resource:Keith_Greiner property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9295276 Q634257
P27
Q15617994
USER
Which administrative territories do Hugo Pérez or Huy Kanthoul belong to ?
OR((Q634257,P27,c(Q15617994)), (Q9295276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q634257
relation P27
action find
entity Q9295276
relation P27
type Q15617994
{'OR': [['Q634257', 'P27', {'concept': 'Q15617994'}], ['Q9295276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Q634257 ) ( resource:Q9295276 ) } . ?c property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Huy Kanthoul Hugo Pérez
action filter_type
action union
action find
entity Hugo Pérez
relation country of citizenship
action find
entity Huy Kanthoul
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hugo Pérez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Huy Kanthoul', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Hugo_Pérez ) ( resource:Huy_Kanthoul ) } . ?c property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q792 Q30 Q424
SYSTEM
El Salvador, United States of America, Cambodia
Q792 Q30 Q424
OR((Q634257,P27,c(Q15617994)), (Q9295276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q634257
relation P27
action find
entity Q9295276
relation P27
type Q15617994
Hugo Pérez or Huy Kanthoul belong to [ANSWERS]
{'OR': [['Q634257', 'P27', {'concept': 'Q15617994'}], ['Q9295276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Q634257 ) ( resource:Q9295276 ) } . ?c property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
El Salvador United States of America Cambodia
Hugo Pérez or Huy Kanthoul belong to El Salvador, United States of America and Cambodia
El Salvador United States of America Cambodia
action filter_type
action union
action find
entity Hugo Pérez
relation country of citizenship
action find
entity Huy Kanthoul
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hugo Pérez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Huy Kanthoul', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Hugo_Pérez ) ( resource:Huy_Kanthoul ) } . ?c property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1799332
P530
Q1048835
USER
Do Treviso, Santa Catarina have diplomatic associations with those administrative territories ?
(Q1799332,P530,Q792) (Q1799332,P530,Q30) (Q1799332,P530,Q424)
action is_in
entity prev_answer
action find
entity Q1799332
relation P530
['Q1799332', 'P530', 'Q792'] ['Q1799332', 'P530', 'Q30'] ['Q1799332', 'P530', 'Q424']
ASK WHERE { resource:Q1799332 property:P530 ?z . VALUES ( ?z ) { ( resource:Q792 ) ( resource:Q30 ) ( resource:Q424 ) } }
Treviso, Santa Catarina
action is_in
entity prev_answer
action find
entity Treviso, Santa Catarina
relation diplomatic relation
['Treviso, Santa Catarina', 'diplomatic relation', 'El Salvador'] ['Treviso, Santa Catarina', 'diplomatic relation', 'United States of America'] ['Treviso, Santa Catarina', 'diplomatic relation', 'Cambodia']
ASK WHERE { resource:Treviso,_Santa_Catarina property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:El_Salvador ) ( resource:United_States_of_America ) ( resource:Cambodia ) } }
[]
political territorial entity
SYSTEM
NO
(Q1799332,P530,Q792) (Q1799332,P530,Q30) (Q1799332,P530,Q424)
action is_in
entity prev_answer
action find
entity Q1799332
relation P530
[ANSWER]
['Q1799332', 'P530', 'Q792'] ['Q1799332', 'P530', 'Q30'] ['Q1799332', 'P530', 'Q424']
ASK WHERE { resource:Q1799332 property:P530 ?z . VALUES ( ?z ) { ( resource:Q792 ) ( resource:Q30 ) ( resource:Q424 ) } }
No
action is_in
entity prev_answer
action find
entity Treviso, Santa Catarina
relation diplomatic relation
['Treviso, Santa Catarina', 'diplomatic relation', 'El Salvador'] ['Treviso, Santa Catarina', 'diplomatic relation', 'United States of America'] ['Treviso, Santa Catarina', 'diplomatic relation', 'Cambodia']
ASK WHERE { resource:Treviso,_Santa_Catarina property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:El_Salvador ) ( resource:United_States_of_America ) ( resource:Cambodia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q792 Q209142
P530
Q1048835
USER
Does South Lanarkshire have diplomatic relations with El Salvador ?
(Q792,P530,Q209142)
action is_in
entity Q209142
action find
entity Q792
relation P530
['Q792', 'P530', 'Q209142']
ASK WHERE { resource:Q792 property:P530 resource:Q209142 }
El Salvador South Lanarkshire
action is_in
entity South Lanarkshire
action find
entity El Salvador
relation diplomatic relation
['El Salvador', 'diplomatic relation', 'South Lanarkshire']
ASK WHERE { resource:El_Salvador property:diplomatic_relation resource:South_Lanarkshire }
[]
political territorial entity
SYSTEM
NO
(Q792,P530,Q209142)
action is_in
entity Q209142
action find
entity Q792
relation P530
[ANSWER]
['Q792', 'P530', 'Q209142']
ASK WHERE { resource:Q792 property:P530 resource:Q209142 }
No
action is_in
entity South Lanarkshire
action find
entity El Salvador
relation diplomatic relation
['El Salvador', 'diplomatic relation', 'South Lanarkshire']
ASK WHERE { resource:El_Salvador property:diplomatic_relation resource:South_Lanarkshire }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792
P495
Q746549
USER
What is El Salvador a country of origin of ?
(c(Q746549),P495,Q792)
action filter_type
action find_reverse
entity Q792
relation P495
type Q746549
[{'concept': 'Q746549'}, 'P495', 'Q792']
SELECT DISTINCT ?c WHERE { ?c property:P495 resource:Q792 . ?c rdf:type ontology:Q746549 }
El Salvador
action filter_type
action find_reverse
entity El Salvador
relation country of origin
type dish
[{'concept': 'dish'}, 'country of origin', 'El Salvador']
SELECT DISTINCT ?c WHERE { ?c property:country_of_origin resource:El_Salvador . ?c rdf:type ontology:dish }
[]
dish
Q5195625
SYSTEM
Curtido
Q5195625
(c(Q746549),P495,Q792)
action filter_type
action find_reverse
entity Q792
relation P495
type Q746549
[ANSWER] is El Salvador a country of origin of
[{'concept': 'Q746549'}, 'P495', 'Q792']
SELECT DISTINCT ?c WHERE { ?c property:P495 resource:Q792 . ?c rdf:type ontology:Q746549 }
Curtido
Curtido is El Salvador a country of origin of
Curtido
action filter_type
action find_reverse
entity El Salvador
relation country of origin
type dish
[{'concept': 'dish'}, 'country of origin', 'El Salvador']
SELECT DISTINCT ?c WHERE { ?c property:country_of_origin resource:El_Salvador . ?c rdf:type ontology:dish }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792
P35
Q502895
USER
Which person is the head of state of El Salvador ?
(Q792,P35,c(Q502895))
action filter_type
action find
entity Q792
relation P35
type Q502895
['Q792', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q792 property:P35 ?m }
El Salvador
action filter_type
action find
entity El Salvador
relation head of state
type common name
['El Salvador', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:El_Salvador property:head_of_state ?m }
[]
common name
Q936831
SYSTEM
Salvador Sánchez Cerén
Q936831
(Q792,P35,c(Q502895))
action filter_type
action find
entity Q792
relation P35
type Q502895
[ANSWER] is the head of state of El Salvador
['Q792', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q792 property:P35 ?m }
Salvador Sánchez Cerén
Salvador Sánchez Cerén is the head of state of El Salvador
Salvador Sánchez Cerén
action filter_type
action find
entity El Salvador
relation head of state
type common name
['El Salvador', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:El_Salvador property:head_of_state ?m }
[]