Simple Question (Direct)
Simple Question
Q2609037
P479
Q1183543
USER
Which device was the means to input SimSafari ?
(Q2609037,P479,c(Q1183543))
action filter_type
action find
entity Q2609037
relation P479
type Q1183543
['Q2609037', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1183543 . resource:Q2609037 property:P479 ?r }
SimSafari
action filter_type
action find
entity SimSafari
relation input device
type device
['SimSafari', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:device . resource:SimSafari property:input_device ?r }
[]
device
Q250
SYSTEM
computer keyboard
Q250
(Q2609037,P479,c(Q1183543))
action filter_type
action find
entity Q2609037
relation P479
type Q1183543
[ANSWER] was the means to input SimSafari
['Q2609037', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1183543 . resource:Q2609037 property:P479 ?r }
computer keyboard
Computer keyboard was the means to input SimSafari
computer keyboard
action filter_type
action find
entity SimSafari
relation input device
type device
['SimSafari', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:device . resource:SimSafari property:input_device ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q250
P1056
Q43229
USER
Who are the producer of that device ?
(c(Q43229),P1056,Q250)
action filter_type
action find_reverse
entity Q250
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q250']
SELECT DISTINCT ?r WHERE { ?r property:P1056 resource:Q250 . ?r rdf:type ontology:Q43229 }
computer keyboard
action filter_type
action find_reverse
entity computer keyboard
relation product
type organization
[{'concept': 'organization'}, 'product', 'computer keyboard']
SELECT DISTINCT ?r WHERE { ?r property:product resource:computer_keyboard . ?r rdf:type ontology:organization }
[]
organization
Q223127 Q152864 Q367412
SYSTEM
Logitech, Asus, Razer Inc.
Q223127 Q152864 Q367412
(c(Q43229),P1056,Q250)
action filter_type
action find_reverse
entity Q250
relation P1056
type Q43229
The producer of that device are also [ANSWERS]
[{'concept': 'Q43229'}, 'P1056', 'Q250']
SELECT DISTINCT ?r WHERE { ?r property:P1056 resource:Q250 . ?r rdf:type ontology:Q43229 }
Logitech Asus Razer Inc.
The producer of that device are also Logitech, Asus and Razer Inc.
Logitech Asus Razer Inc.
action filter_type
action find_reverse
entity computer keyboard
relation product
type organization
[{'concept': 'organization'}, 'product', 'computer keyboard']
SELECT DISTINCT ?r WHERE { ?r property:product resource:computer_keyboard . ?r rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152864
P749
Q43229
USER
Which organization is owned by that one ?
(c(Q43229),P749,Q152864)
action filter_type
action find_reverse
entity Q152864
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q152864']
SELECT DISTINCT ?f WHERE { ?f property:P749 resource:Q152864 . ?f rdf:type ontology:Q43229 }
Asus
action filter_type
action find_reverse
entity Asus
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'Asus']
SELECT DISTINCT ?f WHERE { ?f property:parent_organization resource:Asus . ?f rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q367412
SYSTEM
Did you mean Razer Inc. ?
Q223127 Q152864 Q367412
(c(Q43229),P749,Q223127) (c(Q43229),P749,Q152864) (c(Q43229),P749,Q367412)
[ANSWER]
[{'concept': 'Q43229'}, 'P749', 'Q223127'] [{'concept': 'Q43229'}, 'P749', 'Q152864'] [{'concept': 'Q43229'}, 'P749', 'Q367412']
SELECT DISTINCT ?f WHERE { ?f property:P749 resource:Q152864 . ?f rdf:type ontology:Q43229 }
Logitech Asus Razer Inc.
Did you mean Razer Inc. ?
Razer Inc.
[{'concept': 'organization'}, 'parent organization', 'Logitech'] [{'concept': 'organization'}, 'parent organization', 'Asus'] [{'concept': 'organization'}, 'parent organization', 'Razer Inc.']
SELECT DISTINCT ?f WHERE { ?f property:parent_organization resource:Asus . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Asus. Could you tell me the answer for that?
(c(Q43229),P749,Q152864)
Q152864
[{'concept': 'Q43229'}, 'P749', 'Q152864']
[{'concept': 'organization'}, 'parent organization', 'Asus']
[]
Q4046573
SYSTEM
Pegatron
Q4046573
(c(Q43229),P749,Q152864)
action filter_type
action find_reverse
entity Q152864
relation P749
type Q43229
So [ANSWER] is owned by that one
[{'concept': 'Q43229'}, 'P749', 'Q152864']
SELECT DISTINCT ?f WHERE { ?f property:P749 resource:Q152864 . ?f rdf:type ontology:Q43229 }
Pegatron
So Pegatron is owned by that one
Pegatron
action filter_type
action find_reverse
entity Asus
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'Asus']
SELECT DISTINCT ?f WHERE { ?f property:parent_organization resource:Asus . ?f rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q152864
P159
Q56061
USER
How many administrative territories are the HQ of Asus ?
(Q152864,P159,c(Q56061))
action count
action filter_type
action find
entity Q152864
relation P159
type Q56061
['Q152864', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q152864 property:P159 ?y . ?y rdf:type ontology:Q56061 }
Asus
action count
action filter_type
action find
entity Asus
relation headquarters location
type administrative territorial entity
['Asus', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Asus property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1867
(Q152864,P159,c(Q56061))
action count
action filter_type
action find
entity Q152864
relation P159
type Q56061
[ANSWER]
['Q152864', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q152864 property:P159 ?y . ?y rdf:type ontology:Q56061 }
Taipei
1
action count
action filter_type
action find
entity Asus
relation headquarters location
type administrative territorial entity
['Asus', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Asus property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16996905
Q56061
USER
And also tell me about Indilinx?
(Q16996905,P159,c(Q56061))
action count
action filter_type
action find
entity Q16996905
relation P159
type Q56061
['Q16996905', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q16996905 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Indilinx
action count
action filter_type
action find
entity Indilinx
relation headquarters location
type administrative territorial entity
['Indilinx', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Indilinx property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q16996905,P159,c(Q56061))
action count
action filter_type
action find
entity Q16996905
relation P159
type Q56061
[ANSWER]
['Q16996905', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q16996905 property:P159 ?r . ?r rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Indilinx
relation headquarters location
type administrative territorial entity
['Indilinx', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Indilinx property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16996905
P17
Q15617994
USER
Which administrative territory is that organization located in ?
action filter_type
action find
entity Q16996905
relation P17
type Q15617994
SELECT DISTINCT ?x WHERE { resource:Q16996905 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Indilinx
action filter_type
action find
entity Indilinx
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Indilinx property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q16996905
relation P17
type Q15617994
That organization is located in [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q16996905 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
That organization is located in United States of America
United States of America
action filter_type
action find
entity Indilinx
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Indilinx property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q223127 Q1094207
P127
Q1076486
USER
How many sports venues are under posessision of Logitech or City of Tshwane Metropolitan Municipality ?
(c(Q1076486),P127,Q223127) (c(Q1076486),P127,Q1094207)
action count
action union
action filter_type
action find_reverse
entity Q223127
relation P127
type Q1076486
action filter_type
action find_reverse
entity Q1094207
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q223127'] [{'concept': 'Q1076486'}, 'P127', 'Q1094207']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P127 ?y . VALUES ( ?y ) { ( resource:Q223127 ) ( resource:Q1094207 ) } }
Logitech City of Tshwane Metropolitan Municipality
action count
action union
action filter_type
action find_reverse
entity Logitech
relation owned by
type sports venue
action filter_type
action find_reverse
entity City of Tshwane Metropolitan Municipality
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Logitech'] [{'concept': 'sports venue'}, 'owned by', 'City of Tshwane Metropolitan Municipality']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:owned_by ?y . VALUES ( ?y ) { ( resource:Logitech ) ( resource:City_of_Tshwane_Metropolitan_Municipality ) } }
[]
sports venue
SYSTEM
2
Q5635121 Q5558421
(c(Q1076486),P127,Q223127) (c(Q1076486),P127,Q1094207)
action count
action union
action filter_type
action find_reverse
entity Q223127
relation P127
type Q1076486
action filter_type
action find_reverse
entity Q1094207
relation P127
type Q1076486
[ANSWER]
[{'concept': 'Q1076486'}, 'P127', 'Q223127'] [{'concept': 'Q1076486'}, 'P127', 'Q1094207']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P127 ?y . VALUES ( ?y ) { ( resource:Q223127 ) ( resource:Q1094207 ) } }
HM Pitje Stadium Giant Stadium
2
action count
action union
action filter_type
action find_reverse
entity Logitech
relation owned by
type sports venue
action filter_type
action find_reverse
entity City of Tshwane Metropolitan Municipality
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Logitech'] [{'concept': 'sports venue'}, 'owned by', 'City of Tshwane Metropolitan Municipality']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:owned_by ?y . VALUES ( ?y ) { ( resource:Logitech ) ( resource:City_of_Tshwane_Metropolitan_Municipality ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around 22 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d = 22 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d = 22 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d = 22 ) }
Israel Yemen France People's Republic of China Russia United States of America
6
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d = 22 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q223127
P178
Q7397
USER
Which software was developed by Logitech ?
(c(Q7397),P178,Q223127)
action filter_type
action find_reverse
entity Q223127
relation P178
type Q7397
[{'concept': 'Q7397'}, 'P178', 'Q223127']
SELECT DISTINCT ?w WHERE { ?w property:P178 resource:Q223127 . ?w rdf:type ontology:Q7397 }
Logitech
action filter_type
action find_reverse
entity Logitech
relation developer
type software
[{'concept': 'software'}, 'developer', 'Logitech']
SELECT DISTINCT ?w WHERE { ?w property:developer resource:Logitech . ?w rdf:type ontology:software }
[]
software
Q1476949
SYSTEM
Logitech Media Server
Q1476949
(c(Q7397),P178,Q223127)
action filter_type
action find_reverse
entity Q223127
relation P178
type Q7397
The [ANSWER] was developed by Logitech
[{'concept': 'Q7397'}, 'P178', 'Q223127']
SELECT DISTINCT ?w WHERE { ?w property:P178 resource:Q223127 . ?w rdf:type ontology:Q7397 }
Logitech Media Server
The Logitech Media Server was developed by Logitech
Logitech Media Server
action filter_type
action find_reverse
entity Logitech
relation developer
type software
[{'concept': 'software'}, 'developer', 'Logitech']
SELECT DISTINCT ?w WHERE { ?w property:developer resource:Logitech . ?w rdf:type ontology:software }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1476949
P277
Q629206
USER
Which computer language is used to write that software ?
(Q1476949,P277,c(Q629206))
action filter_type
action find
entity Q1476949
relation P277
type Q629206
['Q1476949', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q629206 . resource:Q1476949 property:P277 ?s }
Logitech Media Server
action filter_type
action find
entity Logitech Media Server
relation programming language
type computer language
['Logitech Media Server', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:computer_language . resource:Logitech_Media_Server property:programming_language ?s }
[]
computer language
Q42478
SYSTEM
Perl
Q42478
(Q1476949,P277,c(Q629206))
action filter_type
action find
entity Q1476949
relation P277
type Q629206
[ANSWER] is used to write that software
['Q1476949', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q629206 . resource:Q1476949 property:P277 ?s }
Perl
Perl is used to write that software
Perl
action filter_type
action find
entity Logitech Media Server
relation programming language
type computer language
['Logitech Media Server', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:computer_language . resource:Logitech_Media_Server property:programming_language ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13634245 Q223127
P159
Q13220204
USER
Which administrative country subdivisions are the head office for Logitech or Hospital to Alta located ?
OR((Q223127,P159,c(Q13220204)), (Q13634245,P159,c(Q13220204)))
action filter_type
action union
action find
entity Q223127
relation P159
action find
entity Q13634245
relation P159
type Q13220204
{'OR': [['Q223127', 'P159', {'concept': 'Q13220204'}], ['Q13634245', 'P159', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P159 ?m . VALUES ( ?i ) { ( resource:Q223127 ) ( resource:Q13634245 ) } } . ?m rdf:type ontology:Q13220204 }
Hospital to Alta Logitech
action filter_type
action union
action find
entity Logitech
relation headquarters location
action find
entity Hospital to Alta
relation headquarters location
type second-level administrative country subdivision
{'OR': [['Logitech', 'headquarters location', {'concept': 'second-level administrative country subdivision'}], ['Hospital to Alta', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:headquarters_location ?m . VALUES ( ?i ) { ( resource:Logitech ) ( resource:Hospital_to_Alta ) } } . ?m rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q70332 Q6535
SYSTEM
Romanel-sur-Morges, Alta
Q70332 Q6535
OR((Q223127,P159,c(Q13220204)), (Q13634245,P159,c(Q13220204)))
action filter_type
action union
action find
entity Q223127
relation P159
action find
entity Q13634245
relation P159
type Q13220204
[ANSWERS] are the head office for Logitech or Hospital to Alta located
{'OR': [['Q223127', 'P159', {'concept': 'Q13220204'}], ['Q13634245', 'P159', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P159 ?m . VALUES ( ?i ) { ( resource:Q223127 ) ( resource:Q13634245 ) } } . ?m rdf:type ontology:Q13220204 }
Romanel-sur-Morges Alta
Romanel-sur-Morges and Alta are the head office for Logitech or Hospital to Alta located
Romanel-sur-Morges Alta
action filter_type
action union
action find
entity Logitech
relation headquarters location
action find
entity Hospital to Alta
relation headquarters location
type second-level administrative country subdivision
{'OR': [['Logitech', 'headquarters location', {'concept': 'second-level administrative country subdivision'}], ['Hospital to Alta', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:headquarters_location ?m . VALUES ( ?i ) { ( resource:Logitech ) ( resource:Hospital_to_Alta ) } } . ?m rdf:type ontology:second-level_administrative_country_subdivision }
[]