Simple Question (Direct)
Simple Question
Q22913069
P734
Q82799
USER
Which name is associated with Koen Raes ?
(Q22913069,P734,c(Q82799))
action filter_type
action find
entity Q22913069
relation P734
type Q82799
['Q22913069', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q22913069 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Koen Raes
action filter_type
action find
entity Koen Raes
relation family name
type name
['Koen Raes', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Koen_Raes property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q21450254
SYSTEM
Raes
Q21450254
(Q22913069,P734,c(Q82799))
action filter_type
action find
entity Q22913069
relation P734
type Q82799
[ANSWER] is associated with Koen [ANSWER]
['Q22913069', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q22913069 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Raes
Raes is associated with Koen Raes
Raes
action filter_type
action find
entity Koen Raes
relation family name
type name
['Koen Raes', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Koen_Raes property:family_name ?w . ?w rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22913069
P19
Q56061
USER
How many administrative territories are the birthplace of Koen Raes ?
(Q22913069,P19,c(Q56061))
action count
action filter_type
action find
entity Q22913069
relation P19
type Q56061
['Q22913069', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q22913069 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Koen Raes
action count
action filter_type
action find
entity Koen Raes
relation place of birth
type administrative territorial entity
['Koen Raes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Koen_Raes property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1296
(Q22913069,P19,c(Q56061))
action count
action filter_type
action find
entity Q22913069
relation P19
type Q56061
[ANSWER]
['Q22913069', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q22913069 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Ghent
1
action count
action filter_type
action find
entity Koen Raes
relation place of birth
type administrative territorial entity
['Koen Raes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Koen_Raes property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q731420
Q56061
USER
And what about Zsófia Gubacsi?
(Q731420,P19,c(Q56061))
action count
action filter_type
action find
entity Q731420
relation P19
type Q56061
['Q731420', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q731420 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Zsófia Gubacsi
action count
action filter_type
action find
entity Zsófia Gubacsi
relation place of birth
type administrative territorial entity
['Zsófia Gubacsi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Zsófia_Gubacsi property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q731420,P19,c(Q56061))
action count
action filter_type
action find
entity Q731420
relation P19
type Q56061
[ANSWER]
['Q731420', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q731420 property:P19 ?s . ?s rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Zsófia Gubacsi
relation place of birth
type administrative territorial entity
['Zsófia Gubacsi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Zsófia_Gubacsi property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22913069
P27
Q15617994
USER
Which administrative territory is the native country of Koen Raes ?
(Q22913069,P27,c(Q15617994))
action filter_type
action find
entity Q22913069
relation P27
type Q15617994
['Q22913069', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q22913069 property:P27 ?x }
Koen Raes
action filter_type
action find
entity Koen Raes
relation country of citizenship
type designation for an administrative territorial entity
['Koen Raes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Koen_Raes property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q22913069,P27,c(Q15617994))
action filter_type
action find
entity Q22913069
relation P27
type Q15617994
[ANSWER] is the native country of Koen Raes
['Q22913069', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q22913069 property:P27 ?x }
Belgium
Belgium is the native country of Koen Raes
Belgium
action filter_type
action find
entity Koen Raes
relation country of citizenship
type designation for an administrative territorial entity
['Koen Raes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Koen_Raes property:country_of_citizenship ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16855142
Q15617994
USER
And how about Gracie Delépine?
(Q16855142,P27,c(Q15617994))
action filter_type
action find
entity Q16855142
relation P27
type Q15617994
['Q16855142', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16855142 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Gracie Delépine
action filter_type
action find
entity Gracie Delépine
relation country of citizenship
type designation for an administrative territorial entity
['Gracie Delépine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gracie_Delépine property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16855142,P27,c(Q15617994))
action filter_type
action find
entity Q16855142
relation P27
type Q15617994
[ANSWER]
['Q16855142', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16855142 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Gracie Delépine
relation country of citizenship
type designation for an administrative territorial entity
['Gracie Delépine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gracie_Delépine property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16855142
P21
Q290
USER
Which sex does that person have ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q16855142
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16855142 property:P21 ?e . ?e rdf:type ontology:Q290 }
Gracie Delépine
action filter_type
action find
entity Gracie Delépine
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Gracie_Delépine property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q142,P21,c(Q290))
action filter_type
action find
entity Q16855142
relation P21
type Q290
That person has a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16855142 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Gracie Delépine
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Gracie_Delépine property:gender ?e . ?e rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q356555
P138
Q2235308
USER
How many ship types have France or Fahr Abbey as their toponym ?
(c(Q2235308),P138,Q142) (c(Q2235308),P138,Q356555)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q356555
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q142'] [{'concept': 'Q2235308'}, 'P138', 'Q356555']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?o ) { ( resource:Q142 ) ( resource:Q356555 ) } . ?v property:P138 ?o }
France Fahr Abbey
action count
action union
action filter_type
action find_reverse
entity France
relation named after
type ship type
action filter_type
action find_reverse
entity Fahr Abbey
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'France'] [{'concept': 'ship type'}, 'named after', 'Fahr Abbey']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?o ) { ( resource:France ) ( resource:Fahr_Abbey ) } . ?v property:named_after ?o }
[]
ship type
SYSTEM
4
Q5501998 Q5502226 Q49644 Q5502576
(c(Q2235308),P138,Q142) (c(Q2235308),P138,Q356555)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q356555
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q142'] [{'concept': 'Q2235308'}, 'P138', 'Q356555']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?o ) { ( resource:Q142 ) ( resource:Q356555 ) } . ?v property:P138 ?o }
French battleship République French frigate Républicaine française France French ship République française
4
action count
action union
action filter_type
action find_reverse
entity France
relation named after
type ship type
action filter_type
action find_reverse
entity Fahr Abbey
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'France'] [{'concept': 'ship type'}, 'named after', 'Fahr Abbey']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?o ) { ( resource:France ) ( resource:Fahr_Abbey ) } . ?v property:named_after ?o }
[]