Simple Question (Direct)
Simple Question
Q3938202
P54
Q1194951
USER
Which national sports team is Robert Arias a member of ?
(Q3938202,P54,c(Q1194951))
action filter_type
action find
entity Q3938202
relation P54
type Q1194951
['Q3938202', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q3938202 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Robert Arias
action filter_type
action find
entity Robert Arias
relation member of sports team
type national sports team
['Robert Arias', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Arias property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q194387
SYSTEM
Costa Rica national football team
Q194387
(Q3938202,P54,c(Q1194951))
action filter_type
action find
entity Q3938202
relation P54
type Q1194951
The [ANSWER] is Robert Arias a member of
['Q3938202', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q3938202 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Costa Rica national football team
The Costa Rica national football team is Robert Arias a member of
Costa Rica national football team
action filter_type
action find
entity Robert Arias
relation member of sports team
type national sports team
['Robert Arias', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Arias property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q194387
P108
Q502895
USER
Which person has that national sports team as its employer ?
(c(Q502895),P108,Q194387)
action filter_type
action find_reverse
entity Q194387
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q194387']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q194387 . ?l rdf:type ontology:Q502895 }
Costa Rica national football team
action filter_type
action find_reverse
entity Costa Rica national football team
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Costa Rica national football team']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Costa_Rica_national_football_team . ?l rdf:type ontology:common_name }
[]
common name
Q428402
SYSTEM
Óscar Ramírez
Q428402
(c(Q502895),P108,Q194387)
action filter_type
action find_reverse
entity Q194387
relation P108
type Q502895
[ANSWER] has that national sports team as its employer
[{'concept': 'Q502895'}, 'P108', 'Q194387']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q194387 . ?l rdf:type ontology:Q502895 }
Óscar Ramírez
Óscar Ramírez has that national sports team as its employer
Óscar Ramírez
action filter_type
action find_reverse
entity Costa Rica national football team
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Costa Rica national football team']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Costa_Rica_national_football_team . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q428402 Q26699367 Q26690944
P106
Q12737077
USER
Does Óscar Ramírez have career as mayor of Bergondo and mayor of Oquendo ?
(Q428402,P106,Q26699367) (Q428402,P106,Q26690944)
action is_in
entity Q428402
action intersection
action find_reverse
entity Q26699367
relation P106
action find_reverse
entity Q26690944
relation P106
['Q428402', 'P106', 'Q26699367'] ['Q428402', 'P106', 'Q26690944']
ASK WHERE { resource:Q428402 property:P106 resource:Q26699367 . resource:Q428402 property:P106 resource:Q26690944 }
Óscar Ramírez mayor of Bergondo mayor of Oquendo
action is_in
entity Óscar Ramírez
action intersection
action find_reverse
entity mayor of Bergondo
relation occupation
action find_reverse
entity mayor of Oquendo
relation occupation
['Óscar Ramírez', 'occupation', 'mayor of Bergondo'] ['Óscar Ramírez', 'occupation', 'mayor of Oquendo']
ASK WHERE { resource:Óscar_Ramírez property:occupation resource:mayor_of_Bergondo . resource:Óscar_Ramírez property:occupation resource:mayor_of_Oquendo }
[]
occupation
SYSTEM
NO
(Q428402,P106,Q26699367) (Q428402,P106,Q26690944)
action is_in
entity Q428402
action intersection
action find_reverse
entity Q26699367
relation P106
action find_reverse
entity Q26690944
relation P106
[ANSWER]
['Q428402', 'P106', 'Q26699367'] ['Q428402', 'P106', 'Q26690944']
ASK WHERE { resource:Q428402 property:P106 resource:Q26699367 . resource:Q428402 property:P106 resource:Q26690944 }
No
action is_in
entity Óscar Ramírez
action intersection
action find_reverse
entity mayor of Bergondo
relation occupation
action find_reverse
entity mayor of Oquendo
relation occupation
['Óscar Ramírez', 'occupation', 'mayor of Bergondo'] ['Óscar Ramírez', 'occupation', 'mayor of Oquendo']
ASK WHERE { resource:Óscar_Ramírez property:occupation resource:mayor_of_Bergondo . resource:Óscar_Ramírez property:occupation resource:mayor_of_Oquendo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3938202 Q800
P27
Q15617994
USER
Is Costa Rica the country of citizenship of Robert Arias ?
(Q3938202,P27,Q800)
action is_in
entity Q800
action find
entity Q3938202
relation P27
['Q3938202', 'P27', 'Q800']
ASK WHERE { resource:Q3938202 property:P27 resource:Q800 }
Robert Arias Costa Rica
action is_in
entity Costa Rica
action find
entity Robert Arias
relation country of citizenship
['Robert Arias', 'country of citizenship', 'Costa Rica']
ASK WHERE { resource:Robert_Arias property:country_of_citizenship resource:Costa_Rica }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3938202,P27,Q800)
action is_in
entity Q800
action find
entity Q3938202
relation P27
[ANSWER]
['Q3938202', 'P27', 'Q800']
ASK WHERE { resource:Q3938202 property:P27 resource:Q800 }
Yes
action is_in
entity Costa Rica
action find
entity Robert Arias
relation country of citizenship
['Robert Arias', 'country of citizenship', 'Costa Rica']
ASK WHERE { resource:Robert_Arias property:country_of_citizenship resource:Costa_Rica }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194387
P1344
Q15275719
USER
Which recurring events did Costa Rica national football team take part in ?
(Q194387,P1344,c(Q15275719))
action filter_type
action find
entity Q194387
relation P1344
type Q15275719
['Q194387', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?w WHERE { resource:Q194387 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
Costa Rica national football team
action filter_type
action find
entity Costa Rica national football team
relation participant of
type recurring event
['Costa Rica national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?w WHERE { resource:Costa_Rica_national_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q132529 Q47735 Q37285 Q79859
(Q194387,P1344,c(Q15275719))
action filter_type
action find
entity Q194387
relation P1344
type Q15275719
Costa Rica national football team took in part in [ANSWERS]
['Q194387', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?w WHERE { resource:Q194387 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
1990 FIFA World Cup 2002 FIFA World Cup 2006 FIFA World Cup 2014 FIFA World Cup
Costa Rica national football team took in part in 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action filter_type
action find
entity Costa Rica national football team
relation participant of
type recurring event
['Costa Rica national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?w WHERE { resource:Costa_Rica_national_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q234460 Q15416 Q502895
USER
Which people appear in approximately 3 texts and television programs ?
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 3
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:P1441 ?o . ?r rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 } UNION { ?r property:P1441 ?o . ?r rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15416 } } GROUP BY ?r } . FILTER ( ?c = 3 ) }
action approx
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
value 3
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:present_in_work ?o . ?r rdf:type ontology:common_name . ?o rdf:type ontology:text } UNION { ?r property:present_in_work ?o . ?r rdf:type ontology:common_name . ?o rdf:type ontology:television_program } } GROUP BY ?r } . FILTER ( ?c = 3 ) }
[]
text television program common name
Q9077 Q41370 Q81422
SYSTEM
Moses, David, Noah
Q9077 Q41370 Q81422
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 3
[ANSWERS] appear in approximately 3 texts and television programs
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:P1441 ?o . ?r rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 } UNION { ?r property:P1441 ?o . ?r rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15416 } } GROUP BY ?r } . FILTER ( ?c = 3 ) }
Moses David Noah
Moses, David and Noah appear in approximately 3 texts and television programs
Moses David Noah
action approx
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
value 3
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:present_in_work ?o . ?r rdf:type ontology:common_name . ?o rdf:type ontology:text } UNION { ?r property:present_in_work ?o . ?r rdf:type ontology:common_name . ?o rdf:type ontology:television_program } } GROUP BY ?r } . FILTER ( ?c = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16223409 Q194387
P27 P1532
Q15617994
USER
Which administrative territories are played by Costa Rica national football team or are the countries of citizenship of Jessie Rodriguez ?
OR((Q194387,P1532,c(Q15617994)), (Q16223409,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q194387
relation P1532
action find
entity Q16223409
relation P27
type Q15617994
{'OR': [['Q194387', 'P1532', {'concept': 'Q15617994'}], ['Q16223409', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q194387 property:P1532 ?l } UNION { resource:Q16223409 property:P27 ?l } } }
Jessie Rodriguez Costa Rica national football team
action filter_type
action union
action find
entity Costa Rica national football team
relation country for sport
action find
entity Jessie Rodriguez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Rica national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Jessie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Costa_Rica_national_football_team property:country_for_sport ?l } UNION { resource:Jessie_Rodriguez property:country_of_citizenship ?l } } }
[]
designation for an administrative territorial entity
Q792 Q30 Q800
SYSTEM
El Salvador, United States of America, Costa Rica
Q792 Q30 Q800
OR((Q194387,P1532,c(Q15617994)), (Q16223409,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q194387
relation P1532
action find
entity Q16223409
relation P27
type Q15617994
[ANSWERS] are played by Costa Rica national football team or are the countries of citizenship of Jessie Rodriguez
{'OR': [['Q194387', 'P1532', {'concept': 'Q15617994'}], ['Q16223409', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q194387 property:P1532 ?l } UNION { resource:Q16223409 property:P27 ?l } } }
El Salvador United States of America Costa Rica
El Salvador, United States of America and Costa Rica are played by Costa Rica national football team or are the countries of citizenship of Jessie Rodriguez
El Salvador United States of America Costa Rica
action filter_type
action union
action find
entity Costa Rica national football team
relation country for sport
action find
entity Jessie Rodriguez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Rica national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Jessie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Costa_Rica_national_football_team property:country_for_sport ?l } UNION { resource:Jessie_Rodriguez property:country_of_citizenship ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5951483 Q16223409
P27
Q15617994
USER
Which administrative territories are Jessie Rodriguez or Nils Lilja an inhabitant of ?
OR((Q16223409,P27,c(Q15617994)), (Q5951483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16223409
relation P27
action find
entity Q5951483
relation P27
type Q15617994
{'OR': [['Q16223409', 'P27', {'concept': 'Q15617994'}], ['Q5951483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Q16223409 ) ( resource:Q5951483 ) } . ?b property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Nils Lilja Jessie Rodriguez
action filter_type
action union
action find
entity Jessie Rodriguez
relation country of citizenship
action find
entity Nils Lilja
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jessie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nils Lilja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Jessie_Rodriguez ) ( resource:Nils_Lilja ) } . ?b property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q792 Q30 Q34
SYSTEM
El Salvador, United States of America, Sweden
Q792 Q30 Q34
OR((Q16223409,P27,c(Q15617994)), (Q5951483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16223409
relation P27
action find
entity Q5951483
relation P27
type Q15617994
Are Jessie Rodriguez or Nils Lilja an inhabitant of Honduras [ANSWERS]
{'OR': [['Q16223409', 'P27', {'concept': 'Q15617994'}], ['Q5951483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Q16223409 ) ( resource:Q5951483 ) } . ?b property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
El Salvador United States of America Sweden
Are Jessie Rodriguez or Nils Lilja an inhabitant of Honduras El Salvador, United States of America and Sweden
El Salvador United States of America Sweden
action filter_type
action union
action find
entity Jessie Rodriguez
relation country of citizenship
action find
entity Nils Lilja
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jessie Rodriguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nils Lilja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Jessie_Rodriguez ) ( resource:Nils_Lilja ) } . ?b property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4416694
P530
Q1048835
USER
Do Serbyniv have diplomatic relations with those administrative territories ?
(Q4416694,P530,Q792) (Q4416694,P530,Q30) (Q4416694,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4416694
relation P530
['Q4416694', 'P530', 'Q792'] ['Q4416694', 'P530', 'Q30'] ['Q4416694', 'P530', 'Q34']
ASK WHERE { resource:Q4416694 property:P530 ?a . VALUES ( ?a ) { ( resource:Q792 ) ( resource:Q30 ) ( resource:Q34 ) } }
Serbyniv
action is_in
entity prev_answer
action find
entity Serbyniv
relation diplomatic relation
['Serbyniv', 'diplomatic relation', 'El Salvador'] ['Serbyniv', 'diplomatic relation', 'United States of America'] ['Serbyniv', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Serbyniv property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:El_Salvador ) ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]
political territorial entity
SYSTEM
NO
(Q4416694,P530,Q792) (Q4416694,P530,Q30) (Q4416694,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4416694
relation P530
[ANSWER]
['Q4416694', 'P530', 'Q792'] ['Q4416694', 'P530', 'Q30'] ['Q4416694', 'P530', 'Q34']
ASK WHERE { resource:Q4416694 property:P530 ?a . VALUES ( ?a ) { ( resource:Q792 ) ( resource:Q30 ) ( resource:Q34 ) } }
No
action is_in
entity prev_answer
action find
entity Serbyniv
relation diplomatic relation
['Serbyniv', 'diplomatic relation', 'El Salvador'] ['Serbyniv', 'diplomatic relation', 'United States of America'] ['Serbyniv', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Serbyniv property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:El_Salvador ) ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]