Simple Question (Direct)
Simple Question
Q20738456
P19
Q34442
USER
Which road is the place of birth of Joseph Willis ?
(Q20738456,P19,c(Q34442))
action filter_type
action find
entity Q20738456
relation P19
type Q34442
['Q20738456', 'P19', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { resource:Q20738456 property:P19 ?e . ?e rdf:type ontology:Q34442 }
Joseph Willis
action filter_type
action find
entity Joseph Willis
relation place of birth
type road
['Joseph Willis', 'place of birth', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { resource:Joseph_Willis property:place_of_birth ?e . ?e rdf:type ontology:road }
[]
road
Q4251125
SYSTEM
The Canongate
Q4251125
(Q20738456,P19,c(Q34442))
action filter_type
action find
entity Q20738456
relation P19
type Q34442
[ANSWER]
['Q20738456', 'P19', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { resource:Q20738456 property:P19 ?e . ?e rdf:type ontology:Q34442 }
The Canongate
The Canongate
action filter_type
action find
entity Joseph Willis
relation place of birth
type road
['Joseph Willis', 'place of birth', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { resource:Joseph_Willis property:place_of_birth ?e . ?e rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4251125
P123
Q2342494
USER
Which collectable was published by that road ?
(c(Q2342494),P123,Q4251125)
action filter_type
action find_reverse
entity Q4251125
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q4251125']
SELECT DISTINCT ?a WHERE { ?a property:P123 resource:Q4251125 . ?a rdf:type ontology:Q2342494 }
The Canongate
action filter_type
action find_reverse
entity The Canongate
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'The Canongate']
SELECT DISTINCT ?a WHERE { ?a property:publisher resource:The_Canongate . ?a rdf:type ontology:collectable }
[]
collectable
Q5759100
SYSTEM
Highland River
Q5759100
(c(Q2342494),P123,Q4251125)
action filter_type
action find_reverse
entity Q4251125
relation P123
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P123', 'Q4251125']
SELECT DISTINCT ?a WHERE { ?a property:P123 resource:Q4251125 . ?a rdf:type ontology:Q2342494 }
Highland River
Highland River
action filter_type
action find_reverse
entity The Canongate
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'The Canongate']
SELECT DISTINCT ?a WHERE { ?a property:publisher resource:The_Canongate . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5759100
P136
Q483394
USER
What can be considered as category for that collectable ?
(Q5759100,P136,c(Q483394))
action filter_type
action find
entity Q5759100
relation P136
type Q483394
['Q5759100', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483394 . resource:Q5759100 property:P136 ?m }
Highland River
action filter_type
action find
entity Highland River
relation genre
type genre
['Highland River', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:genre . resource:Highland_River property:genre ?m }
[]
genre
Q8253
SYSTEM
fiction
Q8253
(Q5759100,P136,c(Q483394))
action filter_type
action find
entity Q5759100
relation P136
type Q483394
[ANSWER]
['Q5759100', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483394 . resource:Q5759100 property:P136 ?m }
fiction
fiction
action filter_type
action find
entity Highland River
relation genre
type genre
['Highland River', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:genre . resource:Highland_River property:genre ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6142316
P361
Q56061 Q34442 Q34442
USER
How many roads are a part of greater number of administrative territories or roads than Jingcheng Expressway ?
(c(Q34442),P361,c(Q56061)|c(Q34442))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q34442
type Q56061
action find_tuple_counts
relation P361
type Q34442
type Q34442
action count
action filter_multi_types
action find
entity Q6142316
relation P361
type Q56061
type Q34442
[{'concept': 'Q34442'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q34442 ) ( ontology:Q56061 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { { ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q34442 } } . resource:Q6142316 property:P361 ?r } } . FILTER ( ?k > ?y ) }
Jingcheng Expressway
action count
action greater
action union
action find_tuple_counts
relation part of
type road
type administrative territorial entity
action find_tuple_counts
relation part of
type road
type road
action count
action filter_multi_types
action find
entity Jingcheng Expressway
relation part of
type administrative territorial entity
type road
[{'concept': 'road'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:road ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { { ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:road } } . resource:Jingcheng_Expressway property:part_of ?r } } . FILTER ( ?k > ?y ) }
[]
administrative territorial entity road road
SYSTEM
7
Q19479200 Q19394898 Q18165239 Q5613683 Q11177265 Q10916893 Q19319524
(c(Q34442),P361,c(Q56061)|c(Q34442))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q34442
type Q56061
action find_tuple_counts
relation P361
type Q34442
type Q34442
action count
action filter_multi_types
action find
entity Q6142316
relation P361
type Q56061
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q34442 ) ( ontology:Q56061 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { { ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q34442 } } . resource:Q6142316 property:P361 ?r } } . FILTER ( ?k > ?y ) }
Rondweg Oostburgseweg Kunshi Expressway Guangshen Expressway Huang Taotao Expressway Together Huai Fu Highway Lange Heerenstraat
7
action count
action greater
action union
action find_tuple_counts
relation part of
type road
type administrative territorial entity
action find_tuple_counts
relation part of
type road
type road
action count
action filter_multi_types
action find
entity Jingcheng Expressway
relation part of
type administrative territorial entity
type road
[{'concept': 'road'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?s WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:road ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { { ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:road } } . resource:Jingcheng_Expressway property:part_of ?r } } . FILTER ( ?k > ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22677291 Q5759100
P50
Q502895
USER
Which people wrote Highland River or Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae) ?
OR((Q5759100,P50,c(Q502895)), (Q22677291,P50,c(Q502895)))
action filter_type
action union
action find
entity Q5759100
relation P50
action find
entity Q22677291
relation P50
type Q502895
{'OR': [['Q5759100', 'P50', {'concept': 'Q502895'}], ['Q22677291', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5759100 property:P50 ?w } UNION { resource:Q22677291 property:P50 ?w } } . ?w rdf:type ontology:Q502895 }
Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae) Highland River
action filter_type
action union
action find
entity Highland River
relation author
action find
entity Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae)
relation author
type common name
{'OR': [['Highland River', 'author', {'concept': 'common name'}], ['Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Highland_River property:author ?w } UNION { resource:Systematic_revision_of_the_Taiwanese_genus_Kurixalus_members_with_a_description_of_two_new_endemic_species_(Anura,_Rhacophoridae) property:author ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q22911805 Q22911807 Q22911789 Q22911791 Q22911797 Q22911796 Q6988888
SYSTEM
Jhih-Jia Jhang, Sheng-Hai Wu, Shu-Ping Wu, Chuan-Chin Huang, Te-En Lin, Chi-Li Tsai, Neil M. Gunn
Q22911805 Q22911807 Q22911789 Q22911791 Q22911797 Q22911796 Q6988888
OR((Q5759100,P50,c(Q502895)), (Q22677291,P50,c(Q502895)))
action filter_type
action union
action find
entity Q5759100
relation P50
action find
entity Q22677291
relation P50
type Q502895
[ANSWERS]
{'OR': [['Q5759100', 'P50', {'concept': 'Q502895'}], ['Q22677291', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5759100 property:P50 ?w } UNION { resource:Q22677291 property:P50 ?w } } . ?w rdf:type ontology:Q502895 }
Jhih-Jia Jhang Sheng-Hai Wu Shu-Ping Wu Chuan-Chin Huang Te-En Lin Chi-Li Tsai Neil M. Gunn
Jhih-Jia Jhang Sheng-Hai Wu Shu-Ping Wu Chuan-Chin Huang Te-En Lin Chi-Li Tsai Neil M. Gunn
action filter_type
action union
action find
entity Highland River
relation author
action find
entity Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae)
relation author
type common name
{'OR': [['Highland River', 'author', {'concept': 'common name'}], ['Systematic revision of the Taiwanese genus Kurixalus members with a description of two new endemic species (Anura, Rhacophoridae)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Highland_River property:author ?w } UNION { resource:Systematic_revision_of_the_Taiwanese_genus_Kurixalus_members_with_a_description_of_two_new_endemic_species_(Anura,_Rhacophoridae) property:author ?w } } . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6988888
P21
Q290
USER
Which sex does Neil M. Gunn have ?
(Q6988888,P21,c(Q290))
action filter_type
action find
entity Q6988888
relation P21
type Q290
['Q6988888', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q6988888 property:P21 ?l . ?l rdf:type ontology:Q290 }
Neil M. Gunn
action filter_type
action find
entity Neil M. Gunn
relation gender
type sex
['Neil M. Gunn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Neil_M._Gunn property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6988888,P21,c(Q290))
action filter_type
action find
entity Q6988888
relation P21
type Q290
[ANSWER]
['Q6988888', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q6988888 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Neil M. Gunn
relation gender
type sex
['Neil M. Gunn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Neil_M._Gunn property:gender ?l . ?l rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q8058495
P21
Q502895
USER
Does Young Woo Kang have the gender as that sex ?
(Q8058495,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q8058495
relation P21
['Q8058495', 'P21', 'Q6581097']
ASK WHERE { resource:Q8058495 property:P21 resource:Q6581097 }
male Young Woo Kang
action is_in
entity male
action find
entity Young Woo Kang
relation gender
['Young Woo Kang', 'gender', 'male']
ASK WHERE { resource:Young_Woo_Kang property:gender resource:male }
[]
common name
SYSTEM
YES
(Q8058495,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q8058495
relation P21
[ANSWER]
['Q8058495', 'P21', 'Q6581097']
ASK WHERE { resource:Q8058495 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Young Woo Kang
relation gender
['Young Woo Kang', 'gender', 'male']
ASK WHERE { resource:Young_Woo_Kang property:gender resource:male }
[]