Simple Question (Direct)
Simple Question
Q1871018
P641
Q349
USER
What did Lothar Wardanjan participate in ?
(Q1871018,P641,c(Q349))
action filter_type
action find
entity Q1871018
relation P641
type Q349
['Q1871018', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1871018 property:P641 ?y }
Lothar Wardanjan
action filter_type
action find
entity Lothar Wardanjan
relation sport
type sport
['Lothar Wardanjan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Lothar_Wardanjan property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1871018,P641,c(Q349))
action filter_type
action find
entity Q1871018
relation P641
type Q349
Lothar Wardanjan participated in [ANSWER]
['Q1871018', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1871018 property:P641 ?y }
association football
Lothar Wardanjan participated in association football
association football
action filter_type
action find
entity Lothar Wardanjan
relation sport
type sport
['Lothar Wardanjan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Lothar_Wardanjan property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1871018
P54
Q847017
USER
Which sports club is that person a member of ?
(Q2736,P54,c(Q847017))
action filter_type
action find
entity Q1871018
relation P54
type Q847017
['Q2736', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q847017 . resource:Q1871018 property:P54 ?p }
Lothar Wardanjan
action filter_type
action find
entity Lothar Wardanjan
relation member of sports team
type sports club
['association football', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_club . resource:Lothar_Wardanjan property:member_of_sports_team ?p }
[]
sports club
Q293981
SYSTEM
VfB Friedrichshafen
Q293981
(Q2736,P54,c(Q847017))
action filter_type
action find
entity Q1871018
relation P54
type Q847017
[ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q847017 . resource:Q1871018 property:P54 ?p }
VfB Friedrichshafen
VfB Friedrichshafen is that person a member of
VfB Friedrichshafen
action filter_type
action find
entity Lothar Wardanjan
relation member of sports team
type sports club
['association football', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_club . resource:Lothar_Wardanjan property:member_of_sports_team ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1871018
P21
Q290
USER
Which sex does that person possess ?
(Q293981,P21,c(Q290))
action filter_type
action find
entity Q1871018
relation P21
type Q290
['Q293981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1871018 property:P21 ?j . ?j rdf:type ontology:Q290 }
Lothar Wardanjan
action filter_type
action find
entity Lothar Wardanjan
relation gender
type sex
['VfB Friedrichshafen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Lothar_Wardanjan property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q293981,P21,c(Q290))
action filter_type
action find
entity Q1871018
relation P21
type Q290
That person possesses a [ANSWER]
['Q293981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1871018 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Lothar Wardanjan
relation gender
type sex
['VfB Friedrichshafen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Lothar_Wardanjan property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26694757 Q293981
P17 P1001
Q1048835
USER
Which political territories do VfB Friedrichshafen belong to or come under the supervision of mayor of Saldón ?
OR((Q293981,P17,c(Q1048835)), (Q26694757,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q293981
relation P17
action find
entity Q26694757
relation P1001
type Q1048835
{'OR': [['Q293981', 'P17', {'concept': 'Q1048835'}], ['Q26694757', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q293981 property:P17 ?o } UNION { resource:Q26694757 property:P1001 ?o } } . ?o rdf:type ontology:Q1048835 }
mayor of Saldón VfB Friedrichshafen
action filter_type
action union
action find
entity VfB Friedrichshafen
relation country
action find
entity mayor of Saldón
relation applies to jurisdiction
type political territorial entity
{'OR': [['VfB Friedrichshafen', 'country', {'concept': 'political territorial entity'}], ['mayor of Saldón', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:VfB_Friedrichshafen property:country ?o } UNION { resource:mayor_of_Saldón property:applies_to_jurisdiction ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q1651152
SYSTEM
Germany, Saldón
Q183 Q1651152
OR((Q293981,P17,c(Q1048835)), (Q26694757,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q293981
relation P17
action find
entity Q26694757
relation P1001
type Q1048835
VfB Friedrichshafen belong to Nazi [ANSWERS]
{'OR': [['Q293981', 'P17', {'concept': 'Q1048835'}], ['Q26694757', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q293981 property:P17 ?o } UNION { resource:Q26694757 property:P1001 ?o } } . ?o rdf:type ontology:Q1048835 }
Germany Saldón
VfB Friedrichshafen belong to Nazi Germany and Saldón
Germany Saldón
action filter_type
action union
action find
entity VfB Friedrichshafen
relation country
action find
entity mayor of Saldón
relation applies to jurisdiction
type political territorial entity
{'OR': [['VfB Friedrichshafen', 'country', {'concept': 'political territorial entity'}], ['mayor of Saldón', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:VfB_Friedrichshafen property:country ?o } UNION { resource:mayor_of_Saldón property:applies_to_jurisdiction ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q1651152
P1001
Q12737077
USER
Which occupations have jurisdiction over those political territories ?
(c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q1651152)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q1651152']
SELECT DISTINCT ?y WHERE { ?y property:P1001 ?v . ?y rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q1651152 ) } }
Germany Saldón
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Saldón']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction ?v . ?y rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Germany ) ( resource:Saldón ) } }
[]
occupation
Q22575628 Q22575092 Q4970706
SYSTEM
Federal Minister of the Interior, Federal Minister of Finance, Federal Chancellor of Germany
Q22575628 Q363637 Q19731005 Q2006176 Q22575092 Q23016036 Q1939559 Q1939555 Q248352 Q518564 Q4970706 Q25223 Q56024 Q56022 Q2325058 Q504272 Q514725 Q1005821 Q26694757
(c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q1651152)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over those political territories
[{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q1651152']
SELECT DISTINCT ?y WHERE { ?y property:P1001 ?v . ?y rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q1651152 ) } }
Federal Minister of the Interior President of the Bundesrat of Germany Parliamentary Secretary in Germany Minister for Foreign Affairs Federal Minister of Finance Minister of Defence Member of Landtag member of the German Bundestag Bundesminister Federal Minister for Special Affairs of Germany Federal Chancellor of Germany President of Germany President of the Bundestag Chancellor of Germany German Minister of State Vice-Chancellor of Germany Landrat Federal Commissioner for Data Protection and Freedom of Information mayor of Saldón
Federal Minister of the Interior, Federal Minister of Finance and Federal Chancellor of Germany have jurisdiction over those political territories
Federal Minister of the Interior Federal Minister of Finance Federal Chancellor of Germany
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Saldón']
SELECT DISTINCT ?y WHERE { ?y property:applies_to_jurisdiction ?v . ?y rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Germany ) ( resource:Saldón ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22575092
P361
Q35798
USER
Which executive branch is that occupation a part of ?
(Q22575092,P361,c(Q35798))
action filter_type
action find
entity Q22575092
relation P361
type Q35798
['Q22575092', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?a WHERE { resource:Q22575092 property:P361 ?a . ?a rdf:type ontology:Q35798 }
Federal Minister of Finance
action filter_type
action find
entity Federal Minister of Finance
relation part of
type executive branch
['Federal Minister of Finance', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?a WHERE { resource:Federal_Minister_of_Finance property:part_of ?a . ?a rdf:type ontology:executive_branch }
[]
executive branch
Clarification for simple ques.
Q4970706
SYSTEM
Did you mean Federal Chancellor of Germany ?
Q22575628 Q22575092 Q4970706
(Q22575628,P361,c(Q35798)) (Q22575092,P361,c(Q35798)) (Q4970706,P361,c(Q35798))
[ANSWER]
['Q22575628', 'P361', {'concept': 'Q35798'}] ['Q22575092', 'P361', {'concept': 'Q35798'}] ['Q4970706', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?a WHERE { resource:Q22575092 property:P361 ?a . ?a rdf:type ontology:Q35798 }
Federal Minister of the Interior Federal Minister of Finance Federal Chancellor of Germany
Did you mean Federal Chancellor of Germany ?
Federal Chancellor of Germany
['Federal Minister of the Interior', 'part of', {'concept': 'executive branch'}] ['Federal Minister of Finance', 'part of', {'concept': 'executive branch'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?a WHERE { resource:Federal_Minister_of_Finance property:part_of ?a . ?a rdf:type ontology:executive_branch }
[]
Simple Question (Coreferenced)
USER
No, I meant Federal Minister of Finance. Could you tell me the answer for that?
(Q22575092,P361,c(Q35798))
Q22575092
['Q22575092', 'P361', {'concept': 'Q35798'}]
['Federal Minister of Finance', 'part of', {'concept': 'executive branch'}]
[]
Q313827
SYSTEM
Cabinet of Germany
Q313827
(Q22575092,P361,c(Q35798))
action filter_type
action find
entity Q22575092
relation P361
type Q35798
The [ANSWER] is that occupation a part of
['Q22575092', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?a WHERE { resource:Q22575092 property:P361 ?a . ?a rdf:type ontology:Q35798 }
Cabinet of Germany
The Cabinet of Germany is that occupation a part of
Cabinet of Germany
action filter_type
action find
entity Federal Minister of Finance
relation part of
type executive branch
['Federal Minister of Finance', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?a WHERE { resource:Federal_Minister_of_Finance property:part_of ?a . ?a rdf:type ontology:executive_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313827
P361
Q12737077
USER
Which occupations are a component of that executive branch ?
(c(Q12737077),P361,Q313827)
action filter_type
action find_reverse
entity Q313827
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q313827']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?f property:P361 resource:Q313827 }
Cabinet of Germany
action filter_type
action find_reverse
entity Cabinet of Germany
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Cabinet of Germany']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?f property:part_of resource:Cabinet_of_Germany }
[]
occupation
Q22575092 Q4970706 Q22575628
SYSTEM
Federal Minister of Finance, Federal Chancellor of Germany, Federal Minister of the Interior
Q22575092 Q4970706 Q22575628
(c(Q12737077),P361,Q313827)
action filter_type
action find_reverse
entity Q313827
relation P361
type Q12737077
[ANSWERS] are a component of that executive branch
[{'concept': 'Q12737077'}, 'P361', 'Q313827']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?f property:P361 resource:Q313827 }
Federal Minister of Finance Federal Chancellor of Germany Federal Minister of the Interior
Federal Minister of Finance, Federal Chancellor of Germany and Federal Minister of the Interior are a component of that executive branch
Federal Minister of Finance Federal Chancellor of Germany Federal Minister of the Interior
action filter_type
action find_reverse
entity Cabinet of Germany
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Cabinet of Germany']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?f property:part_of resource:Cabinet_of_Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1574334 Q313827
P361
Q12737077
USER
Or National Assembly?
OR((c(Q12737077),P361,Q313827), (c(Q12737077),P361,Q1574334))
action filter_type
action union
action find_reverse
entity Q313827
relation P361
action find_reverse
entity Q1574334
relation P361
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q313827'], [{'concept': 'Q12737077'}, 'P361', 'Q1574334']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P361 resource:Q1574334 } UNION { ?l property:P361 resource:Q313827 } } . ?l rdf:type ontology:Q12737077 }
National Assembly Cabinet of Germany
action filter_type
action union
action find_reverse
entity Cabinet of Germany
relation part of
action find_reverse
entity National Assembly
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'Cabinet of Germany'], [{'concept': 'occupation'}, 'part of', 'National Assembly']]}
SELECT DISTINCT ?l WHERE { { { ?l property:part_of resource:National_Assembly } UNION { ?l property:part_of resource:Cabinet_of_Germany } } . ?l rdf:type ontology:occupation }
[]
occupation
Q22575092 Q4970706 Q21295979 Q22575628
SYSTEM
Federal Minister of Finance, Federal Chancellor of Germany, Member of the National Assembly of the Democratic Republic of the Congo, Federal Minister of the Interior
Q22575092 Q4970706 Q21295979 Q22575628
OR((c(Q12737077),P361,Q313827), (c(Q12737077),P361,Q1574334))
action filter_type
action union
action find_reverse
entity Q313827
relation P361
action find_reverse
entity Q1574334
relation P361
type Q12737077
[ANSWERS]
{'OR': [[{'concept': 'Q12737077'}, 'P361', 'Q313827'], [{'concept': 'Q12737077'}, 'P361', 'Q1574334']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P361 resource:Q1574334 } UNION { ?l property:P361 resource:Q313827 } } . ?l rdf:type ontology:Q12737077 }
Federal Minister of Finance Federal Chancellor of Germany Member of the National Assembly of the Democratic Republic of the Congo Federal Minister of the Interior
Federal Minister of Finance Federal Chancellor of Germany Member of the National Assembly of the Democratic Republic of the Congo Federal Minister of the Interior
action filter_type
action union
action find_reverse
entity Cabinet of Germany
relation part of
action find_reverse
entity National Assembly
relation part of
type occupation
{'OR': [[{'concept': 'occupation'}, 'part of', 'Cabinet of Germany'], [{'concept': 'occupation'}, 'part of', 'National Assembly']]}
SELECT DISTINCT ?l WHERE { { { ?l property:part_of resource:National_Assembly } UNION { ?l property:part_of resource:Cabinet_of_Germany } } . ?l rdf:type ontology:occupation }
[]