Simple Question (Direct)
Simple Question
Q5819559
P27
Q15617994
USER
Which administrative territory does Eduardo Picart belong to ?
(Q5819559,P27,c(Q15617994))
action filter_type
action find
entity Q5819559
relation P27
type Q15617994
['Q5819559', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q5819559 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Eduardo Picart
action filter_type
action find
entity Eduardo Picart
relation country of citizenship
type designation for an administrative territorial entity
['Eduardo Picart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eduardo_Picart property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q5819559,P27,c(Q15617994))
action filter_type
action find
entity Q5819559
relation P27
type Q15617994
Eduardo Picart belongs to [ANSWER]
['Q5819559', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q5819559 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Chile
Eduardo Picart belongs to Chile
Chile
action filter_type
action find
entity Eduardo Picart
relation country of citizenship
type designation for an administrative territorial entity
['Eduardo Picart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eduardo_Picart property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298
P137
Q15324
USER
Which body of water was operated by that administrative territory ?
(c(Q15324),P137,Q298)
action filter_type
action find_reverse
entity Q298
relation P137
type Q15324
[{'concept': 'Q15324'}, 'P137', 'Q298']
SELECT DISTINCT ?a WHERE { ?a property:P137 resource:Q298 . ?a rdf:type ontology:Q15324 }
Chile
action filter_type
action find_reverse
entity Chile
relation operator
type body of water
[{'concept': 'body of water'}, 'operator', 'Chile']
SELECT DISTINCT ?a WHERE { ?a property:operator resource:Chile . ?a rdf:type ontology:body_of_water }
[]
body of water
Q11655044
SYSTEM
Whalers Bay
Q11655044
(c(Q15324),P137,Q298)
action filter_type
action find_reverse
entity Q298
relation P137
type Q15324
[ANSWER] was operated by that administrative territory
[{'concept': 'Q15324'}, 'P137', 'Q298']
SELECT DISTINCT ?a WHERE { ?a property:P137 resource:Q298 . ?a rdf:type ontology:Q15324 }
Whalers Bay
Whalers Bay was operated by that administrative territory
Whalers Bay
action filter_type
action find_reverse
entity Chile
relation operator
type body of water
[{'concept': 'body of water'}, 'operator', 'Chile']
SELECT DISTINCT ?a WHERE { ?a property:operator resource:Chile . ?a rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P30
Q2221906
USER
Which geographic location is Chile situated in ?
(Q298,P30,c(Q2221906))
action filter_type
action find
entity Q298
relation P30
type Q2221906
['Q298', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q298 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Chile
action filter_type
action find
entity Chile
relation continent
type geographic location
['Chile', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Chile property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q298,P30,c(Q2221906))
action filter_type
action find
entity Q298
relation P30
type Q2221906
Chile is situated in [ANSWER]
['Q298', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q298 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
South America
Chile is situated in South America
South America
action filter_type
action find
entity Chile
relation continent
type geographic location
['Chile', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Chile property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5127343
Q2221906
USER
And how about Clark Nunatak?
(Q5127343,P30,c(Q2221906))
action filter_type
action find
entity Q5127343
relation P30
type Q2221906
['Q5127343', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q5127343 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
Clark Nunatak
action filter_type
action find
entity Clark Nunatak
relation continent
type geographic location
['Clark Nunatak', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Clark_Nunatak property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q5127343,P30,c(Q2221906))
action filter_type
action find
entity Q5127343
relation P30
type Q2221906
[ANSWER]
['Q5127343', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { resource:Q5127343 property:P30 ?j . ?j rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Clark Nunatak
relation continent
type geographic location
['Clark Nunatak', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { resource:Clark_Nunatak property:continent ?j . ?j rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q2221906 Q21114848
USER
Which geographic locations do approximately the same number of magazine genres belong to as that geographic location ?
(c(Q21114848),P101,c(Q2221906))
action approx
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_type
action find
entity Q51
relation P101
type Q2221906
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q51 property:P101 ?n . ?n rdf:type ontology:Q2221906 } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P101 ?v . ?v rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q21114848 } GROUP BY ?v } }
action approx
action find_reverse_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_type
action find
entity Antarctica
relation field of work
type geographic location
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Antarctica property:field_of_work ?n . ?n rdf:type ontology:geographic_location } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:field_of_work ?v . ?v rdf:type ontology:geographic_location . ?r rdf:type ontology:magazine_genre } GROUP BY ?v } }
[]
geographic location magazine genre
Q51 Q48 Q15
SYSTEM
Antarctica, Asia, Africa
Q900636 Q51 Q44497 Q107425 Q11708 Q48 Q7204 Q15 Q48214 Q27468 Q1555938 Q837718 Q12585 Q8072 Q27509
(c(Q21114848),P101,c(Q2221906))
action approx
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_type
action find
entity Q51
relation P101
type Q2221906
[ANSWERS] approximately the same number of magazine genres belong to as that geographic location
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q51 property:P101 ?n . ?n rdf:type ontology:Q2221906 } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P101 ?v . ?v rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q21114848 } GROUP BY ?v } }
Central and Eastern Europe Antarctica mining landscape Southeast Asia Asia Middle East Africa Near East Eastern Europe Antarctic energy storage Latin America volcano Central Europe
Antarctica, Asia and Africa approximately the same number of magazine genres belong to as that geographic location
Antarctica Asia Africa
action approx
action find_reverse_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_type
action find
entity Antarctica
relation field of work
type geographic location
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Antarctica property:field_of_work ?n . ?n rdf:type ontology:geographic_location } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:field_of_work ?v . ?v rdf:type ontology:geographic_location . ?r rdf:type ontology:magazine_genre } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2381290 Q5819559
P641
Q349
USER
Which sports were Eduardo Picart and Frans van Rooy a part of ?
AND((Q5819559,P641,c(Q349)), (Q2381290,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q5819559
relation P641
action find
entity Q2381290
relation P641
type Q349
{'AND': [['Q5819559', 'P641', {'concept': 'Q349'}], ['Q2381290', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2381290 property:P641 ?q . resource:Q5819559 property:P641 ?q . ?q rdf:type ontology:Q349 }
Frans van Rooy Eduardo Picart
action filter_type
action intersection
action find
entity Eduardo Picart
relation sport
action find
entity Frans van Rooy
relation sport
type sport
{'AND': [['Eduardo Picart', 'sport', {'concept': 'sport'}], ['Frans van Rooy', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { resource:Frans_van_Rooy property:sport ?q . resource:Eduardo_Picart property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q5819559,P641,c(Q349)), (Q2381290,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q5819559
relation P641
action find
entity Q2381290
relation P641
type Q349
The [ANSWER] was Eduardo Picart and Frans van Rooy a part of
{'AND': [['Q5819559', 'P641', {'concept': 'Q349'}], ['Q2381290', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2381290 property:P641 ?q . resource:Q5819559 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The association football was Eduardo Picart and Frans van Rooy a part of
association football
action filter_type
action intersection
action find
entity Eduardo Picart
relation sport
action find
entity Frans van Rooy
relation sport
type sport
{'AND': [['Eduardo Picart', 'sport', {'concept': 'sport'}], ['Frans van Rooy', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { resource:Frans_van_Rooy property:sport ?q . resource:Eduardo_Picart property:sport ?q . ?q rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q553036 Q2221906
USER
How many natural region of Germanys are atmost 1 geographic location located on ?
(c(Q2221906),P706,c(Q553036))
action count
action atmost
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P706 ?r . ?r rdf:type ontology:Q553036 . ?o rdf:type ontology:Q2221906 } GROUP BY ?r } . FILTER ( ?s <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:located_on_terrain_feature ?r . ?r rdf:type ontology:natural_region_of_Germany . ?o rdf:type ontology:geographic_location } GROUP BY ?r } . FILTER ( ?s <= 1 ) }
[]
natural region of Germany geographic location
SYSTEM
21
Q157290 Q152356 Q152131 Q707004 Q159589 Q8359 Q640966 Q109773 Q4207 Q525051 Q4198 Q158884 Q896061 Q179378 Q4210 Q685984 Q148988 Q182470 Q157728 Q4204 Q15079119
(c(Q2221906),P706,c(Q553036))
action count
action atmost
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P706 ?r . ?r rdf:type ontology:Q553036 . ?o rdf:type ontology:Q2221906 } GROUP BY ?r } . FILTER ( ?s <= 1 ) }
Bohemian Forest Eifel Sudetes Palatinate Forest Swabian Jura Odenwald Westerwald Teutoburg Forest Bavarian Forest Kellerwald Ore Mountains Taunus Kaufungen Forest Reinhardswald Thuringian Forest Upper Palatine Forest Rhön Mountains Spessart Fichtelgebirge Black Forest Steigerwald
21
action count
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:located_on_terrain_feature ?r . ?r rdf:type ontology:natural_region_of_Germany . ?o rdf:type ontology:geographic_location } GROUP BY ?r } . FILTER ( ?s <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15 Q899976
P361
Q151885
USER
How many concepts are Africa or Czernina a part of ?
(Q15,P361,c(Q151885)) (Q899976,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q15
relation P361
type Q151885
action filter_type
action find
entity Q899976
relation P361
type Q151885
['Q15', 'P361', {'concept': 'Q151885'}] ['Q899976', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?w ) { ( resource:Q15 ) ( resource:Q899976 ) } . ?w property:P361 ?d }
Africa Czernina
action count
action union
action filter_type
action find
entity Africa
relation part of
type concept
action filter_type
action find
entity Czernina
relation part of
type concept
['Africa', 'part of', {'concept': 'concept'}] ['Czernina', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?w ) { ( resource:Africa ) ( resource:Czernina ) } . ?w property:part_of ?d }
[]
concept
SYSTEM
2
Q756020 Q1850480
(Q15,P361,c(Q151885)) (Q899976,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q15
relation P361
type Q151885
action filter_type
action find
entity Q899976
relation P361
type Q151885
[ANSWER]
['Q15', 'P361', {'concept': 'Q151885'}] ['Q899976', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?w ) { ( resource:Q15 ) ( resource:Q899976 ) } . ?w property:P361 ?d }
Polish cuisine Belarusian cuisine
2
action count
action union
action filter_type
action find
entity Africa
relation part of
type concept
action filter_type
action find
entity Czernina
relation part of
type concept
['Africa', 'part of', {'concept': 'concept'}] ['Czernina', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?w ) { ( resource:Africa ) ( resource:Czernina ) } . ?w property:part_of ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15
P47
Q2221906
USER
Which geographic locations share border with Africa ?
(Q15,P47,c(Q2221906))
action filter_type
action find
entity Q15
relation P47
type Q2221906
['Q15', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q15 property:P47 ?y . ?y rdf:type ontology:Q2221906 }
Africa
action filter_type
action find
entity Africa
relation shares border with
type geographic location
['Africa', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Africa property:shares_border_with ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q15,P47,c(Q2221906))
action filter_type
action find
entity Q15
relation P47
type Q2221906
[ANSWERS] share border with Africa
['Q15', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q15 property:P47 ?y . ?y rdf:type ontology:Q2221906 }
Europe Asia
Europe and Asia share border with Africa
Europe Asia
action filter_type
action find
entity Africa
relation shares border with
type geographic location
['Africa', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Africa property:shares_border_with ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46 Q48
P361
Q2221906
USER
Which geographic locations are those ones a part of ?
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?v property:P361 ?r . ?r rdf:type ontology:Q2221906 . VALUES ( ?v ) { ( resource:Q46 ) ( resource:Q48 ) } }
Europe Asia
action filter_type
action find
entity prev_answer
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?v property:part_of ?r . ?r rdf:type ontology:geographic_location . VALUES ( ?v ) { ( resource:Europe ) ( resource:Asia ) } }
[]
geographic location
Q5401 Q2035462 Q5401
SYSTEM
Ostfeste for 2nd, Eurasia for 1st, 3rd
Q5401 Q2035462 Q5401
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P361
type Q2221906
[ANSWERS]
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?v property:P361 ?r . ?r rdf:type ontology:Q2221906 . VALUES ( ?v ) { ( resource:Q46 ) ( resource:Q48 ) } }
Eurasia Ostfeste Eurasia
Eurasia, Ostfeste and Eurasia are those ones a part of
Eurasia Ostfeste Eurasia
action filter_type
action find
entity prev_answer
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?v property:part_of ?r . ?r rdf:type ontology:geographic_location . VALUES ( ?v ) { ( resource:Europe ) ( resource:Asia ) } }
[]