Simple Question (Direct)
Simple Question
Q1704450
P641
Q349
USER
What did Josef Cinar participate in ?
(Q1704450,P641,c(Q349))
action filter_type
action find
entity Q1704450
relation P641
type Q349
['Q1704450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q1704450 property:P641 ?p }
Josef Cinar
action filter_type
action find
entity Josef Cinar
relation sport
type sport
['Josef Cinar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Josef_Cinar property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1704450,P641,c(Q349))
action filter_type
action find
entity Q1704450
relation P641
type Q349
Josef Cinar participated in [ANSWER]
['Q1704450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q1704450 property:P641 ?p }
association football
Josef Cinar participated in association football
association football
action filter_type
action find
entity Josef Cinar
relation sport
type sport
['Josef Cinar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Josef_Cinar property:sport ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?l }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?l }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?l }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P36
Q56061
USER
Which administrative territory is the capital of that territory ?
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q21 property:P36 ?o . ?o rdf:type ontology:Q56061 }
England
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:England property:capital ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
[ANSWER] is the capital of that territory
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q21 property:P36 ?o . ?o rdf:type ontology:Q56061 }
London
London is the capital of that territory
London
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:England property:capital ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1438721
Q56061
USER
And also tell me about Laksky District?
(Q1438721,P36,c(Q56061))
action filter_type
action find
entity Q1438721
relation P36
type Q56061
['Q1438721', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1438721 property:P36 ?g }
Laksky District
action filter_type
action find
entity Laksky District
relation capital
type administrative territorial entity
['Laksky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Laksky_District property:capital ?g }
[]
administrative territorial entity
Q1153296
SYSTEM
Kumukh
Q1153296
(Q1438721,P36,c(Q56061))
action filter_type
action find
entity Q1438721
relation P36
type Q56061
[ANSWER]
['Q1438721', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1438721 property:P36 ?g }
Kumukh
Kumukh
action filter_type
action find
entity Laksky District
relation capital
type administrative territorial entity
['Laksky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Laksky_District property:capital ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1704450
P54
Q618123
USER
What sports team is Josef Cinar a member of ?
(Q1704450,P54,c(Q618123))
action filter_type
action find
entity Q1704450
relation P54
type Q618123
['Q1704450', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?d WHERE { resource:Q1704450 property:P54 ?d . ?d rdf:type ontology:Q618123 }
Josef Cinar
action filter_type
action find
entity Josef Cinar
relation member of sports team
type geographical object
['Josef Cinar', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Cinar property:member_of_sports_team ?d . ?d rdf:type ontology:geographical_object }
[]
geographical object
Q161034
SYSTEM
SV Wacker Burghausen
Q161034
(Q1704450,P54,c(Q618123))
action filter_type
action find
entity Q1704450
relation P54
type Q618123
[ANSWER] is Josef Cinar a member of
['Q1704450', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?d WHERE { resource:Q1704450 property:P54 ?d . ?d rdf:type ontology:Q618123 }
SV Wacker Burghausen
SV Wacker Burghausen is Josef Cinar a member of
SV Wacker Burghausen
action filter_type
action find
entity Josef Cinar
relation member of sports team
type geographical object
['Josef Cinar', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Cinar property:member_of_sports_team ?d . ?d rdf:type ontology:geographical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P6
Q502895
USER
Who are the heads of the government of London ?
(Q84,P6,c(Q502895))
action filter_type
action find
entity Q84
relation P6
type Q502895
['Q84', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q84 property:P6 ?z . ?z rdf:type ontology:Q502895 }
London
action filter_type
action find
entity London
relation head of government
type common name
['London', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:London property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Q220723 Q180589 Q334155
SYSTEM
Ken Livingstone, Boris Johnson, Sadiq Khan
Q220723 Q180589 Q334155
(Q84,P6,c(Q502895))
action filter_type
action find
entity Q84
relation P6
type Q502895
The heads of the government of London are the [ANSWERS]
['Q84', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q84 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Ken Livingstone Boris Johnson Sadiq Khan
The heads of the government of London are the Ken Livingstone, Boris Johnson and Sadiq Khan
Ken Livingstone Boris Johnson Sadiq Khan
action filter_type
action find
entity London
relation head of government
type common name
['London', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:London property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P551
Q123705 Q473972
USER
How many neighborhoods and protected areas did that person live ?
(Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q220723,P551,c(Q123705)) (Q220723,P551,c(Q473972)) (Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q334155,P551,c(Q123705)) (Q334155,P551,c(Q473972))
['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q220723', 'P551', {'concept': 'Q123705'}] ['Q220723', 'P551', {'concept': 'Q473972'}] ['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q334155', 'P551', {'concept': 'Q123705'}] ['Q334155', 'P551', {'concept': 'Q473972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q220723 property:Q27150063 ?z } UNION { resource:Q220723 property:Q27150063 ?y } UNION { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q334155 property:Q27150063 ?z } UNION { resource:Q334155 property:Q27150063 ?y } } . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q473972 }
['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Ken Livingstone', 'residence', {'concept': 'neighborhood'}] ['Ken Livingstone', 'residence', {'concept': 'protected area'}] ['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Sadiq Khan', 'residence', {'concept': 'neighborhood'}] ['Sadiq Khan', 'residence', {'concept': 'protected area'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Ken_Livingstone property:residence ?z } UNION { resource:Ken_Livingstone property:residence ?y } UNION { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Sadiq_Khan property:residence ?z } UNION { resource:Sadiq_Khan property:residence ?y } } . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:protected_area }
[]
neighborhood protected area
Quantitative|Count|Mult. entity type|Clarification
Q220723
SYSTEM
Did you mean Ken Livingstone ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q220723 property:Q27150063 ?z } UNION { resource:Q220723 property:Q27150063 ?y } UNION { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q334155 property:Q27150063 ?z } UNION { resource:Q334155 property:Q27150063 ?y } } . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q473972 }
Did you mean Ken Livingstone ?
Ken Livingstone
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Ken_Livingstone property:residence ?z } UNION { resource:Ken_Livingstone property:residence ?y } UNION { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Sadiq_Khan property:residence ?z } UNION { resource:Sadiq_Khan property:residence ?y } } . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:protected_area }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Boris Johnson. Could you tell me the answer for that?
(Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q220723,P551,c(Q123705)) (Q220723,P551,c(Q473972)) (Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q334155,P551,c(Q123705)) (Q334155,P551,c(Q473972))
Q180589
['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q220723', 'P551', {'concept': 'Q123705'}] ['Q220723', 'P551', {'concept': 'Q473972'}] ['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q334155', 'P551', {'concept': 'Q123705'}] ['Q334155', 'P551', {'concept': 'Q473972'}]
['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Ken Livingstone', 'residence', {'concept': 'neighborhood'}] ['Ken Livingstone', 'residence', {'concept': 'protected area'}] ['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Sadiq Khan', 'residence', {'concept': 'neighborhood'}] ['Sadiq Khan', 'residence', {'concept': 'protected area'}]
[]
SYSTEM
2 neighborhoods and 1 protected areas
Q3567431 Q24502 Q125163
(Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q220723,P551,c(Q123705)) (Q220723,P551,c(Q473972)) (Q180589,P551,c(Q123705)) (Q180589,P551,c(Q473972)) (Q334155,P551,c(Q123705)) (Q334155,P551,c(Q473972))
[ANSWER]
['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q220723', 'P551', {'concept': 'Q123705'}] ['Q220723', 'P551', {'concept': 'Q473972'}] ['Q180589', 'P551', {'concept': 'Q123705'}] ['Q180589', 'P551', {'concept': 'Q473972'}] ['Q334155', 'P551', {'concept': 'Q123705'}] ['Q334155', 'P551', {'concept': 'Q473972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q220723 property:Q27150063 ?z } UNION { resource:Q220723 property:Q27150063 ?y } UNION { resource:Q180589 property:Q27150063 ?z } UNION { resource:Q180589 property:Q27150063 ?y } UNION { resource:Q334155 property:Q27150063 ?z } UNION { resource:Q334155 property:Q27150063 ?y } } . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q473972 }
West Kensington Crouch End Islington
2 neighborhoods and 1 protected areas
['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Ken Livingstone', 'residence', {'concept': 'neighborhood'}] ['Ken Livingstone', 'residence', {'concept': 'protected area'}] ['Boris Johnson', 'residence', {'concept': 'neighborhood'}] ['Boris Johnson', 'residence', {'concept': 'protected area'}] ['Sadiq Khan', 'residence', {'concept': 'neighborhood'}] ['Sadiq Khan', 'residence', {'concept': 'protected area'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Ken_Livingstone property:residence ?z } UNION { resource:Ken_Livingstone property:residence ?y } UNION { resource:Boris_Johnson property:residence ?z } UNION { resource:Boris_Johnson property:residence ?y } UNION { resource:Sadiq_Khan property:residence ?z } UNION { resource:Sadiq_Khan property:residence ?y } } . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:protected_area }
[]