Simple Question (Direct)
Simple Question
Q2983791
P102
Q7210356
USER
Which party is Eljas Erkko affiliated with ?
(Q2983791,P102,c(Q7210356))
action filter_type
action find
entity Q2983791
relation P102
type Q7210356
['Q2983791', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q2983791 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Eljas Erkko
action filter_type
action find
entity Eljas Erkko
relation member of political party
type political organization
['Eljas Erkko', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Eljas_Erkko property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q1191102
SYSTEM
National Progressive Party
Q1191102
(Q2983791,P102,c(Q7210356))
action filter_type
action find
entity Q2983791
relation P102
type Q7210356
Eljas Erkko is affiliated with [ANSWER]
['Q2983791', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q2983791 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
National Progressive Party
Eljas Erkko is affiliated with National Progressive Party
National Progressive Party
action filter_type
action find
entity Eljas Erkko
relation member of political party
type political organization
['Eljas Erkko', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Eljas_Erkko property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2983791
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q1191102,P19,c(Q56061))
action filter_type
action find
entity Q2983791
relation P19
type Q56061
['Q1191102', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2983791 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Eljas Erkko
action filter_type
action find
entity Eljas Erkko
relation place of birth
type administrative territorial entity
['National Progressive Party', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eljas_Erkko property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q1191102,P19,c(Q56061))
action filter_type
action find
entity Q2983791
relation P19
type Q56061
That person was born in [ANSWER]
['Q1191102', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2983791 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Helsinki
That person was born in Helsinki
Helsinki
action filter_type
action find
entity Eljas Erkko
relation place of birth
type administrative territorial entity
['National Progressive Party', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eljas_Erkko property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2074528 Q4875241
P19
Q56061
USER
How many administrative territories are the birthplace of James Jones or Bazrangi ?
(Q2074528,P19,c(Q56061)) (Q4875241,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q2074528
relation P19
type Q56061
action filter_type
action find
entity Q4875241
relation P19
type Q56061
['Q2074528', 'P19', {'concept': 'Q56061'}] ['Q4875241', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { resource:Q4875241 property:P19 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q2074528 property:P19 ?a . ?a rdf:type ontology:Q56061 } }
James Jones Bazrangi
action count
action union
action filter_type
action find
entity James Jones
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Bazrangi
relation place of birth
type administrative territorial entity
['James Jones', 'place of birth', {'concept': 'administrative territorial entity'}] ['Bazrangi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { resource:Bazrangi property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:James_Jones property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q16553 Q862251
(Q2074528,P19,c(Q56061)) (Q4875241,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q2074528
relation P19
type Q56061
action filter_type
action find
entity Q4875241
relation P19
type Q56061
[ANSWER]
['Q2074528', 'P19', {'concept': 'Q56061'}] ['Q4875241', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { resource:Q4875241 property:P19 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q2074528 property:P19 ?a . ?a rdf:type ontology:Q56061 } }
San Jose Estakhr
2
action count
action union
action filter_type
action find
entity James Jones
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Bazrangi
relation place of birth
type administrative territorial entity
['James Jones', 'place of birth', {'concept': 'administrative territorial entity'}] ['Bazrangi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { resource:Bazrangi property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:James_Jones property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P30
Q2221906
USER
Where is Helsinki located ?
(Q1757,P30,c(Q2221906))
action filter_type
action find
entity Q1757
relation P30
type Q2221906
['Q1757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q1757 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
Helsinki
action filter_type
action find
entity Helsinki
relation continent
type geographic location
['Helsinki', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:Helsinki property:continent ?t . ?t rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1757,P30,c(Q2221906))
action filter_type
action find
entity Q1757
relation P30
type Q2221906
Helsinki is located in [ANSWER]
['Q1757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q1757 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
Europe
Helsinki is located in Europe
Europe
action filter_type
action find
entity Helsinki
relation continent
type geographic location
['Helsinki', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:Helsinki property:continent ?t . ?t rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P361
Q2221906
USER
What is that one a part of ?
(Q46,P361,c(Q2221906))
action filter_type
action find
entity Q46
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q46 property:P361 ?w . ?w 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 ?w WHERE { resource:Europe property:part_of ?w . ?w 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
That one a part of is the [ANSWER]
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q46 property:P361 ?w . ?w rdf:type ontology:Q2221906 }
Eurasia
That one a part of is the Eurasia
Eurasia
action filter_type
action find
entity Europe
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Europe property:part_of ?w . ?w rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16963792 Q46
P138 P180
Q15619164
USER
Which abstract beings are the origin of Europe and are depicted in Europa Stolen Away by Jupiter ?
AND((Q46,P138,c(Q15619164)), (Q16963792,P180,c(Q15619164)))
action filter_type
action intersection
action find
entity Q46
relation P138
action find
entity Q16963792
relation P180
type Q15619164
{'AND': [['Q46', 'P138', {'concept': 'Q15619164'}], ['Q16963792', 'P180', {'concept': 'Q15619164'}]]}
SELECT DISTINCT ?o WHERE { resource:Q46 property:P138 ?o . resource:Q16963792 property:P180 ?o . ?o rdf:type ontology:Q15619164 }
Europa Stolen Away by Jupiter Europe
action filter_type
action intersection
action find
entity Europe
relation named after
action find
entity Europa Stolen Away by Jupiter
relation depicts
type abstract being
{'AND': [['Europe', 'named after', {'concept': 'abstract being'}], ['Europa Stolen Away by Jupiter', 'depicts', {'concept': 'abstract being'}]]}
SELECT DISTINCT ?o WHERE { resource:Europe property:named_after ?o . resource:Europa_Stolen_Away_by_Jupiter property:depicts ?o . ?o rdf:type ontology:abstract_being }
[]
abstract being
Q165170
SYSTEM
Europa
Q165170
AND((Q46,P138,c(Q15619164)), (Q16963792,P180,c(Q15619164)))
action filter_type
action intersection
action find
entity Q46
relation P138
action find
entity Q16963792
relation P180
type Q15619164
[ANSWER] is the origin of Europe and is depicted in [ANSWER] Stolen Away by Jupiter
{'AND': [['Q46', 'P138', {'concept': 'Q15619164'}], ['Q16963792', 'P180', {'concept': 'Q15619164'}]]}
SELECT DISTINCT ?o WHERE { resource:Q46 property:P138 ?o . resource:Q16963792 property:P180 ?o . ?o rdf:type ontology:Q15619164 }
Europa
Europa is the origin of Europe and is depicted in Europa Stolen Away by Jupiter
Europa
action filter_type
action intersection
action find
entity Europe
relation named after
action find
entity Europa Stolen Away by Jupiter
relation depicts
type abstract being
{'AND': [['Europe', 'named after', {'concept': 'abstract being'}], ['Europa Stolen Away by Jupiter', 'depicts', {'concept': 'abstract being'}]]}
SELECT DISTINCT ?o WHERE { resource:Europe property:named_after ?o . resource:Europa_Stolen_Away_by_Jupiter property:depicts ?o . ?o rdf:type ontology:abstract_being }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q165170 Q7920121
P19
Q56061
USER
Was Venmankondan that abstract being born ?
(Q165170,P19,Q7920121)
action is_in
entity Q7920121
action find
entity Q165170
relation P19
['Q165170', 'P19', 'Q7920121']
ASK WHERE { resource:Q165170 property:P19 resource:Q7920121 }
Europa Venmankondan
action is_in
entity Venmankondan
action find
entity Europa
relation place of birth
['Europa', 'place of birth', 'Venmankondan']
ASK WHERE { resource:Europa property:place_of_birth resource:Venmankondan }
[]
administrative territorial entity
SYSTEM
NO
(Q165170,P19,Q7920121)
action is_in
entity Q7920121
action find
entity Q165170
relation P19
[ANSWER]
['Q165170', 'P19', 'Q7920121']
ASK WHERE { resource:Q165170 property:P19 resource:Q7920121 }
No
action is_in
entity Venmankondan
action find
entity Europa
relation place of birth
['Europa', 'place of birth', 'Venmankondan']
ASK WHERE { resource:Europa property:place_of_birth resource:Venmankondan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q46 Q165170
P138
Q15619164
USER
Is Europa the origin of Europe ?
(Q46,P138,Q165170)
action is_in
entity Q165170
action find
entity Q46
relation P138
['Q46', 'P138', 'Q165170']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 }
Europe Europa
action is_in
entity Europa
action find
entity Europe
relation named after
['Europe', 'named after', 'Europa']
ASK WHERE { resource:Europe property:named_after resource:Europa }
[]
abstract being
SYSTEM
YES
(Q46,P138,Q165170)
action is_in
entity Q165170
action find
entity Q46
relation P138
[ANSWER]
['Q46', 'P138', 'Q165170']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 }
Yes
action is_in
entity Europa
action find
entity Europe
relation named after
['Europe', 'named after', 'Europa']
ASK WHERE { resource:Europe property:named_after resource:Europa }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5401
P706
Q271669
USER
Which landform has its location as Eurasia ?
(c(Q271669),P706,Q5401)
action filter_type
action find_reverse
entity Q5401
relation P706
type Q271669
[{'concept': 'Q271669'}, 'P706', 'Q5401']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q5401 . ?y rdf:type ontology:Q271669 }
Eurasia
action filter_type
action find_reverse
entity Eurasia
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Eurasia']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Eurasia . ?y rdf:type ontology:landform }
[]
landform
Q12837
SYSTEM
Iberian Peninsula
Q12837
(c(Q271669),P706,Q5401)
action filter_type
action find_reverse
entity Q5401
relation P706
type Q271669
The [ANSWER] has its location as Eurasia
[{'concept': 'Q271669'}, 'P706', 'Q5401']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q5401 . ?y rdf:type ontology:Q271669 }
Iberian Peninsula
The Iberian Peninsula has its location as Eurasia
Iberian Peninsula
action filter_type
action find_reverse
entity Eurasia
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Eurasia']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Eurasia . ?y rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5401
P376
Q16889133
USER
Where is that geographic location located ?
(Q12837,P376,c(Q16889133))
action filter_type
action find
entity Q5401
relation P376
type Q16889133
['Q12837', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16889133 . resource:Q5401 property:P376 ?e }
Eurasia
action filter_type
action find
entity Eurasia
relation located on astronomical body
type class
['Iberian Peninsula', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:class . resource:Eurasia property:located_on_astronomical_body ?e }
[]
class
Q2
SYSTEM
Earth
Q2
(Q12837,P376,c(Q16889133))
action filter_type
action find
entity Q5401
relation P376
type Q16889133
That geographic location is located on [ANSWER]
['Q12837', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16889133 . resource:Q5401 property:P376 ?e }
Earth
That geographic location is located on Earth
Earth
action filter_type
action find
entity Eurasia
relation located on astronomical body
type class
['Iberian Peninsula', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:class . resource:Eurasia property:located_on_astronomical_body ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q131716
P706
Q1267889 Q271669
USER
Which waterways are the location where greater number of landforms are located than Kattegat ?
(c(Q271669),P706,c(Q1267889))
action greater
action find_reverse_tuple_counts
relation P706
type Q1267889
type Q271669
action count
action filter_type
action find
entity Q131716
relation P706
type Q1267889
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q1267889'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:Q1267889 . resource:Q131716 property:P706 ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P706 ?x . ?u rdf:type ontology:Q271669 . ?x rdf:type ontology:Q1267889 } GROUP BY ?x } }
Kattegat
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type waterway
type landform
action count
action filter_type
action find
entity Kattegat
relation located on terrain feature
type waterway
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'waterway'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:waterway . resource:Kattegat property:located_on_terrain_feature ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:located_on_terrain_feature ?x . ?u rdf:type ontology:landform . ?x rdf:type ontology:waterway } GROUP BY ?x } }
[]
waterway landform
Q1143789 Q34640
SYSTEM
The Minch, English Channel
Q1143789 Q34640
(c(Q271669),P706,c(Q1267889))
action greater
action find_reverse_tuple_counts
relation P706
type Q1267889
type Q271669
action count
action filter_type
action find
entity Q131716
relation P706
type Q1267889
[ANSWERS] are the location where greater number of landforms are located than Kattegat
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q1267889'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:Q1267889 . resource:Q131716 property:P706 ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P706 ?x . ?u rdf:type ontology:Q271669 . ?x rdf:type ontology:Q1267889 } GROUP BY ?x } }
The Minch English Channel
The Minch and English Channel are the location where greater number of landforms are located than Kattegat
The Minch English Channel
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type waterway
type landform
action count
action filter_type
action find
entity Kattegat
relation located on terrain feature
type waterway
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'waterway'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ontology:waterway . resource:Kattegat property:located_on_terrain_feature ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:located_on_terrain_feature ?x . ?u rdf:type ontology:landform . ?x rdf:type ontology:waterway } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q269398
P706
Q1267889 Q271669
USER
And how about Storstrømmen?
(c(Q271669),P706,c(Q1267889))
action greater
action find_reverse_tuple_counts
relation P706
type Q1267889
type Q271669
action count
action filter_type
action find
entity Q269398
relation P706
type Q1267889
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q1267889'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?e ) WHERE { ?g rdf:type ontology:Q1267889 . ?p rdf:type ontology:Q271669 . ?p property:P706 ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q269398 property:P706 ?n . ?n rdf:type ontology:Q1267889 } } . FILTER ( ?e > ?v ) }
Storstrømmen
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type waterway
type landform
action count
action filter_type
action find
entity Storstrømmen
relation located on terrain feature
type waterway
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'waterway'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?e ) WHERE { ?g rdf:type ontology:waterway . ?p rdf:type ontology:landform . ?p property:located_on_terrain_feature ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Storstrømmen property:located_on_terrain_feature ?n . ?n rdf:type ontology:waterway } } . FILTER ( ?e > ?v ) }
[]
waterway landform
Q165100 Q34640 Q131716
SYSTEM
Mozambique Channel, English Channel, Kattegat
Q908591 Q165100 Q131716 Q1069095 Q545446 Q3045404 Q1143789 Q34640 Q171846
(c(Q271669),P706,c(Q1267889))
action greater
action find_reverse_tuple_counts
relation P706
type Q1267889
type Q271669
action count
action filter_type
action find
entity Q269398
relation P706
type Q1267889
[ANSWERS]
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q1267889'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?e ) WHERE { ?g rdf:type ontology:Q1267889 . ?p rdf:type ontology:Q271669 . ?p property:P706 ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q269398 property:P706 ?n . ?n rdf:type ontology:Q1267889 } } . FILTER ( ?e > ?v ) }
Kennedy Channel Mozambique Channel Kattegat Kii Channel Naruto Strait Kitan Strait The Minch English Channel Bass Strait
Mozambique Channel English Channel Kattegat
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type waterway
type landform
action count
action filter_type
action find
entity Storstrømmen
relation located on terrain feature
type waterway
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'waterway'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?e ) WHERE { ?g rdf:type ontology:waterway . ?p rdf:type ontology:landform . ?p property:located_on_terrain_feature ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Storstrømmen property:located_on_terrain_feature ?n . ?n rdf:type ontology:waterway } } . FILTER ( ?e > ?v ) }
[]