Simple Question (Direct)
Simple Question
Q11710222
P21
Q290
USER
Which sex does Hubert Skowronek belong to ?
(Q11710222,P21,c(Q290))
action filter_type
action find
entity Q11710222
relation P21
type Q290
['Q11710222', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q11710222 property:P21 ?k . ?k rdf:type ontology:Q290 }
Hubert Skowronek
action filter_type
action find
entity Hubert Skowronek
relation gender
type sex
['Hubert Skowronek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Hubert_Skowronek property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11710222,P21,c(Q290))
action filter_type
action find
entity Q11710222
relation P21
type Q290
Hubert Skowronek belongs to [ANSWER]
['Q11710222', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q11710222 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Hubert Skowronek belongs to male
male
action filter_type
action find
entity Hubert Skowronek
relation gender
type sex
['Hubert Skowronek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Hubert_Skowronek property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11710222
P27
Q15617994
USER
Which administrative territory is the native country of Hubert Skowronek ?
(Q11710222,P27,c(Q15617994))
action filter_type
action find
entity Q11710222
relation P27
type Q15617994
['Q11710222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q11710222 property:P27 ?j }
Hubert Skowronek
action filter_type
action find
entity Hubert Skowronek
relation country of citizenship
type designation for an administrative territorial entity
['Hubert Skowronek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hubert_Skowronek property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11710222,P27,c(Q15617994))
action filter_type
action find
entity Q11710222
relation P27
type Q15617994
[ANSWER] is the native country of Hubert Skowronek
['Q11710222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q11710222 property:P27 ?j }
Poland
Poland is the native country of Hubert Skowronek
Poland
action filter_type
action find
entity Hubert Skowronek
relation country of citizenship
type designation for an administrative territorial entity
['Hubert Skowronek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hubert_Skowronek property:country_of_citizenship ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36 Q213
P47
Q15617994
USER
Does Czech Republic share border with that one ?
(Q36,P47,Q213)
action is_in
entity Q213
action find
entity Q36
relation P47
['Q36', 'P47', 'Q213']
ASK WHERE { resource:Q36 property:P47 resource:Q213 }
Poland Czech Republic
action is_in
entity Czech Republic
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Czech Republic']
ASK WHERE { resource:Poland property:shares_border_with resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q36,P47,Q213)
action is_in
entity Q213
action find
entity Q36
relation P47
[ANSWER]
['Q36', 'P47', 'Q213']
ASK WHERE { resource:Q36 property:P47 resource:Q213 }
Yes
action is_in
entity Czech Republic
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Czech Republic']
ASK WHERE { resource:Poland property:shares_border_with resource:Czech_Republic }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4457 Q11710222
P54
Q1194951
USER
Which national sports teams are Hubert Skowronek or Franz Beckenbauer a member of ?
OR((Q11710222,P54,c(Q1194951)), (Q4457,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q11710222
relation P54
action find
entity Q4457
relation P54
type Q1194951
{'OR': [['Q11710222', 'P54', {'concept': 'Q1194951'}], ['Q4457', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q11710222 ) ( resource:Q4457 ) } . ?a property:P54 ?x } . ?x rdf:type ontology:Q1194951 }
Franz Beckenbauer Hubert Skowronek
action filter_type
action union
action find
entity Hubert Skowronek
relation member of sports team
action find
entity Franz Beckenbauer
relation member of sports team
type national sports team
{'OR': [['Hubert Skowronek', 'member of sports team', {'concept': 'national sports team'}], ['Franz Beckenbauer', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Hubert_Skowronek ) ( resource:Franz_Beckenbauer ) } . ?a property:member_of_sports_team ?x } . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q166196 Q822990
SYSTEM
Germany national football team, Poland national football team, Germany national football B team
Q43310 Q166196 Q822990
OR((Q11710222,P54,c(Q1194951)), (Q4457,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q11710222
relation P54
action find
entity Q4457
relation P54
type Q1194951
[ANSWERS] are Hubert Skowronek or Franz Beckenbauer a member of
{'OR': [['Q11710222', 'P54', {'concept': 'Q1194951'}], ['Q4457', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q11710222 ) ( resource:Q4457 ) } . ?a property:P54 ?x } . ?x rdf:type ontology:Q1194951 }
Germany national football team Poland national football team Germany national football B team
Germany national football team, Poland national football team and Germany national football B team are Hubert Skowronek or Franz Beckenbauer a member of
Germany national football team Poland national football team Germany national football B team
action filter_type
action union
action find
entity Hubert Skowronek
relation member of sports team
action find
entity Franz Beckenbauer
relation member of sports team
type national sports team
{'OR': [['Hubert Skowronek', 'member of sports team', {'concept': 'national sports team'}], ['Franz Beckenbauer', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Hubert_Skowronek ) ( resource:Franz_Beckenbauer ) } . ?a property:member_of_sports_team ?x } . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43310 Q166196 Q822990
P641
Q349
USER
Which sports did Germany national football team, Poland national football team and Germany national football B team participate in ?
(Q43310,P641,c(Q349)) (Q166196,P641,c(Q349)) (Q822990,P641,c(Q349))
action union
action filter_type
action find
entity Q43310
relation P641
type Q349
action filter_type
action find
entity Q166196
relation P641
type Q349
action filter_type
action find
entity Q822990
relation P641
type Q349
['Q43310', 'P641', {'concept': 'Q349'}] ['Q166196', 'P641', {'concept': 'Q349'}] ['Q822990', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?x ) { ( resource:Q43310 ) ( resource:Q166196 ) } . ?x property:P641 ?z }
Germany national football team Poland national football team Germany national football B team
action union
action filter_type
action find
entity Germany national football team
relation sport
type sport
action filter_type
action find
entity Poland national football team
relation sport
type sport
action filter_type
action find
entity Germany national football B team
relation sport
type sport
['Germany national football team', 'sport', {'concept': 'sport'}] ['Poland national football team', 'sport', {'concept': 'sport'}] ['Germany national football B team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?x ) { ( resource:Germany_national_football_team ) ( resource:Poland_national_football_team ) } . ?x property:sport ?z }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q43310,P641,c(Q349)) (Q166196,P641,c(Q349)) (Q822990,P641,c(Q349))
action union
action filter_type
action find
entity Q43310
relation P641
type Q349
action filter_type
action find
entity Q166196
relation P641
type Q349
action filter_type
action find
entity Q822990
relation P641
type Q349
[ANSWER], [ANSWER] and [ANSWER] Germany national football team, Poland national football team and Germany national football B team participated in
['Q43310', 'P641', {'concept': 'Q349'}] ['Q166196', 'P641', {'concept': 'Q349'}] ['Q822990', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?x ) { ( resource:Q43310 ) ( resource:Q166196 ) } . ?x property:P641 ?z }
association football association football association football
Association football, association football and association football Germany national football team, Poland national football team and Germany national football B team participated in
association football association football association football
action union
action filter_type
action find
entity Germany national football team
relation sport
type sport
action filter_type
action find
entity Poland national football team
relation sport
type sport
action filter_type
action find
entity Germany national football B team
relation sport
type sport
['Germany national football team', 'sport', {'concept': 'sport'}] ['Poland national football team', 'sport', {'concept': 'sport'}] ['Germany national football B team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?x ) { ( resource:Germany_national_football_team ) ( resource:Poland_national_football_team ) } . ?x property:sport ?z }
[]