Simple Question (Direct)
Simple Question
Q62893
P106
Q12737077
USER
What is the profession of Ingrid Krämer ?
(Q62893,P106,c(Q12737077))
action filter_type
action find
entity Q62893
relation P106
type Q12737077
['Q62893', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q62893 property:P106 ?g }
Ingrid Krämer
action filter_type
action find
entity Ingrid Krämer
relation occupation
type occupation
['Ingrid Krämer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Ingrid_Krämer property:occupation ?g }
[]
occupation
Q16004431
SYSTEM
diver
Q16004431
(Q62893,P106,c(Q12737077))
action filter_type
action find
entity Q62893
relation P106
type Q12737077
The profession of Ingrid Krämer is a [ANSWER]
['Q62893', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q62893 property:P106 ?g }
diver
The profession of Ingrid Krämer is a diver
diver
action filter_type
action find
entity Ingrid Krämer
relation occupation
type occupation
['Ingrid Krämer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Ingrid_Krämer property:occupation ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62893
P1344
Q16510064
USER
Which sporting events did that person take part in ?
(Q16004431,P1344,c(Q16510064))
action filter_type
action find
entity Q62893
relation P1344
type Q16510064
['Q16004431', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?p WHERE { resource:Q62893 property:P1344 ?p . ?p rdf:type ontology:Q16510064 }
Ingrid Krämer
action filter_type
action find
entity Ingrid Krämer
relation participant of
type sporting event
['diver', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Ingrid_Krämer property:participant_of ?p . ?p rdf:type ontology:sporting_event }
[]
sporting event
Q5284243 Q4000206 Q4000208
SYSTEM
Diving at the 1964 Summer Olympics – Women's 10 metre platform, Diving at the 1960 Summer Olympics – Women's 10 metre platform, Diving at the 1960 Summer Olympics – Women's 3 metre springboard
Q5284243 Q4000206 Q4000208 Q5284244
(Q16004431,P1344,c(Q16510064))
action filter_type
action find
entity Q62893
relation P1344
type Q16510064
Part and [ANSWERS] that person took in
['Q16004431', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?p WHERE { resource:Q62893 property:P1344 ?p . ?p rdf:type ontology:Q16510064 }
Diving at the 1964 Summer Olympics – Women's 10 metre platform Diving at the 1960 Summer Olympics – Women's 10 metre platform Diving at the 1960 Summer Olympics – Women's 3 metre springboard Diving at the 1964 Summer Olympics – Women's 3 metre springboard
Part and Diving at the 1964 Summer Olympics – Women's 10 metre platform, Diving at the 1960 Summer Olympics – Women's 10 metre platform and Diving at the 1960 Summer Olympics – Women's 3 metre springboard that person took in
Diving at the 1964 Summer Olympics – Women's 10 metre platform Diving at the 1960 Summer Olympics – Women's 10 metre platform Diving at the 1960 Summer Olympics – Women's 3 metre springboard
action filter_type
action find
entity Ingrid Krämer
relation participant of
type sporting event
['diver', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Ingrid_Krämer property:participant_of ?p . ?p rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62893
P27
Q1048835
USER
Which political territory does Ingrid Krämer belong to ?
(Q62893,P27,c(Q1048835))
action filter_type
action find
entity Q62893
relation P27
type Q1048835
['Q62893', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q62893 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Ingrid Krämer
action filter_type
action find
entity Ingrid Krämer
relation country of citizenship
type political territorial entity
['Ingrid Krämer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ingrid_Krämer property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q62893,P27,c(Q1048835))
action filter_type
action find
entity Q62893
relation P27
type Q1048835
Ingrid Krämer belongs to [ANSWER]
['Q62893', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q62893 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Ingrid Krämer belongs to Germany
Germany
action filter_type
action find
entity Ingrid Krämer
relation country of citizenship
type political territorial entity
['Ingrid Krämer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ingrid_Krämer property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q62893
Q7275
USER
And which state?
(Q62893,P27,c(Q7275))
action filter_type
action find
entity Q62893
relation P27
type Q7275
['Q62893', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q62893 property:P27 ?f . ?f rdf:type ontology:Q7275 }
Ingrid Krämer
action filter_type
action find
entity Ingrid Krämer
relation country of citizenship
type state
['Ingrid Krämer', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Ingrid_Krämer property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q62893,P27,c(Q7275))
action filter_type
action find
entity Q62893
relation P27
type Q7275
[ANSWER]
['Q62893', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q62893 property:P27 ?f . ?f rdf:type ontology:Q7275 }
East Germany
East Germany
action filter_type
action find
entity Ingrid Krämer
relation country of citizenship
type state
['Ingrid Krämer', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Ingrid_Krämer property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P36
Q56061
USER
Which administrative territories are associated to Germany as the capital ?
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q183 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Germany property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
[ANSWERS] are associated to Germany as the capital
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q183 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Berlin Bonn
Berlin and Bonn are associated to Germany as the capital
Berlin Bonn
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Germany property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q586
P30
Q2221906
USER
Where is that administrative territory located ?
(Q586,P30,c(Q2221906))
action filter_type
action find
entity Q586
relation P30
type Q2221906
['Q586', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q586 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Bonn
action filter_type
action find
entity Bonn
relation continent
type geographic location
['Bonn', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Bonn property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q64
SYSTEM
Did you mean Berlin ?
Q64 Q586
(Q64,P30,c(Q2221906)) (Q586,P30,c(Q2221906))
[ANSWER]
['Q64', 'P30', {'concept': 'Q2221906'}] ['Q586', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q586 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Berlin Bonn
Did you mean Berlin ?
Berlin
['Berlin', 'continent', {'concept': 'geographic location'}] ['Bonn', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Bonn property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Bonn. Could you tell me the answer for that?
(Q586,P30,c(Q2221906))
Q586
['Q586', 'P30', {'concept': 'Q2221906'}]
['Bonn', 'continent', {'concept': 'geographic location'}]
[]
Q5401
SYSTEM
Eurasia
Q5401
(Q586,P30,c(Q2221906))
action filter_type
action find
entity Q586
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q586', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q586 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Eurasia
That administrative territory is located in Eurasia
Eurasia
action filter_type
action find
entity Bonn
relation continent
type geographic location
['Bonn', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Bonn property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2132
P706
Q56061 Q2221906
USER
Which administrative territories are more number of geographic locations located on than Victoria ?
(c(Q2221906),P706,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q2132
relation P706
type Q56061
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P706 ?x . ?x rdf:type ontology:Q56061 . ?l rdf:type ontology:Q2221906 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q2132 property:P706 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?f > ?m ) }
Victoria
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Victoria
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:located_on_terrain_feature ?x . ?x rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:geographic_location } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Victoria property:located_on_terrain_feature ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?f > ?m ) }
[]
administrative territorial entity geographic location
Q105206 Q849441 Q605001
SYSTEM
Bukovina, Saint John, Svaneke
Q105206 Q849441 Q605001
(c(Q2221906),P706,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q2132
relation P706
type Q56061
[ANSWERS] are more number of geographic locations located on than Victoria
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P706 ?x . ?x rdf:type ontology:Q56061 . ?l rdf:type ontology:Q2221906 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q2132 property:P706 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?f > ?m ) }
Bukovina Saint John Svaneke
Bukovina, Saint John and Svaneke are more number of geographic locations located on than Victoria
Bukovina Saint John Svaneke
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Victoria
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:located_on_terrain_feature ?x . ?x rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:geographic_location } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Victoria property:located_on_terrain_feature ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?f > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q706005
P706
Q56061 Q2221906
USER
And also tell me about Friedrichstadt?
(c(Q2221906),P706,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q706005
relation P706
type Q56061
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?k ) WHERE { ?a rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2221906 . ?c property:P706 ?a } GROUP BY ?a } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Q706005 property:P706 ?z . ?z rdf:type ontology:Q56061 } } }
Friedrichstadt
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Friedrichstadt
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?k ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:geographic_location . ?c property:located_on_terrain_feature ?a } GROUP BY ?a } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Friedrichstadt property:located_on_terrain_feature ?z . ?z rdf:type ontology:administrative_territorial_entity } } }
[]
administrative territorial entity geographic location
Q105206 Q849441 Q605001
SYSTEM
Bukovina, Saint John, Svaneke
Q105206 Q849441 Q605001
(c(Q2221906),P706,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q706005
relation P706
type Q56061
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?k ) WHERE { ?a rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2221906 . ?c property:P706 ?a } GROUP BY ?a } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Q706005 property:P706 ?z . ?z rdf:type ontology:Q56061 } } }
Bukovina Saint John Svaneke
Bukovina Saint John Svaneke
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Friedrichstadt
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?k ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:geographic_location . ?c property:located_on_terrain_feature ?a } GROUP BY ?a } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Friedrichstadt property:located_on_terrain_feature ?z . ?z rdf:type ontology:administrative_territorial_entity } } }
[]