Simple Question (Direct)
Simple Question
Q2287435
P119
Q39614
USER
Which cemetery is the tomb of Simon Deutsch ?
(Q2287435,P119,c(Q39614))
action filter_type
action find
entity Q2287435
relation P119
type Q39614
['Q2287435', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?w WHERE { resource:Q2287435 property:P119 ?w . ?w rdf:type ontology:Q39614 }
Simon Deutsch
action filter_type
action find
entity Simon Deutsch
relation place of burial
type cemetery
['Simon Deutsch', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Deutsch property:place_of_burial ?w . ?w rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q2287435,P119,c(Q39614))
action filter_type
action find
entity Q2287435
relation P119
type Q39614
The tomb of Simon Deutsch is in [ANSWER]
['Q2287435', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?w WHERE { resource:Q2287435 property:P119 ?w . ?w rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The tomb of Simon Deutsch is in Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Simon Deutsch
relation place of burial
type cemetery
['Simon Deutsch', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Deutsch property:place_of_burial ?w . ?w rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2287435
P937
Q56061
USER
What are the work locations of that person ?
(Q311,P937,c(Q56061))
action filter_type
action find
entity Q2287435
relation P937
type Q56061
['Q311', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2287435 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Simon Deutsch
action filter_type
action find
entity Simon Deutsch
relation work location
type administrative territorial entity
['Père Lachaise Cemetery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Simon_Deutsch property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q90
SYSTEM
Vienna, Paris
Q1741 Q90
(Q311,P937,c(Q56061))
action filter_type
action find
entity Q2287435
relation P937
type Q56061
The work locations of that person are in [ANSWERS]
['Q311', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2287435 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Vienna Paris
The work locations of that person are in Vienna and Paris
Vienna Paris
action filter_type
action find
entity Simon Deutsch
relation work location
type administrative territorial entity
['Père Lachaise Cemetery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Simon_Deutsch property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1741 Q90
P166
Q618779
USER
Which awards were received by Vienna and Paris ?
(Q1741,P166,c(Q618779)) (Q90,P166,c(Q618779))
action union
action filter_type
action find
entity Q1741
relation P166
type Q618779
action filter_type
action find
entity Q90
relation P166
type Q618779
['Q1741', 'P166', {'concept': 'Q618779'}] ['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?w property:P166 ?t . VALUES ( ?w ) { ( resource:Q1741 ) ( resource:Q90 ) } }
Vienna Paris
action union
action filter_type
action find
entity Vienna
relation award received
type award
action filter_type
action find
entity Paris
relation award received
type award
['Vienna', 'award received', {'concept': 'award'}] ['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?w property:award_received ?t . VALUES ( ?w ) { ( resource:Vienna ) ( resource:Paris ) } }
[]
award
Q20828891 Q2727598
SYSTEM
European City of the Reformation, Croix de guerre 1914–1918
Q20828891 Q2727598
(Q1741,P166,c(Q618779)) (Q90,P166,c(Q618779))
action union
action filter_type
action find
entity Q1741
relation P166
type Q618779
action filter_type
action find
entity Q90
relation P166
type Q618779
[ANSWERS] were received by Vienna and Paris
['Q1741', 'P166', {'concept': 'Q618779'}] ['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?w property:P166 ?t . VALUES ( ?w ) { ( resource:Q1741 ) ( resource:Q90 ) } }
European City of the Reformation Croix de guerre 1914–1918
European City of the Reformation and Croix de guerre 1914–1918 were received by Vienna and Paris
European City of the Reformation Croix de guerre 1914–1918
action union
action filter_type
action find
entity Vienna
relation award received
type award
action filter_type
action find
entity Paris
relation award received
type award
['Vienna', 'award received', {'concept': 'award'}] ['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?w property:award_received ?t . VALUES ( ?w ) { ( resource:Vienna ) ( resource:Paris ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2727598
P17
Q15617994
USER
Which administrative territory is that award present in ?
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2727598 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Croix de guerre 1914–1918
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Croix_de_guerre_1914–1918 property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q20828891
SYSTEM
Did you mean European City of the Reformation ?
Q20828891 Q2727598
(Q20828891,P17,c(Q15617994)) (Q2727598,P17,c(Q15617994))
[ANSWER]
['Q20828891', 'P17', {'concept': 'Q15617994'}] ['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2727598 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
European City of the Reformation Croix de guerre 1914–1918
Did you mean European City of the Reformation ?
European City of the Reformation
['European City of the Reformation', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Croix_de_guerre_1914–1918 property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Croix de guerre 1914–1918. Could you tell me the answer for that?
(Q2727598,P17,c(Q15617994))
Q2727598
['Q2727598', 'P17', {'concept': 'Q15617994'}]
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
That award is in [ANSWER]
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2727598 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
France
That award is in France
France
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Croix_de_guerre_1914–1918 property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P88
Q21711025
USER
Which sculpture technique was commissioned by Paris ?
(c(Q21711025),P88,Q90)
action filter_type
action find_reverse
entity Q90
relation P88
type Q21711025
[{'concept': 'Q21711025'}, 'P88', 'Q90']
SELECT DISTINCT ?g WHERE { ?g property:P88 resource:Q90 . ?g rdf:type ontology:Q21711025 }
Paris
action filter_type
action find_reverse
entity Paris
relation commissioned by
type sculpture technique
[{'concept': 'sculpture technique'}, 'commissioned by', 'Paris']
SELECT DISTINCT ?g WHERE { ?g property:commissioned_by resource:Paris . ?g rdf:type ontology:sculpture_technique }
[]
sculpture technique
Q15921401
SYSTEM
La Fraternité
Q15921401
(c(Q21711025),P88,Q90)
action filter_type
action find_reverse
entity Q90
relation P88
type Q21711025
[ANSWER] was commissioned by Paris
[{'concept': 'Q21711025'}, 'P88', 'Q90']
SELECT DISTINCT ?g WHERE { ?g property:P88 resource:Q90 . ?g rdf:type ontology:Q21711025 }
La Fraternité
La Fraternité was commissioned by Paris
La Fraternité
action filter_type
action find_reverse
entity Paris
relation commissioned by
type sculpture technique
[{'concept': 'sculpture technique'}, 'commissioned by', 'Paris']
SELECT DISTINCT ?g WHERE { ?g property:commissioned_by resource:Paris . ?g rdf:type ontology:sculpture_technique }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Where are France situated ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q142 property:P30 ?h }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:France property:continent ?h }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are situated in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q142 property:P30 ?h }
Europe Africa Oceania Americas Antarctica
France are situated in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:France property:continent ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21486590
Q2221906
USER
And how about Healy?
(Q21486590,P30,c(Q2221906))
action filter_type
action find
entity Q21486590
relation P30
type Q2221906
['Q21486590', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q21486590 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Healy
action filter_type
action find
entity Healy
relation continent
type geographic location
['Healy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Healy property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q21486590,P30,c(Q2221906))
action filter_type
action find
entity Q21486590
relation P30
type Q2221906
[ANSWER]
['Q21486590', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q21486590 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Healy
relation continent
type geographic location
['Healy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Healy property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q51
P61
Q502895 Q1585199
USER
How many people and Antarctic expeditionss were the inventors or discoverers of Antarctica ?
(Q51,P61,c(Q502895)) (Q51,P61,c(Q1585199))
action count
action union
action filter_type
action find
entity Q51
relation P61
type Q502895
action filter_type
action find
entity Q51
relation P61
type Q1585199
['Q51', 'P61', {'concept': 'Q502895'}] ['Q51', 'P61', {'concept': 'Q1585199'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { resource:Q51 property:P61 ?e . ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q1585199 . resource:Q51 property:P61 ?e } }
Antarctica
action count
action union
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type common name
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type List of Antarctic expeditions
['Antarctica', 'discoverer or inventor', {'concept': 'common name'}] ['Antarctica', 'discoverer or inventor', {'concept': 'List of Antarctic expeditions'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { resource:Antarctica property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:List_of_Antarctic_expeditions . resource:Antarctica property:discoverer_or_inventor ?e } }
[]
common name List of Antarctic expeditions
SYSTEM
2 people and 1 Antarctic expeditionss
Q76754 Q186203 Q4349082
(Q51,P61,c(Q502895)) (Q51,P61,c(Q1585199))
action count
action union
action filter_type
action find
entity Q51
relation P61
type Q502895
action filter_type
action find
entity Q51
relation P61
type Q1585199
[ANSWER]
['Q51', 'P61', {'concept': 'Q502895'}] ['Q51', 'P61', {'concept': 'Q1585199'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { resource:Q51 property:P61 ?e . ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q1585199 . resource:Q51 property:P61 ?e } }
Fabian Gottlieb von Bellingshausen Mikhail Lazarev First Russian Antarctic expedition
2 people and 1 Antarctic expeditionss
action count
action union
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type common name
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type List of Antarctic expeditions
['Antarctica', 'discoverer or inventor', {'concept': 'common name'}] ['Antarctica', 'discoverer or inventor', {'concept': 'List of Antarctic expeditions'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { resource:Antarctica property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:List_of_Antarctic_expeditions . resource:Antarctica property:discoverer_or_inventor ?e } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51
P138
Q17444909
USER
Which astronomical object type has that geographic location as its namesake ?
action filter_type
action find_reverse
entity Q51
relation P138
type Q17444909
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q51 . ?n rdf:type ontology:Q17444909 }
Antarctica
action filter_type
action find_reverse
entity Antarctica
relation named after
type astronomical object type
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Antarctica . ?n rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q912823
SYSTEM
2404 Antarctica
Q912823
action filter_type
action find_reverse
entity Q51
relation P138
type Q17444909
[ANSWER] has that geographic location as its namesake
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q51 . ?n rdf:type ontology:Q17444909 }
2404 Antarctica
2404 Antarctica has that geographic location as its namesake
2404 Antarctica
action filter_type
action find_reverse
entity Antarctica
relation named after
type astronomical object type
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Antarctica . ?n rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P361
Q2221906
USER
Which geographic location is Europe a component of ?
(Q46,P361,c(Q2221906))
action filter_type
action find
entity Q46
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q46 property:P361 ?j . ?j rdf:type ontology:Q2221906 }
Europe
action filter_type
action find
entity Europe
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Europe property:part_of ?j . ?j rdf:type ontology:geographic_location }
[]
geographic location
Q5401
SYSTEM
Eurasia
Q5401
(Q46,P361,c(Q2221906))
action filter_type
action find
entity Q46
relation P361
type Q2221906
Which geographic location is Europe a component of
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q46 property:P361 ?j . ?j rdf:type ontology:Q2221906 }
Eurasia
Which geographic location is Europe a component of
Eurasia
action filter_type
action find
entity Europe
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Europe property:part_of ?j . ?j rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5401
P376
Q16889133
USER
Which class is known to be the location of that geographic location ?
(Q5401,P376,c(Q16889133))
action filter_type
action find
entity Q5401
relation P376
type Q16889133
['Q5401', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { resource:Q5401 property:P376 ?o . ?o rdf:type ontology:Q16889133 }
Eurasia
action filter_type
action find
entity Eurasia
relation located on astronomical body
type class
['Eurasia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { resource:Eurasia property:located_on_astronomical_body ?o . ?o rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q5401,P376,c(Q16889133))
action filter_type
action find
entity Q5401
relation P376
type Q16889133
[ANSWER] is known to be the location of that geographic location
['Q5401', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { resource:Q5401 property:P376 ?o . ?o rdf:type ontology:Q16889133 }
Earth
Earth is known to be the location of that geographic location
Earth
action filter_type
action find
entity Eurasia
relation located on astronomical body
type class
['Eurasia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { resource:Eurasia property:located_on_astronomical_body ?o . ?o rdf:type ontology:class }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q2221906
USER
Which landforms are the location where around 1 geographic location are located ?
(c(Q2221906),P706,c(Q271669))
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P706 ?d . ?d rdf:type ontology:Q271669 . ?k rdf:type ontology:Q2221906 } GROUP BY ?d } . FILTER ( ?o = 1 ) }
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:located_on_terrain_feature ?d . ?d rdf:type ontology:landform . ?k rdf:type ontology:geographic_location } GROUP BY ?d } . FILTER ( ?o = 1 ) }
[]
landform geographic location
Q5463 Q1136590 Q669883
SYSTEM
Rocky Mountains, Coteau des Prairies, Franconian Jura
Q1136590 Q120755 Q3391904 Q669883 Q208198 Q1089367 Q5463 Q185605 Q629238 Q1001294 Q74652
(c(Q2221906),P706,c(Q271669))
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q2221906
value 1
[ANSWERS] are the location where around 1 geographic location are located
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P706 ?d . ?d rdf:type ontology:Q271669 . ?k rdf:type ontology:Q2221906 } GROUP BY ?d } . FILTER ( ?o = 1 ) }
Coteau des Prairies South Island Markagunt Plateau Franconian Jura Viti Levu Chugach Mountains Rocky Mountains Antarctic Peninsula Shiretoko Peninsula Antarctic Plateau Kvaløya
Rocky Mountains, Coteau des Prairies and Franconian Jura are the location where around 1 geographic location are located
Rocky Mountains Coteau des Prairies Franconian Jura
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:located_on_terrain_feature ?d . ?d rdf:type ontology:landform . ?k rdf:type ontology:geographic_location } GROUP BY ?d } . FILTER ( ?o = 1 ) }
[]