Simple Question (Direct)
Simple Question
Q5203535
P39
Q12737077
USER
What was the position held by D. C. Srikantappa ?
(Q5203535,P39,c(Q12737077))
action filter_type
action find
entity Q5203535
relation P39
type Q12737077
['Q5203535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5203535 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
D. C. Srikantappa
action filter_type
action find
entity D. C. Srikantappa
relation position held
type occupation
['D. C. Srikantappa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:D._C._Srikantappa property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q16556694
SYSTEM
member of the Lok Sabha
Q16556694
(Q5203535,P39,c(Q12737077))
action filter_type
action find
entity Q5203535
relation P39
type Q12737077
The position held by D. C. was a [ANSWER]
['Q5203535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5203535 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
member of the Lok Sabha
The position held by D. C. was a member of the Lok Sabha
member of the Lok Sabha
action filter_type
action find
entity D. C. Srikantappa
relation position held
type occupation
['D. C. Srikantappa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:D._C._Srikantappa property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5203535
P735
Q82799
USER
What is forename of that person ?
(Q16556694,P735,c(Q82799))
action filter_type
action find
entity Q5203535
relation P735
type Q82799
['Q16556694', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5203535 property:P735 ?j }
D. C. Srikantappa
action filter_type
action find
entity D. C. Srikantappa
relation given name
type name
['member of the Lok Sabha', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:D._C._Srikantappa property:given_name ?j }
[]
name
Q19803500
SYSTEM
D.
Q19803500
(Q16556694,P735,c(Q82799))
action filter_type
action find
entity Q5203535
relation P735
type Q82799
Forename of that person is a [ANSWER]
['Q16556694', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5203535 property:P735 ?j }
D.
Forename of that person is a D.
D.
action filter_type
action find
entity D. C. Srikantappa
relation given name
type name
['member of the Lok Sabha', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:D._C._Srikantappa property:given_name ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11443741 Q5203535
P734 P735
Q82799
USER
Which names are the firstnames of D. C. Srikantappa or have the surname Kazumi Amano ?
OR((Q5203535,P735,c(Q82799)), (Q11443741,P734,c(Q82799)))
action filter_type
action union
action find
entity Q5203535
relation P735
action find
entity Q11443741
relation P734
type Q82799
{'OR': [['Q5203535', 'P735', {'concept': 'Q82799'}], ['Q11443741', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . { { resource:Q5203535 property:P735 ?d } UNION { resource:Q11443741 property:P734 ?d } } }
Kazumi Amano D. C. Srikantappa
action filter_type
action union
action find
entity D. C. Srikantappa
relation given name
action find
entity Kazumi Amano
relation family name
type name
{'OR': [['D. C. Srikantappa', 'given name', {'concept': 'name'}], ['Kazumi Amano', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . { { resource:D._C._Srikantappa property:given_name ?d } UNION { resource:Kazumi_Amano property:family_name ?d } } }
[]
name
Q19803500 Q21502141
SYSTEM
D., Amano
Q19803500 Q21502141
OR((Q5203535,P735,c(Q82799)), (Q11443741,P734,c(Q82799)))
action filter_type
action union
action find
entity Q5203535
relation P735
action find
entity Q11443741
relation P734
type Q82799
[ANSWERS] are the firstnames of D. C. Srikantappa or have the surname Kazumi Amano
{'OR': [['Q5203535', 'P735', {'concept': 'Q82799'}], ['Q11443741', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . { { resource:Q5203535 property:P735 ?d } UNION { resource:Q11443741 property:P734 ?d } } }
D. Amano
D. and Amano are the firstnames of D. C. Srikantappa or have the surname Kazumi Amano
D. Amano
action filter_type
action union
action find
entity D. C. Srikantappa
relation given name
action find
entity Kazumi Amano
relation family name
type name
{'OR': [['D. C. Srikantappa', 'given name', {'concept': 'name'}], ['Kazumi Amano', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . { { resource:D._C._Srikantappa property:given_name ?d } UNION { resource:Kazumi_Amano property:family_name ?d } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1111236 Q5203535
P27
Q15617994
USER
Which administrative territories are the native countriesof D. C. Srikantappa or Davorka Tovilo ?
OR((Q5203535,P27,c(Q15617994)), (Q1111236,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5203535
relation P27
action find
entity Q1111236
relation P27
type Q15617994
{'OR': [['Q5203535', 'P27', {'concept': 'Q15617994'}], ['Q1111236', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1111236 property:P27 ?l } UNION { resource:Q5203535 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Davorka Tovilo D. C. Srikantappa
action filter_type
action union
action find
entity D. C. Srikantappa
relation country of citizenship
action find
entity Davorka Tovilo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['D. C. Srikantappa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Davorka Tovilo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Davorka_Tovilo property:country_of_citizenship ?l } UNION { resource:D._C._Srikantappa property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224 Q668
SYSTEM
Croatia, India
Q224 Q668
OR((Q5203535,P27,c(Q15617994)), (Q1111236,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5203535
relation P27
action find
entity Q1111236
relation P27
type Q15617994
[ANSWERS] are the native countriesof D. C. Srikantappa or Davorka Tovilo
{'OR': [['Q5203535', 'P27', {'concept': 'Q15617994'}], ['Q1111236', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1111236 property:P27 ?l } UNION { resource:Q5203535 property:P27 ?l } } . ?l rdf:type ontology:Q15617994 }
Croatia India
Croatia and India are the native countriesof D. C. Srikantappa or Davorka Tovilo
Croatia India
action filter_type
action union
action find
entity D. C. Srikantappa
relation country of citizenship
action find
entity Davorka Tovilo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['D. C. Srikantappa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Davorka Tovilo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Davorka_Tovilo property:country_of_citizenship ?l } UNION { resource:D._C._Srikantappa property:country_of_citizenship ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1433460 Q668
P530 P17
Q1048835
USER
Which political territories holds diplomatic relationship with India and are Radio Arabella present in ?
AND((Q668,P530,c(Q1048835)), (Q1433460,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q668
relation P530
action find
entity Q1433460
relation P17
type Q1048835
{'AND': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q1433460', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q668 property:P530 ?e . resource:Q1433460 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Radio Arabella India
action filter_type
action intersection
action find
entity India
relation diplomatic relation
action find
entity Radio Arabella
relation country
type political territorial entity
{'AND': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Radio Arabella', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:India property:diplomatic_relation ?e . resource:Radio_Arabella property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q668,P530,c(Q1048835)), (Q1433460,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q668
relation P530
action find
entity Q1433460
relation P17
type Q1048835
[ANSWER] holds diplomatic relationship with India and are Radio Arabella present in
{'AND': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q1433460', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q668 property:P530 ?e . resource:Q1433460 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany holds diplomatic relationship with India and are Radio Arabella present in
Germany
action filter_type
action intersection
action find
entity India
relation diplomatic relation
action find
entity Radio Arabella
relation country
type political territorial entity
{'AND': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Radio Arabella', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:India property:diplomatic_relation ?e . resource:Radio_Arabella property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P276
Q13365595
USER
What is located at that political territory ?
(c(Q13365595),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q13365595
[{'concept': 'Q13365595'}, 'P276', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q183 . ?m rdf:type ontology:Q13365595 }
Germany
action filter_type
action find_reverse
entity Germany
relation location
type proportional representation
[{'concept': 'proportional representation'}, 'location', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Germany . ?m rdf:type ontology:proportional_representation }
[]
proportional representation
Q555931
SYSTEM
German federal election, 2013
Q555931
(c(Q13365595),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q13365595
[ANSWER] is located at that political territory
[{'concept': 'Q13365595'}, 'P276', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q183 . ?m rdf:type ontology:Q13365595 }
German federal election, 2013
German federal election, 2013 is located at that political territory
German federal election, 2013
action filter_type
action find_reverse
entity Germany
relation location
type proportional representation
[{'concept': 'proportional representation'}, 'location', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Germany . ?m rdf:type ontology:proportional_representation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q555931
P991
Q502895
USER
Who was a successful candidate in that proportional representation ?
(Q555931,P991,c(Q502895))
action filter_type
action find
entity Q555931
relation P991
type Q502895
['Q555931', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q555931 property:P991 ?z . ?z rdf:type ontology:Q502895 }
German federal election, 2013
action filter_type
action find
entity German federal election, 2013
relation successful candidate
type common name
['German federal election, 2013', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:German_federal_election,_2013 property:successful_candidate ?z . ?z rdf:type ontology:common_name }
[]
common name
Q567
SYSTEM
Angela Merkel
Q567
(Q555931,P991,c(Q502895))
action filter_type
action find
entity Q555931
relation P991
type Q502895
[ANSWER] was a successful candidate in that proportional representation
['Q555931', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q555931 property:P991 ?z . ?z rdf:type ontology:Q502895 }
Angela Merkel
Angela Merkel was a successful candidate in that proportional representation
Angela Merkel
action filter_type
action find
entity German federal election, 2013
relation successful candidate
type common name
['German federal election, 2013', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:German_federal_election,_2013 property:successful_candidate ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6533323
Q502895
USER
And also tell me about Lethbridge municipal election, 2010?
(Q6533323,P991,c(Q502895))
action filter_type
action find
entity Q6533323
relation P991
type Q502895
['Q6533323', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q6533323 property:P991 ?u . ?u rdf:type ontology:Q502895 }
Lethbridge municipal election, 2010
action filter_type
action find
entity Lethbridge municipal election, 2010
relation successful candidate
type common name
['Lethbridge municipal election, 2010', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Lethbridge_municipal_election,_2010 property:successful_candidate ?u . ?u rdf:type ontology:common_name }
[]
common name
Q7286266
SYSTEM
Rajko Dodic
Q7286266
(Q6533323,P991,c(Q502895))
action filter_type
action find
entity Q6533323
relation P991
type Q502895
[ANSWER]
['Q6533323', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q6533323 property:P991 ?u . ?u rdf:type ontology:Q502895 }
Rajko Dodic
Rajko Dodic
action filter_type
action find
entity Lethbridge municipal election, 2010
relation successful candidate
type common name
['Lethbridge municipal election, 2010', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Lethbridge_municipal_election,_2010 property:successful_candidate ?u . ?u rdf:type ontology:common_name }
[]