Simple Question (Direct)
Simple Question
Q331246
P172
Q2472587
USER
Which people does Kostas Eleftherakis have as his/her race ?
(Q331246,P172,c(Q2472587))
action filter_type
action find
entity Q331246
relation P172
type Q2472587
['Q331246', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2472587 . resource:Q331246 property:P172 ?h }
Kostas Eleftherakis
action filter_type
action find
entity Kostas Eleftherakis
relation ethnic group
type people
['Kostas Eleftherakis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:people . resource:Kostas_Eleftherakis property:ethnic_group ?h }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q331246,P172,c(Q2472587))
action filter_type
action find
entity Q331246
relation P172
type Q2472587
[ANSWER] Kostas Eleftherakis has as his / her race
['Q331246', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2472587 . resource:Q331246 property:P172 ?h }
Greeks
Greeks Kostas Eleftherakis has as his / her race
Greeks
action filter_type
action find
entity Kostas Eleftherakis
relation ethnic group
type people
['Kostas Eleftherakis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:people . resource:Kostas_Eleftherakis property:ethnic_group ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331246
P27
Q15617994
USER
Which administrative territory is the native country of Kostas Eleftherakis ?
(Q331246,P27,c(Q15617994))
action filter_type
action find
entity Q331246
relation P27
type Q15617994
['Q331246', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q331246 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Kostas Eleftherakis
action filter_type
action find
entity Kostas Eleftherakis
relation country of citizenship
type designation for an administrative territorial entity
['Kostas Eleftherakis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kostas_Eleftherakis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q331246,P27,c(Q15617994))
action filter_type
action find
entity Q331246
relation P27
type Q15617994
[ANSWER] is the native country of Kostas Eleftherakis
['Q331246', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q331246 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Greece
Greece is the native country of Kostas Eleftherakis
Greece
action filter_type
action find
entity Kostas Eleftherakis
relation country of citizenship
type designation for an administrative territorial entity
['Kostas Eleftherakis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kostas_Eleftherakis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q331246
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q41,P54,c(Q1194951))
action filter_type
action find
entity Q331246
relation P54
type Q1194951
['Q41', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q331246 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Kostas Eleftherakis
action filter_type
action find
entity Kostas Eleftherakis
relation member of sports team
type national sports team
['Greece', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Kostas_Eleftherakis property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
national sports team
Q134925
SYSTEM
Greece national football team
Q134925
(Q41,P54,c(Q1194951))
action filter_type
action find
entity Q331246
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q41', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q331246 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Greece national football team
The Greece national football team is that person a member of
Greece national football team
action filter_type
action find
entity Kostas Eleftherakis
relation member of sports team
type national sports team
['Greece', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Kostas_Eleftherakis property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331246
P641
Q349
USER
What did Kostas Eleftherakis participate in ?
(Q331246,P641,c(Q349))
action filter_type
action find
entity Q331246
relation P641
type Q349
['Q331246', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q331246 property:P641 ?z . ?z rdf:type ontology:Q349 }
Kostas Eleftherakis
action filter_type
action find
entity Kostas Eleftherakis
relation sport
type sport
['Kostas Eleftherakis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Kostas_Eleftherakis property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q331246,P641,c(Q349))
action filter_type
action find
entity Q331246
relation P641
type Q349
Kostas Eleftherakis participated in [ANSWER]
['Q331246', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q331246 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Kostas Eleftherakis participated in association football
association football
action filter_type
action find
entity Kostas Eleftherakis
relation sport
type sport
['Kostas Eleftherakis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Kostas_Eleftherakis property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q331246
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q331246
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q331246 property:P21 ?s . ?s rdf:type ontology:Q290 }
Kostas Eleftherakis
action filter_type
action find
entity Kostas Eleftherakis
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Kostas_Eleftherakis property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q331246
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q331246 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Kostas Eleftherakis
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Kostas_Eleftherakis property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1515758 Q331246
P21
Q290
USER
Or Gertrude Degenhardt?
OR((Q331246,P21,c(Q290)), (Q1515758,P21,c(Q290)))
action filter_type
action union
action find
entity Q331246
relation P21
action find
entity Q1515758
relation P21
type Q290
{'OR': [['Q331246', 'P21', {'concept': 'Q290'}], ['Q1515758', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1515758 property:P21 ?t } UNION { resource:Q331246 property:P21 ?t } } . ?t rdf:type ontology:Q290 }
Gertrude Degenhardt Kostas Eleftherakis
action filter_type
action union
action find
entity Kostas Eleftherakis
relation gender
action find
entity Gertrude Degenhardt
relation gender
type sex
{'OR': [['Kostas Eleftherakis', 'gender', {'concept': 'sex'}], ['Gertrude Degenhardt', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Gertrude_Degenhardt property:gender ?t } UNION { resource:Kostas_Eleftherakis property:gender ?t } } . ?t rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q331246,P21,c(Q290)), (Q1515758,P21,c(Q290)))
action filter_type
action union
action find
entity Q331246
relation P21
action find
entity Q1515758
relation P21
type Q290
[ANSWERS]
{'OR': [['Q331246', 'P21', {'concept': 'Q290'}], ['Q1515758', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1515758 property:P21 ?t } UNION { resource:Q331246 property:P21 ?t } } . ?t rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Kostas Eleftherakis
relation gender
action find
entity Gertrude Degenhardt
relation gender
type sex
{'OR': [['Kostas Eleftherakis', 'gender', {'concept': 'sex'}], ['Gertrude Degenhardt', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Gertrude_Degenhardt property:gender ?t } UNION { resource:Kostas_Eleftherakis property:gender ?t } } . ?t rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22342662
P21
Q502895
USER
Are Magdalena Mayr a those sexes ?
(Q22342662,P21,Q6581097) (Q22342662,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q22342662
relation P21
['Q22342662', 'P21', 'Q6581097'] ['Q22342662', 'P21', 'Q6581072']
ASK WHERE { resource:Q22342662 property:P21 ?m . VALUES ( ?m ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
Magdalena Mayr
action is_in
entity prev_answer
action find
entity Magdalena Mayr
relation gender
['Magdalena Mayr', 'gender', 'male'] ['Magdalena Mayr', 'gender', 'female']
ASK WHERE { resource:Magdalena_Mayr property:gender ?m . VALUES ( ?m ) { ( resource:male ) ( resource:female ) } }
[]
common name
SYSTEM
YES
(Q22342662,P21,Q6581097) (Q22342662,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q22342662
relation P21
[ANSWER]
['Q22342662', 'P21', 'Q6581097'] ['Q22342662', 'P21', 'Q6581072']
ASK WHERE { resource:Q22342662 property:P21 ?m . VALUES ( ?m ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
Yes
action is_in
entity prev_answer
action find
entity Magdalena Mayr
relation gender
['Magdalena Mayr', 'gender', 'male'] ['Magdalena Mayr', 'gender', 'female']
ASK WHERE { resource:Magdalena_Mayr property:gender ?m . VALUES ( ?m ) { ( resource:male ) ( resource:female ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q41
P463
Q56061 Q484652
USER
How many administrative territories or international organizations were Greece a member of ?
(Q41,P463,c(Q56061)) (Q41,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q41
relation P463
type Q56061
action filter_type
action find
entity Q41
relation P463
type Q484652
['Q41', 'P463', {'concept': 'Q56061'}] ['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } }
Greece
action count
action union
action filter_type
action find
entity Greece
relation member of
type administrative territorial entity
action filter_type
action find
entity Greece
relation member of
type international organization
['Greece', 'member of', {'concept': 'administrative territorial entity'}] ['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } }
[]
administrative territorial entity international organization
SYSTEM
6
Q81299 Q7184 Q1065 Q458 Q42262 Q1043527
(Q41,P463,c(Q56061)) (Q41,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q41
relation P463
type Q56061
action filter_type
action find
entity Q41
relation P463
type Q484652
[ANSWER]
['Q41', 'P463', {'concept': 'Q56061'}] ['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } }
Organization for Security and Co-operation in Europe North Atlantic Treaty Organisation United Nations European Union European Space Agency Multilateral Investment Guarantee Agency
6
action count
action union
action filter_type
action find
entity Greece
relation member of
type administrative territorial entity
action filter_type
action find
entity Greece
relation member of
type international organization
['Greece', 'member of', {'concept': 'administrative territorial entity'}] ['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134925
P1532
Q15617994
USER
Which administrative territory did Greece national football team play for ?
(Q134925,P1532,c(Q15617994))
action filter_type
action find
entity Q134925
relation P1532
type Q15617994
['Q134925', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q134925 property:P1532 ?v . ?v rdf:type ontology:Q15617994 }
Greece national football team
action filter_type
action find
entity Greece national football team
relation country for sport
type designation for an administrative territorial entity
['Greece national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Greece_national_football_team property:country_for_sport ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q134925,P1532,c(Q15617994))
action filter_type
action find
entity Q134925
relation P1532
type Q15617994
[ANSWER] national football team played in [ANSWER]
['Q134925', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q134925 property:P1532 ?v . ?v rdf:type ontology:Q15617994 }
Greece
Greece national football team played in Greece
Greece
action filter_type
action find
entity Greece national football team
relation country for sport
type designation for an administrative territorial entity
['Greece national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Greece_national_football_team property:country_for_sport ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]