Simple Question (Direct)
Simple Question
Q4284540
P106
Q12737077
USER
Which occupation is the profession of Lev Matveyev ?
(Q4284540,P106,c(Q12737077))
action filter_type
action find
entity Q4284540
relation P106
type Q12737077
['Q4284540', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4284540 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Lev Matveyev
action filter_type
action find
entity Lev Matveyev
relation occupation
type occupation
['Lev Matveyev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Lev_Matveyev property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4284540,P106,c(Q12737077))
action filter_type
action find
entity Q4284540
relation P106
type Q12737077
Player [ANSWER] is the profession of Lev Matveyev
['Q4284540', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4284540 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Lev Matveyev
association football player
action filter_type
action find
entity Lev Matveyev
relation occupation
type occupation
['Lev Matveyev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Lev_Matveyev property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4284540
P19
Q56061
USER
Which administrative territory was Lev Matveyev born at ?
(Q4284540,P19,c(Q56061))
action filter_type
action find
entity Q4284540
relation P19
type Q56061
['Q4284540', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4284540 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Lev Matveyev
action filter_type
action find
entity Lev Matveyev
relation place of birth
type administrative territorial entity
['Lev Matveyev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Lev_Matveyev property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q143376
SYSTEM
Ishimbay
Q143376
(Q4284540,P19,c(Q56061))
action filter_type
action find
entity Q4284540
relation P19
type Q56061
Lev Matveyev was born in [ANSWER]
['Q4284540', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4284540 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ishimbay
Lev Matveyev was born in Ishimbay
Ishimbay
action filter_type
action find
entity Lev Matveyev
relation place of birth
type administrative territorial entity
['Lev Matveyev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Lev_Matveyev property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7781948
Q56061
USER
And also tell me about Theodore Pike?
(Q7781948,P19,c(Q56061))
action filter_type
action find
entity Q7781948
relation P19
type Q56061
['Q7781948', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7781948 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Theodore Pike
action filter_type
action find
entity Theodore Pike
relation place of birth
type administrative territorial entity
['Theodore Pike', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Theodore_Pike property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q383188
SYSTEM
Thurles
Q383188
(Q7781948,P19,c(Q56061))
action filter_type
action find
entity Q7781948
relation P19
type Q56061
[ANSWER]
['Q7781948', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7781948 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Thurles
Thurles
action filter_type
action find
entity Theodore Pike
relation place of birth
type administrative territorial entity
['Theodore Pike', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Theodore_Pike property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q383188 Q27 Q264970
P17
Q15617994
USER
Is Thurles located in Ireland and Anhalt-Köthen ?
(Q383188,P17,Q27) (Q383188,P17,Q264970)
action is_in
entity Q383188
action intersection
action find_reverse
entity Q27
relation P17
action find_reverse
entity Q264970
relation P17
['Q383188', 'P17', 'Q27'] ['Q383188', 'P17', 'Q264970']
ASK WHERE { resource:Q383188 property:P17 resource:Q27 . resource:Q383188 property:P17 resource:Q264970 }
Thurles Ireland Anhalt-Köthen
action is_in
entity Thurles
action intersection
action find_reverse
entity Ireland
relation country
action find_reverse
entity Anhalt-Köthen
relation country
['Thurles', 'country', 'Ireland'] ['Thurles', 'country', 'Anhalt-Köthen']
ASK WHERE { resource:Thurles property:country resource:Ireland . resource:Thurles property:country resource:Anhalt-Köthen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q383188,P17,Q27) (Q383188,P17,Q264970)
action is_in
entity Q383188
action intersection
action find_reverse
entity Q27
relation P17
action find_reverse
entity Q264970
relation P17
[ANSWER]
['Q383188', 'P17', 'Q27'] ['Q383188', 'P17', 'Q264970']
ASK WHERE { resource:Q383188 property:P17 resource:Q27 . resource:Q383188 property:P17 resource:Q264970 }
YES and NO respectively
action is_in
entity Thurles
action intersection
action find_reverse
entity Ireland
relation country
action find_reverse
entity Anhalt-Köthen
relation country
['Thurles', 'country', 'Ireland'] ['Thurles', 'country', 'Anhalt-Köthen']
ASK WHERE { resource:Thurles property:country resource:Ireland . resource:Thurles property:country resource:Anhalt-Köthen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q164885 Q208607
P425
Q349
USER
Does association football player have 1000 km Nürburgring and kung fu as thier field of occupation ?
(Q937857,P425,Q164885) (Q937857,P425,Q208607)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q164885
relation P425
action find_reverse
entity Q208607
relation P425
['Q937857', 'P425', 'Q164885'] ['Q937857', 'P425', 'Q208607']
ASK WHERE { resource:Q937857 property:P425 resource:Q164885 . resource:Q937857 property:P425 resource:Q208607 }
association football player 1000 km Nürburgring kung fu
action is_in
entity association football player
action intersection
action find_reverse
entity 1000 km Nürburgring
relation field of this occupation
action find_reverse
entity kung fu
relation field of this occupation
['association football player', 'field of this occupation', '1000 km Nürburgring'] ['association football player', 'field of this occupation', 'kung fu']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:1000_km_Nürburgring . resource:association_football_player property:field_of_this_occupation resource:kung_fu }
[]
sport
SYSTEM
NO
(Q937857,P425,Q164885) (Q937857,P425,Q208607)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q164885
relation P425
action find_reverse
entity Q208607
relation P425
[ANSWER]
['Q937857', 'P425', 'Q164885'] ['Q937857', 'P425', 'Q208607']
ASK WHERE { resource:Q937857 property:P425 resource:Q164885 . resource:Q937857 property:P425 resource:Q208607 }
No
action is_in
entity association football player
action intersection
action find_reverse
entity 1000 km Nürburgring
relation field of this occupation
action find_reverse
entity kung fu
relation field of this occupation
['association football player', 'field of this occupation', '1000 km Nürburgring'] ['association football player', 'field of this occupation', 'kung fu']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:1000_km_Nürburgring . resource:association_football_player property:field_of_this_occupation resource:kung_fu }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q143376 Q212 Q42277
P17
Q15617994
USER
Is Ishimbay located in Ukraine and Ticengo ?
(Q143376,P17,Q212) (Q143376,P17,Q42277)
action is_in
entity Q143376
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q42277
relation P17
['Q143376', 'P17', 'Q212'] ['Q143376', 'P17', 'Q42277']
ASK WHERE { resource:Q143376 property:P17 resource:Q212 . resource:Q143376 property:P17 resource:Q42277 }
Ishimbay Ukraine Ticengo
action is_in
entity Ishimbay
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Ticengo
relation country
['Ishimbay', 'country', 'Ukraine'] ['Ishimbay', 'country', 'Ticengo']
ASK WHERE { resource:Ishimbay property:country resource:Ukraine . resource:Ishimbay property:country resource:Ticengo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q143376,P17,Q212) (Q143376,P17,Q42277)
action is_in
entity Q143376
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q42277
relation P17
[ANSWER]
['Q143376', 'P17', 'Q212'] ['Q143376', 'P17', 'Q42277']
ASK WHERE { resource:Q143376 property:P17 resource:Q212 . resource:Q143376 property:P17 resource:Q42277 }
No
action is_in
entity Ishimbay
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Ticengo
relation country
['Ishimbay', 'country', 'Ukraine'] ['Ishimbay', 'country', 'Ticengo']
ASK WHERE { resource:Ishimbay property:country resource:Ukraine . resource:Ishimbay property:country resource:Ticengo }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1440133 Q164885
P17
Q1048835
USER
Which political territories are 1000 km Nürburgring and Frauenberg a part of ?
AND((Q164885,P17,c(Q1048835)), (Q1440133,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q164885
relation P17
action find
entity Q1440133
relation P17
type Q1048835
{'AND': [['Q164885', 'P17', {'concept': 'Q1048835'}], ['Q1440133', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q164885 property:P17 ?q . resource:Q1440133 property:P17 ?q }
Frauenberg 1000 km Nürburgring
action filter_type
action intersection
action find
entity 1000 km Nürburgring
relation country
action find
entity Frauenberg
relation country
type political territorial entity
{'AND': [['1000 km Nürburgring', 'country', {'concept': 'political territorial entity'}], ['Frauenberg', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:1000_km_Nürburgring property:country ?q . resource:Frauenberg property:country ?q }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q164885,P17,c(Q1048835)), (Q1440133,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q164885
relation P17
action find
entity Q1440133
relation P17
type Q1048835
[ANSWER] is 1000 km Nürburgring and Frauenberg a part of
{'AND': [['Q164885', 'P17', {'concept': 'Q1048835'}], ['Q1440133', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q164885 property:P17 ?q . resource:Q1440133 property:P17 ?q }
Germany
Germany is 1000 km Nürburgring and Frauenberg a part of
Germany
action filter_type
action intersection
action find
entity 1000 km Nürburgring
relation country
action find
entity Frauenberg
relation country
type political territorial entity
{'AND': [['1000 km Nürburgring', 'country', {'concept': 'political territorial entity'}], ['Frauenberg', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:1000_km_Nürburgring property:country ?q . resource:Frauenberg property:country ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q383188
P21 P20
Q502895
USER
Which people died in Thurles and have the gender as male ?
AND((c(Q502895),P20,Q383188), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q383188
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q383188'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q383188 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male Thurles
action filter_type
action intersection
action find_reverse
entity Thurles
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Thurles'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Thurles . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q6904132 Q2423107
SYSTEM
Montague James Mathew, Thomas Croke
Q6904132 Q2423107
AND((c(Q502895),P20,Q383188), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q383188
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Thurles and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q383188'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q383188 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Montague James Mathew Thomas Croke
Montague James Mathew and Thomas Croke died in Thurles and have the gender as male
Montague James Mathew Thomas Croke
action filter_type
action intersection
action find_reverse
entity Thurles
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Thurles'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Thurles . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]