Simple Question (Direct)
Simple Question
Q873435
P1344
Q15275719
USER
What did Alfred Beni participate in ?
(Q873435,P1344,c(Q15275719))
action filter_type
action find
entity Q873435
relation P1344
type Q15275719
['Q873435', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?a WHERE { resource:Q873435 property:P1344 ?a . ?a rdf:type ontology:Q15275719 }
Alfred Beni
action filter_type
action find
entity Alfred Beni
relation participant of
type recurring event
['Alfred Beni', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?a WHERE { resource:Alfred_Beni property:participant_of ?a . ?a rdf:type ontology:recurring_event }
[]
recurring event
Q700917 Q695884 Q763822
SYSTEM
14th Chess Olympiad, 13th Chess Olympiad, 16th Chess Olympiad
Q763822 Q1343333 Q1494216 Q1463291 Q700917 Q956843 Q695884
(Q873435,P1344,c(Q15275719))
action filter_type
action find
entity Q873435
relation P1344
type Q15275719
Alfred Beni participated in [ANSWERS]
['Q873435', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?a WHERE { resource:Q873435 property:P1344 ?a . ?a rdf:type ontology:Q15275719 }
16th Chess Olympiad 9th Chess Olympiad 15th Chess Olympiad 10th Chess Olympiad 14th Chess Olympiad 11th Chess Olympiad 13th Chess Olympiad
Alfred Beni participated in 14th Chess Olympiad, 13th Chess Olympiad and 16th Chess Olympiad
14th Chess Olympiad 13th Chess Olympiad 16th Chess Olympiad
action filter_type
action find
entity Alfred Beni
relation participant of
type recurring event
['Alfred Beni', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?a WHERE { resource:Alfred_Beni property:participant_of ?a . ?a rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q700917 Q695884 Q763822
P641
Q31629
USER
What types of sport were 14th Chess Olympiad, 13th Chess Olympiad and 16th Chess Olympiad a part of ?
(Q700917,P641,c(Q31629)) (Q695884,P641,c(Q31629)) (Q763822,P641,c(Q31629))
action union
action filter_type
action find
entity Q700917
relation P641
type Q31629
action filter_type
action find
entity Q695884
relation P641
type Q31629
action filter_type
action find
entity Q763822
relation P641
type Q31629
['Q700917', 'P641', {'concept': 'Q31629'}] ['Q695884', 'P641', {'concept': 'Q31629'}] ['Q763822', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { ?a property:P641 ?g . VALUES ( ?a ) { ( resource:Q700917 ) ( resource:Q695884 ) } }
14th Chess Olympiad 13th Chess Olympiad 16th Chess Olympiad
action union
action filter_type
action find
entity 14th Chess Olympiad
relation sport
type type of sport
action filter_type
action find
entity 13th Chess Olympiad
relation sport
type type of sport
action filter_type
action find
entity 16th Chess Olympiad
relation sport
type type of sport
['14th Chess Olympiad', 'sport', {'concept': 'type of sport'}] ['13th Chess Olympiad', 'sport', {'concept': 'type of sport'}] ['16th Chess Olympiad', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { ?a property:sport ?g . VALUES ( ?a ) { ( resource:14th_Chess_Olympiad ) ( resource:13th_Chess_Olympiad ) } }
[]
type of sport
Q718 Q718 Q718
SYSTEM
chess
Q718 Q718 Q718
(Q700917,P641,c(Q31629)) (Q695884,P641,c(Q31629)) (Q763822,P641,c(Q31629))
action union
action filter_type
action find
entity Q700917
relation P641
type Q31629
action filter_type
action find
entity Q695884
relation P641
type Q31629
action filter_type
action find
entity Q763822
relation P641
type Q31629
[ANSWER], [ANSWER] and [ANSWER] were 14th [ANSWER] Olympiad, 13th [ANSWER] Olympiad and 16th [ANSWER] Olympiad a part of
['Q700917', 'P641', {'concept': 'Q31629'}] ['Q695884', 'P641', {'concept': 'Q31629'}] ['Q763822', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { ?a property:P641 ?g . VALUES ( ?a ) { ( resource:Q700917 ) ( resource:Q695884 ) } }
chess chess chess
Chess, chess and chess were 14th Chess Olympiad, 13th Chess Olympiad and 16th Chess Olympiad a part of
chess chess chess
action union
action filter_type
action find
entity 14th Chess Olympiad
relation sport
type type of sport
action filter_type
action find
entity 13th Chess Olympiad
relation sport
type type of sport
action filter_type
action find
entity 16th Chess Olympiad
relation sport
type type of sport
['14th Chess Olympiad', 'sport', {'concept': 'type of sport'}] ['13th Chess Olympiad', 'sport', {'concept': 'type of sport'}] ['16th Chess Olympiad', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { ?a property:sport ?g . VALUES ( ?a ) { ( resource:14th_Chess_Olympiad ) ( resource:13th_Chess_Olympiad ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q700917
P17
Q1048835
USER
Which political territory is 14th Chess Olympiad a part of ?
(Q700917,P17,c(Q1048835))
action filter_type
action find
entity Q700917
relation P17
type Q1048835
['Q700917', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q700917 property:P17 ?b . ?b rdf:type ontology:Q1048835 }
14th Chess Olympiad
action filter_type
action find
entity 14th Chess Olympiad
relation country
type political territorial entity
['14th Chess Olympiad', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:14th_Chess_Olympiad property:country ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q700917,P17,c(Q1048835))
action filter_type
action find
entity Q700917
relation P17
type Q1048835
[ANSWER] is 14th Chess Olympiad a part of
['Q700917', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q700917 property:P17 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany is 14th Chess Olympiad a part of
Germany
action filter_type
action find
entity 14th Chess Olympiad
relation country
type political territorial entity
['14th Chess Olympiad', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:14th_Chess_Olympiad property:country ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P361
Q2221906
USER
Which geographic locations are that political territory a part of ?
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?b }
Germany
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Germany property:part_of ?b }
[]
geographic location
Q46 Q27509
SYSTEM
Europe, Central Europe
Q46 Q27509
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
The [ANSWERS] are that political territory a part of
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?b }
Europe Central Europe
The Europe and Central Europe are that political territory a part of
Europe Central Europe
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Germany property:part_of ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7589733
Q2221906
USER
And also tell me about St. Lucie Inlet, Florida?
(Q7589733,P361,c(Q2221906))
action filter_type
action find
entity Q7589733
relation P361
type Q2221906
['Q7589733', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . resource:Q7589733 property:P361 ?v }
St. Lucie Inlet, Florida
action filter_type
action find
entity St. Lucie Inlet, Florida
relation part of
type geographic location
['St. Lucie Inlet, Florida', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . resource:St._Lucie_Inlet,_Florida property:part_of ?v }
[]
geographic location
Q12060726
SYSTEM
Indian River Lagoon
Q12060726
(Q7589733,P361,c(Q2221906))
action filter_type
action find
entity Q7589733
relation P361
type Q2221906
[ANSWER]
['Q7589733', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . resource:Q7589733 property:P361 ?v }
Indian River Lagoon
Indian River Lagoon
action filter_type
action find
entity St. Lucie Inlet, Florida
relation part of
type geographic location
['St. Lucie Inlet, Florida', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . resource:St._Lucie_Inlet,_Florida property:part_of ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12060726
P177
Q811979
USER
Which architectural structure ranges over that geographic location ?
(c(Q811979),P177,Q12060726)
action filter_type
action find_reverse
entity Q12060726
relation P177
type Q811979
[{'concept': 'Q811979'}, 'P177', 'Q12060726']
SELECT DISTINCT ?c WHERE { ?c property:P177 resource:Q12060726 . ?c rdf:type ontology:Q811979 }
Indian River Lagoon
action filter_type
action find_reverse
entity Indian River Lagoon
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Indian River Lagoon']
SELECT DISTINCT ?c WHERE { ?c property:crosses resource:Indian_River_Lagoon . ?c rdf:type ontology:architectural_structure }
[]
architectural structure
Q6811733
SYSTEM
Melbourne Causeway
Q6811733
(c(Q811979),P177,Q12060726)
action filter_type
action find_reverse
entity Q12060726
relation P177
type Q811979
[ANSWER] ranges over that geographic location
[{'concept': 'Q811979'}, 'P177', 'Q12060726']
SELECT DISTINCT ?c WHERE { ?c property:P177 resource:Q12060726 . ?c rdf:type ontology:Q811979 }
Melbourne Causeway
Melbourne Causeway ranges over that geographic location
Melbourne Causeway
action filter_type
action find_reverse
entity Indian River Lagoon
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Indian River Lagoon']
SELECT DISTINCT ?c WHERE { ?c property:crosses resource:Indian_River_Lagoon . ?c rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15303 Q27509
P361
Q2221906
USER
Which geographic locations are Central Europe or Tweralpspitz a component of ?
OR((Q27509,P361,c(Q2221906)), (Q15303,P361,c(Q2221906)))
action filter_type
action union
action find
entity Q27509
relation P361
action find
entity Q15303
relation P361
type Q2221906
{'OR': [['Q27509', 'P361', {'concept': 'Q2221906'}], ['Q15303', 'P361', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q27509 property:P361 ?a } UNION { resource:Q15303 property:P361 ?a } } . ?a rdf:type ontology:Q2221906 }
Tweralpspitz Central Europe
action filter_type
action union
action find
entity Central Europe
relation part of
action find
entity Tweralpspitz
relation part of
type geographic location
{'OR': [['Central Europe', 'part of', {'concept': 'geographic location'}], ['Tweralpspitz', 'part of', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Central_Europe property:part_of ?a } UNION { resource:Tweralpspitz property:part_of ?a } } . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q333934
SYSTEM
Europe, Swiss Plateau
Q46 Q333934
OR((Q27509,P361,c(Q2221906)), (Q15303,P361,c(Q2221906)))
action filter_type
action union
action find
entity Q27509
relation P361
action find
entity Q15303
relation P361
type Q2221906
The [ANSWERS] are Central Europe or Tweralpspitz a component of
{'OR': [['Q27509', 'P361', {'concept': 'Q2221906'}], ['Q15303', 'P361', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q27509 property:P361 ?a } UNION { resource:Q15303 property:P361 ?a } } . ?a rdf:type ontology:Q2221906 }
Europe Swiss Plateau
The Europe and Swiss Plateau are Central Europe or Tweralpspitz a component of
Europe Swiss Plateau
action filter_type
action union
action find
entity Central Europe
relation part of
action find
entity Tweralpspitz
relation part of
type geographic location
{'OR': [['Central Europe', 'part of', {'concept': 'geographic location'}], ['Tweralpspitz', 'part of', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Central_Europe property:part_of ?a } UNION { resource:Tweralpspitz property:part_of ?a } } . ?a rdf:type ontology:geographic_location }
[]