Simple Question (Direct)
Simple Question
Q9083412
P734
Q101352
USER
Who is associated with Zhang Li ?
(Q9083412,P734,c(Q101352))
action filter_type
action find
entity Q9083412
relation P734
type Q101352
['Q9083412', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q101352 . resource:Q9083412 property:P734 ?e }
Zhang Li
action filter_type
action find
entity Zhang Li
relation family name
type family name
['Zhang Li', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:family_name . resource:Zhang_Li property:family_name ?e }
[]
family name
Q804909
SYSTEM
Zhang
Q804909
(Q9083412,P734,c(Q101352))
action filter_type
action find
entity Q9083412
relation P734
type Q101352
[ANSWER] is associated with [ANSWER] Li
['Q9083412', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q101352 . resource:Q9083412 property:P734 ?e }
Zhang
Zhang is associated with Zhang Li
Zhang
action filter_type
action find
entity Zhang Li
relation family name
type family name
['Zhang Li', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:family_name . resource:Zhang_Li property:family_name ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9083412
P641
Q349
USER
What was the sport that Zhang Li was a part of ?
(Q9083412,P641,c(Q349))
action filter_type
action find
entity Q9083412
relation P641
type Q349
['Q9083412', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q9083412 property:P641 ?t . ?t rdf:type ontology:Q349 }
Zhang Li
action filter_type
action find
entity Zhang Li
relation sport
type sport
['Zhang Li', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Zhang_Li property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q9083412,P641,c(Q349))
action filter_type
action find
entity Q9083412
relation P641
type Q349
The sport that Zhang was in [ANSWER]
['Q9083412', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q9083412 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
The sport that Zhang was in association football
association football
action filter_type
action find
entity Zhang Li
relation sport
type sport
['Zhang Li', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Zhang_Li property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9083412
P106
Q12737077
USER
What is the profession of Zhang Li ?
(Q9083412,P106,c(Q12737077))
action filter_type
action find
entity Q9083412
relation P106
type Q12737077
['Q9083412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q9083412 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Zhang Li
action filter_type
action find
entity Zhang Li
relation occupation
type occupation
['Zhang Li', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Zhang_Li property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q9083412,P106,c(Q12737077))
action filter_type
action find
entity Q9083412
relation P106
type Q12737077
The profession of Zhang Li is an [ANSWER]
['Q9083412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q9083412 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
The profession of Zhang Li is an association football player
association football player
action filter_type
action find
entity Zhang Li
relation occupation
type occupation
['Zhang Li', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Zhang_Li property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9083412
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q9083412
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q9083412 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Zhang Li
action filter_type
action find
entity Zhang Li
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Zhang_Li property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q9083412
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q9083412 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
People's Republic of China
The People's Republic of China is that person a civilian of
People's Republic of China
action filter_type
action find
entity Zhang Li
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Zhang_Li property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4962004
Q15617994
USER
And what about Brita Catharina Lidbeck?
(Q4962004,P27,c(Q15617994))
action filter_type
action find
entity Q4962004
relation P27
type Q15617994
['Q4962004', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4962004 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Brita Catharina Lidbeck
action filter_type
action find
entity Brita Catharina Lidbeck
relation country of citizenship
type designation for an administrative territorial entity
['Brita Catharina Lidbeck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Brita_Catharina_Lidbeck property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4962004,P27,c(Q15617994))
action filter_type
action find
entity Q4962004
relation P27
type Q15617994
[ANSWER]
['Q4962004', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4962004 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
Sweden
action filter_type
action find
entity Brita Catharina Lidbeck
relation country of citizenship
type designation for an administrative territorial entity
['Brita Catharina Lidbeck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Brita_Catharina_Lidbeck property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4962004 Q2657529
P21
Q290
USER
How many sexes are the sex of Brita Catharina Lidbeck or Bruenor Battlehammer ?
(Q4962004,P21,c(Q290)) (Q2657529,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q4962004
relation P21
type Q290
action filter_type
action find
entity Q2657529
relation P21
type Q290
['Q4962004', 'P21', {'concept': 'Q290'}] ['Q2657529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { resource:Q2657529 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q4962004 property:P21 ?v . ?v rdf:type ontology:Q290 } }
Brita Catharina Lidbeck Bruenor Battlehammer
action count
action union
action filter_type
action find
entity Brita Catharina Lidbeck
relation gender
type sex
action filter_type
action find
entity Bruenor Battlehammer
relation gender
type sex
['Brita Catharina Lidbeck', 'gender', {'concept': 'sex'}] ['Bruenor Battlehammer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { resource:Bruenor_Battlehammer property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Brita_Catharina_Lidbeck property:gender ?v . ?v rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q4962004,P21,c(Q290)) (Q2657529,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q4962004
relation P21
type Q290
action filter_type
action find
entity Q2657529
relation P21
type Q290
[ANSWER]
['Q4962004', 'P21', {'concept': 'Q290'}] ['Q2657529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { resource:Q2657529 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q4962004 property:P21 ?v . ?v rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Brita Catharina Lidbeck
relation gender
type sex
action filter_type
action find
entity Bruenor Battlehammer
relation gender
type sex
['Brita Catharina Lidbeck', 'gender', {'concept': 'sex'}] ['Bruenor Battlehammer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { resource:Bruenor_Battlehammer property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Brita_Catharina_Lidbeck property:gender ?v . ?v rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P183
Q16521
USER
Which taxons belong to People's Republic of China ?
(c(Q16521),P183,Q148)
action filter_type
action find_reverse
entity Q148
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q148']
SELECT DISTINCT ?i WHERE { ?i property:P183 resource:Q148 . ?i rdf:type ontology:Q16521 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', "People's Republic of China"]
SELECT DISTINCT ?i WHERE { ?i property:endemic_to resource:People's_Republic_of_China . ?i rdf:type ontology:taxon }
[]
taxon
Q14556972 Q2286815
SYSTEM
Przevalski's Nuthatch, Leptobotia
Q14556972 Q2286815
(c(Q16521),P183,Q148)
action filter_type
action find_reverse
entity Q148
relation P183
type Q16521
[ANSWERS] belong to People's Republic of China
[{'concept': 'Q16521'}, 'P183', 'Q148']
SELECT DISTINCT ?i WHERE { ?i property:P183 resource:Q148 . ?i rdf:type ontology:Q16521 }
Przevalski's Nuthatch Leptobotia
Przevalski's Nuthatch and Leptobotia belong to People's Republic of China
Przevalski's Nuthatch Leptobotia
action filter_type
action find_reverse
entity People's Republic of China
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', "People's Republic of China"]
SELECT DISTINCT ?i WHERE { ?i property:endemic_to resource:People's_Republic_of_China . ?i rdf:type ontology:taxon }
[]