Simple Question (Direct)
Simple Question
Q688813
P734
Q82799
USER
Who has the surname Martin Gerber ?
(Q688813,P734,c(Q82799))
action filter_type
action find
entity Q688813
relation P734
type Q82799
['Q688813', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q688813 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Martin Gerber
action filter_type
action find
entity Martin Gerber
relation family name
type name
['Martin Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Gerber property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q1510316
SYSTEM
Gerber
Q1510316
(Q688813,P734,c(Q82799))
action filter_type
action find
entity Q688813
relation P734
type Q82799
[ANSWER] has the surname Martin [ANSWER]
['Q688813', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q688813 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Gerber
Gerber has the surname Martin Gerber
Gerber
action filter_type
action find
entity Martin Gerber
relation family name
type name
['Martin Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Gerber property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q688813
P1344
Q15900616
USER
Which event sequences did Martin Gerber take part in ?
(Q688813,P1344,c(Q15900616))
action filter_type
action find
entity Q688813
relation P1344
type Q15900616
['Q688813', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15900616 . resource:Q688813 property:P1344 ?l }
Martin Gerber
action filter_type
action find
entity Martin Gerber
relation participant of
type event sequence
['Martin Gerber', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:event_sequence . resource:Martin_Gerber property:participant_of ?l }
[]
event sequence
Q9672 Q9668
SYSTEM
2006 Winter Olympics, 2002 Winter Olympics
Q9672 Q9668
(Q688813,P1344,c(Q15900616))
action filter_type
action find
entity Q688813
relation P1344
type Q15900616
Part the [ANSWERS] Martin Gerber took in
['Q688813', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15900616 . resource:Q688813 property:P1344 ?l }
2006 Winter Olympics 2002 Winter Olympics
Part the 2006 Winter Olympics and 2002 Winter Olympics Martin Gerber took in
2006 Winter Olympics 2002 Winter Olympics
action filter_type
action find
entity Martin Gerber
relation participant of
type event sequence
['Martin Gerber', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:event_sequence . resource:Martin_Gerber property:participant_of ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16739423
Q15900616
USER
And also tell me about Jaroslav Feistauer?
(Q16739423,P1344,c(Q15900616))
action filter_type
action find
entity Q16739423
relation P1344
type Q15900616
['Q16739423', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { resource:Q16739423 property:P1344 ?n . ?n rdf:type ontology:Q15900616 }
Jaroslav Feistauer
action filter_type
action find
entity Jaroslav Feistauer
relation participant of
type event sequence
['Jaroslav Feistauer', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { resource:Jaroslav_Feistauer property:participant_of ?n . ?n rdf:type ontology:event_sequence }
[]
event sequence
Q9596 Q9591
SYSTEM
1932 Winter Olympics, 1928 Winter Olympics
Q9596 Q9591
(Q16739423,P1344,c(Q15900616))
action filter_type
action find
entity Q16739423
relation P1344
type Q15900616
[ANSWERS]
['Q16739423', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { resource:Q16739423 property:P1344 ?n . ?n rdf:type ontology:Q15900616 }
1932 Winter Olympics 1928 Winter Olympics
1932 Winter Olympics 1928 Winter Olympics
action filter_type
action find
entity Jaroslav Feistauer
relation participant of
type event sequence
['Jaroslav Feistauer', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { resource:Jaroslav_Feistauer property:participant_of ?n . ?n rdf:type ontology:event_sequence }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3176446
P1344
Q502895
USER
Did Tauno Lappalainen take part in those event sequences ?
(Q3176446,P1344,Q9596) (Q3176446,P1344,Q9591)
action is_in
entity prev_answer
action find
entity Q3176446
relation P1344
['Q3176446', 'P1344', 'Q9596'] ['Q3176446', 'P1344', 'Q9591']
ASK WHERE { VALUES ( ?k ) { ( resource:Q9596 ) ( resource:Q9591 ) } . resource:Q3176446 property:P1344 ?k }
Tauno Lappalainen
action is_in
entity prev_answer
action find
entity Tauno Lappalainen
relation participant of
['Tauno Lappalainen', 'participant of', '1932 Winter Olympics'] ['Tauno Lappalainen', 'participant of', '1928 Winter Olympics']
ASK WHERE { VALUES ( ?k ) { ( resource:1932_Winter_Olympics ) ( resource:1928_Winter_Olympics ) } . resource:Tauno_Lappalainen property:participant_of ?k }
[]
common name
SYSTEM
YES
(Q3176446,P1344,Q9596) (Q3176446,P1344,Q9591)
action is_in
entity prev_answer
action find
entity Q3176446
relation P1344
[ANSWER]
['Q3176446', 'P1344', 'Q9596'] ['Q3176446', 'P1344', 'Q9591']
ASK WHERE { VALUES ( ?k ) { ( resource:Q9596 ) ( resource:Q9591 ) } . resource:Q3176446 property:P1344 ?k }
Yes
action is_in
entity prev_answer
action find
entity Tauno Lappalainen
relation participant of
['Tauno Lappalainen', 'participant of', '1932 Winter Olympics'] ['Tauno Lappalainen', 'participant of', '1928 Winter Olympics']
ASK WHERE { VALUES ( ?k ) { ( resource:1932_Winter_Olympics ) ( resource:1928_Winter_Olympics ) } . resource:Tauno_Lappalainen property:participant_of ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9672 Q558079 Q635324
P17
Q15617994
USER
Is 2006 Winter Olympics located in Hartenholm and Rathjensdorf ?
(Q9672,P17,Q558079) (Q9672,P17,Q635324)
action is_in
entity Q9672
action intersection
action find_reverse
entity Q558079
relation P17
action find_reverse
entity Q635324
relation P17
['Q9672', 'P17', 'Q558079'] ['Q9672', 'P17', 'Q635324']
ASK WHERE { resource:Q9672 property:P17 resource:Q558079 . resource:Q9672 property:P17 resource:Q635324 }
2006 Winter Olympics Hartenholm Rathjensdorf
action is_in
entity 2006 Winter Olympics
action intersection
action find_reverse
entity Hartenholm
relation country
action find_reverse
entity Rathjensdorf
relation country
['2006 Winter Olympics', 'country', 'Hartenholm'] ['2006 Winter Olympics', 'country', 'Rathjensdorf']
ASK WHERE { resource:2006_Winter_Olympics property:country resource:Hartenholm . resource:2006_Winter_Olympics property:country resource:Rathjensdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q9672,P17,Q558079) (Q9672,P17,Q635324)
action is_in
entity Q9672
action intersection
action find_reverse
entity Q558079
relation P17
action find_reverse
entity Q635324
relation P17
[ANSWER]
['Q9672', 'P17', 'Q558079'] ['Q9672', 'P17', 'Q635324']
ASK WHERE { resource:Q9672 property:P17 resource:Q558079 . resource:Q9672 property:P17 resource:Q635324 }
No
action is_in
entity 2006 Winter Olympics
action intersection
action find_reverse
entity Hartenholm
relation country
action find_reverse
entity Rathjensdorf
relation country
['2006 Winter Olympics', 'country', 'Hartenholm'] ['2006 Winter Olympics', 'country', 'Rathjensdorf']
ASK WHERE { resource:2006_Winter_Olympics property:country resource:Hartenholm . resource:2006_Winter_Olympics property:country resource:Rathjensdorf }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q688813 Q1466477
P54
Q618123
USER
Does Rögle BK have Martin Gerber as its member ?
(Q688813,P54,Q1466477)
action is_in
entity Q1466477
action find
entity Q688813
relation P54
['Q688813', 'P54', 'Q1466477']
ASK WHERE { resource:Q688813 property:P54 resource:Q1466477 }
Martin Gerber Rögle BK
action is_in
entity Rögle BK
action find
entity Martin Gerber
relation member of sports team
['Martin Gerber', 'member of sports team', 'Rögle BK']
ASK WHERE { resource:Martin_Gerber property:member_of_sports_team resource:Rögle_BK }
[]
geographical object
SYSTEM
YES
(Q688813,P54,Q1466477)
action is_in
entity Q1466477
action find
entity Q688813
relation P54
[ANSWER]
['Q688813', 'P54', 'Q1466477']
ASK WHERE { resource:Q688813 property:P54 resource:Q1466477 }
Yes
action is_in
entity Rögle BK
action find
entity Martin Gerber
relation member of sports team
['Martin Gerber', 'member of sports team', 'Rögle BK']
ASK WHERE { resource:Martin_Gerber property:member_of_sports_team resource:Rögle_BK }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9596 Q30
P17
Q15617994
USER
Is 1932 Winter Olympics located in United States of America ?
(Q9596,P17,Q30)
action is_in
entity Q30
action find
entity Q9596
relation P17
['Q9596', 'P17', 'Q30']
ASK WHERE { resource:Q9596 property:P17 resource:Q30 }
1932 Winter Olympics United States of America
action is_in
entity United States of America
action find
entity 1932 Winter Olympics
relation country
['1932 Winter Olympics', 'country', 'United States of America']
ASK WHERE { resource:1932_Winter_Olympics property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q9596,P17,Q30)
action is_in
entity Q30
action find
entity Q9596
relation P17
[ANSWER]
['Q9596', 'P17', 'Q30']
ASK WHERE { resource:Q9596 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity 1932 Winter Olympics
relation country
['1932 Winter Olympics', 'country', 'United States of America']
ASK WHERE { resource:1932_Winter_Olympics property:country resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9596
P276
Q41176
USER
Which building is the location of that event sequence ?
action filter_type
action find
entity Q9596
relation P276
type Q41176
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q9596 property:P276 ?f }
1932 Winter Olympics
action filter_type
action find
entity 1932 Winter Olympics
relation location
type building
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:1932_Winter_Olympics property:location ?f }
[]
building
Q2588112
SYSTEM
James B. Sheffield Olympic Skating Rink
Q2588112
action filter_type
action find
entity Q9596
relation P276
type Q41176
[ANSWER] is the location of that event sequence
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q41176 . resource:Q9596 property:P276 ?f }
James B. Sheffield Olympic Skating Rink
James B. Sheffield Olympic Skating Rink is the location of that event sequence
James B. Sheffield Olympic Skating Rink
action filter_type
action find
entity 1932 Winter Olympics
relation location
type building
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:building . resource:1932_Winter_Olympics property:location ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q41176 Q3305213 Q11060274
USER
How many buildings are expressed in around 1 paintings and prints ?
(c(Q3305213)|c(Q11060274),P180,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q41176
type Q11060274
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?e property:P180 ?l . ?l rdf:type ontology:Q41176 . ?e rdf:type ontology:Q3305213 } UNION { ?l rdf:type ontology:Q41176 . ?e rdf:type ontology:Q11060274 . ?e property:P180 ?l } } GROUP BY ?l } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type painting
action find_reverse_tuple_counts
relation depicts
type building
type print
value 1
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?e property:depicts ?l . ?l rdf:type ontology:building . ?e rdf:type ontology:painting } UNION { ?l rdf:type ontology:building . ?e rdf:type ontology:print . ?e property:depicts ?l } } GROUP BY ?l } }
[]
building painting print
SYSTEM
16
Q2047247 Q170544 Q34627 Q182147 Q918230 Q1992203 Q123256 Q189883 Q42646 Q209937 Q7461 Q3983167 Q5784097 Q211818 Q13164546 Q1303167
(c(Q3305213)|c(Q11060274),P180,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q41176
type Q11060274
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?e property:P180 ?l . ?l rdf:type ontology:Q41176 . ?e rdf:type ontology:Q3305213 } UNION { ?l rdf:type ontology:Q41176 . ?e rdf:type ontology:Q11060274 . ?e property:P180 ?l } } GROUP BY ?l } }
Palais de la Cité tent synagogue Winter Palace Roman villa temple of Diana Palais du Trocadéro Doge's Palace Windsor Castle Vienna State Opera Gatchina Palace Temple of Clitumnus hut Belvedere butcher shop barn
16
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type painting
action find_reverse_tuple_counts
relation depicts
type building
type print
value 1
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?e property:depicts ?l . ?l rdf:type ontology:building . ?e rdf:type ontology:painting } UNION { ?l rdf:type ontology:building . ?e rdf:type ontology:print . ?e property:depicts ?l } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q688813
P27
Q15617994
USER
Which administrative territory does Martin Gerber belong to ?
(Q688813,P27,c(Q15617994))
action filter_type
action find
entity Q688813
relation P27
type Q15617994
['Q688813', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q688813 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Martin Gerber
action filter_type
action find
entity Martin Gerber
relation country of citizenship
type designation for an administrative territorial entity
['Martin Gerber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Martin_Gerber property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q688813,P27,c(Q15617994))
action filter_type
action find
entity Q688813
relation P27
type Q15617994
Martin Gerber belongs to [ANSWER]
['Q688813', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q688813 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Switzerland
Martin Gerber belongs to Switzerland
Switzerland
action filter_type
action find
entity Martin Gerber
relation country of citizenship
type designation for an administrative territorial entity
['Martin Gerber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Martin_Gerber property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P740
Q38829
USER
What was formed at that administrative territory ?
(c(Q38829),P740,Q39)
action filter_type
action find_reverse
entity Q39
relation P740
type Q38829
[{'concept': 'Q38829'}, 'P740', 'Q39']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q39 . ?y rdf:type ontology:Q38829 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation location of formation
type breed
[{'concept': 'breed'}, 'location of formation', 'Switzerland']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Switzerland . ?y rdf:type ontology:breed }
[]
breed
Q38090
SYSTEM
St. Bernard
Q38090
(c(Q38829),P740,Q39)
action filter_type
action find_reverse
entity Q39
relation P740
type Q38829
[ANSWER] was formed at that administrative territory
[{'concept': 'Q38829'}, 'P740', 'Q39']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q39 . ?y rdf:type ontology:Q38829 }
St. Bernard
St. Bernard was formed at that administrative territory
St. Bernard
action filter_type
action find_reverse
entity Switzerland
relation location of formation
type breed
[{'concept': 'breed'}, 'location of formation', 'Switzerland']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Switzerland . ?y rdf:type ontology:breed }
[]