Simple Question (Direct)
Simple Question
Q5276666
P734
Q82799
USER
Who has the surname Kazuki Nakashima ?
(Q5276666,P734,c(Q82799))
action filter_type
action find
entity Q5276666
relation P734
type Q82799
['Q5276666', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5276666 property:P734 ?j }
Kazuki Nakashima
action filter_type
action find
entity Kazuki Nakashima
relation family name
type name
['Kazuki Nakashima', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kazuki_Nakashima property:family_name ?j }
[]
name
Q16877753
SYSTEM
Nakajima
Q16877753
(Q5276666,P734,c(Q82799))
action filter_type
action find
entity Q5276666
relation P734
type Q82799
To [ANSWER] has the surname Kazuki Nakashima
['Q5276666', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5276666 property:P734 ?j }
Nakajima
To Nakajima has the surname Kazuki Nakashima
Nakajima
action filter_type
action find
entity Kazuki Nakashima
relation family name
type name
['Kazuki Nakashima', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kazuki_Nakashima property:family_name ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5276666
P27
Q15617994
USER
Which administrative territory is Kazuki Nakashima an inhabitant of ?
(Q5276666,P27,c(Q15617994))
action filter_type
action find
entity Q5276666
relation P27
type Q15617994
['Q5276666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5276666 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Kazuki Nakashima
action filter_type
action find
entity Kazuki Nakashima
relation country of citizenship
type designation for an administrative territorial entity
['Kazuki Nakashima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Kazuki_Nakashima property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q5276666,P27,c(Q15617994))
action filter_type
action find
entity Q5276666
relation P27
type Q15617994
The [ANSWER] is Kazuki Nakashima an inhabitant of
['Q5276666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5276666 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Japan
The Japan is Kazuki Nakashima an inhabitant of
Japan
action filter_type
action find
entity Kazuki Nakashima
relation country of citizenship
type designation for an administrative territorial entity
['Kazuki Nakashima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Kazuki_Nakashima property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5276666
P58
Q838948
USER
Which works of art have that person as screenwriter ?
(c(Q838948),P58,Q17)
action filter_type
action find_reverse
entity Q5276666
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q17']
SELECT DISTINCT ?x WHERE { ?x property:P58 resource:Q5276666 . ?x rdf:type ontology:Q838948 }
Kazuki Nakashima
action filter_type
action find_reverse
entity Kazuki Nakashima
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Japan']
SELECT DISTINCT ?x WHERE { ?x property:screenwriter resource:Kazuki_Nakashima . ?x rdf:type ontology:work_of_art }
[]
work of art
Q6349731 Q3278028 Q15059911
SYSTEM
Kakushi Toride no San-Akunin: The Last Princess, Kamen Rider Fourze the Movie: Space, Here We Come!, Crayon Shin-chan: Serious Battle! Robot Dad Strikes Back
Q6349731 Q3278028 Q15059911
(c(Q838948),P58,Q17)
action filter_type
action find_reverse
entity Q5276666
relation P58
type Q838948
[ANSWERS] have that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q17']
SELECT DISTINCT ?x WHERE { ?x property:P58 resource:Q5276666 . ?x rdf:type ontology:Q838948 }
Kakushi Toride no San-Akunin: The Last Princess Kamen Rider Fourze the Movie: Space, Here We Come! Crayon Shin-chan: Serious Battle! Robot Dad Strikes Back
Kakushi Toride no San-Akunin: The Last Princess, Kamen Rider Fourze the Movie: Space, Here We Come! and Crayon Shin-chan: Serious Battle! Robot Dad Strikes Back have that person as screenwriter
Kakushi Toride no San-Akunin: The Last Princess Kamen Rider Fourze the Movie: Space, Here We Come! Crayon Shin-chan: Serious Battle! Robot Dad Strikes Back
action filter_type
action find_reverse
entity Kazuki Nakashima
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Japan']
SELECT DISTINCT ?x WHERE { ?x property:screenwriter resource:Kazuki_Nakashima . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P30
Q2221906
USER
Which geographic location is Japan situated in ?
(Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q17 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Japan
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Japan property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
Japan is situated in [ANSWER]
['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q17 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Asia
Japan is situated in Asia
Asia
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Japan property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P30
Q2221906 Q56061 Q34763
USER
Which geographic locations are atmost 406 administrative territories and peninsulas situated in ?
(c(Q56061)|c(Q34763),P30,c(Q2221906))
action atmost
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q56061
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q34763
value 406
[[{'concept': 'Q56061'}, {'concept': 'Q34763'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q34763 ) } . ?b rdf:type ?i } GROUP BY ?j } . FILTER ( ?l <= 406 ) }
action atmost
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type administrative territorial entity
action find_reverse_tuple_counts
relation continent
type geographic location
type peninsula
value 406
[[{'concept': 'administrative territorial entity'}, {'concept': 'peninsula'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:peninsula ) } . ?b rdf:type ?i } GROUP BY ?j } . FILTER ( ?l <= 406 ) }
[]
geographic location administrative territorial entity peninsula
Q48 Q15 Q46
SYSTEM
Asia, Africa, Europe
Q46 Q3960 Q828 Q48 Q49 Q15 Q5401 Q18 Q538
(c(Q56061)|c(Q34763),P30,c(Q2221906))
action atmost
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q56061
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q34763
value 406
[ANSWERS] are atmost 406 administrative territories and peninsulas situated in
[[{'concept': 'Q56061'}, {'concept': 'Q34763'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q34763 ) } . ?b rdf:type ?i } GROUP BY ?j } . FILTER ( ?l <= 406 ) }
Europe Australia Americas Asia North America Africa Eurasia South America Oceania
Asia, Africa and Europe are atmost 406 administrative territories and peninsulas situated in
Asia Africa Europe
action atmost
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type administrative territorial entity
action find_reverse_tuple_counts
relation continent
type geographic location
type peninsula
value 406
[[{'concept': 'administrative territorial entity'}, {'concept': 'peninsula'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:peninsula ) } . ?b rdf:type ?i } GROUP BY ?j } . FILTER ( ?l <= 406 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q2221906
USER
Which geographic locations are located in max number of geographic locations ?
(c(Q2221906),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?n ) WHERE { ?r property:P706 ?j . ?j rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?h ) WHERE { ?k property:P706 ?e . ?k rdf:type ontology:Q2221906 . ?e rdf:type ontology:Q2221906 } GROUP BY ?k } } }
action argmax
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?n ) WHERE { ?r property:located_on_terrain_feature ?j . ?j rdf:type ontology:geographic_location . ?r rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?h ) WHERE { ?k property:located_on_terrain_feature ?e . ?k rdf:type ontology:geographic_location . ?e rdf:type ontology:geographic_location } GROUP BY ?k } } }
[]
geographic location geographic location
Q27561 Q213704 Q7191008
SYSTEM
Caribbean Netherlands, Pico Bolívar, Pico El León
Q7191008 Q27468 Q27394 Q12603 Q27381 Q1188034 Q27561 Q4412295 Q263686 Q1411784 Q27353 Q3047192 Q745767 Q1555247 Q6488761 Q3646551 Q14705259 Q1134547 Q5428 Q27449 Q213704 Q22602 Q7191014 Q7191015 Q7191011 Q5317255
(c(Q2221906),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q2221906
type Q2221906
[ANSWERS] are located in max number of geographic locations
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?n ) WHERE { ?r property:P706 ?j . ?j rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?h ) WHERE { ?k property:P706 ?e . ?k rdf:type ontology:Q2221906 . ?e rdf:type ontology:Q2221906 } GROUP BY ?k } } }
Pico El León Eastern Europe Southern Africa Pacific Northwest North Africa Pico Humboldt Caribbean Netherlands Northern Maramuresh Southeast Europe Western Palatinate Anglo-America Pico Piedras Blancas Marie Byrd Land North Palatinate Larch Mountain Pico Bonpland Porter Peak Ellsworth Land Siberia Southern Europe Pico Bolívar Vorderpfalz Pico La Concha Pico Pan de Azúcar Pico El Toro Dutch Caribbean
Caribbean Netherlands, Pico Bolívar and Pico El León are located in max number of geographic locations
Caribbean Netherlands Pico Bolívar Pico El León
action argmax
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = ?d ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?n ) WHERE { ?r property:located_on_terrain_feature ?j . ?j rdf:type ontology:geographic_location . ?r rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?h ) WHERE { ?k property:located_on_terrain_feature ?e . ?k rdf:type ontology:geographic_location . ?e rdf:type ontology:geographic_location } GROUP BY ?k } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q553036 Q2221906
USER
Which natural region of Germanys are atmost 2 geographic locations located on ?
(c(Q2221906),P706,c(Q553036))
action atmost
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 2
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P706 ?w . ?w rdf:type ontology:Q553036 . ?m rdf:type ontology:Q2221906 } GROUP BY ?w } . FILTER ( ?c <= 2 ) }
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 2
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:located_on_terrain_feature ?w . ?w rdf:type ontology:natural_region_of_Germany . ?m rdf:type ontology:geographic_location } GROUP BY ?w } . FILTER ( ?c <= 2 ) }
[]
natural region of Germany geographic location
Q4186 Q152356 Q4198
SYSTEM
Harz, Eifel, Ore Mountains
Q157290 Q4186 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 atmost
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
value 2
[ANSWERS] are atmost 2 geographic locations located on
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P706 ?w . ?w rdf:type ontology:Q553036 . ?m rdf:type ontology:Q2221906 } GROUP BY ?w } . FILTER ( ?c <= 2 ) }
Bohemian Forest Harz 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
Harz, Eifel and Ore Mountains are atmost 2 geographic locations located on
Harz Eifel Ore Mountains
action atmost
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
value 2
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:located_on_terrain_feature ?w . ?w rdf:type ontology:natural_region_of_Germany . ?m rdf:type ontology:geographic_location } GROUP BY ?w } . FILTER ( ?c <= 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4186 Q152356 Q4198
P610
Q14524493
USER
Which are the highest peak of those natural region of Germanys ?
(Q4186,P610,c(Q14524493)) (Q152356,P610,c(Q14524493)) (Q4198,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q4186', 'P610', {'concept': 'Q14524493'}] ['Q152356', 'P610', {'concept': 'Q14524493'}] ['Q4198', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . VALUES ( ?a ) { ( resource:Q157290 ) ( resource:Q4186 ) ( resource:Q152356 ) } . ?a property:P610 ?k }
Harz Eifel Ore Mountains
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Harz', 'highest point', {'concept': 'terrain'}] ['Eifel', 'highest point', {'concept': 'terrain'}] ['Ore Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . VALUES ( ?a ) { ( resource:Bohemian_Forest ) ( resource:Harz ) ( resource:Eifel ) } . ?a property:highest_point ?k }
[]
terrain
Q155721 Q315110 Q1569913
SYSTEM
Brocken, Hohe Acht, Klínovec
Q155721 Q315110 Q1569913
(Q4186,P610,c(Q14524493)) (Q152356,P610,c(Q14524493)) (Q4198,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
The highest peak of those natural region of Germanys are the [ANSWERS]
['Q4186', 'P610', {'concept': 'Q14524493'}] ['Q152356', 'P610', {'concept': 'Q14524493'}] ['Q4198', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . VALUES ( ?a ) { ( resource:Q157290 ) ( resource:Q4186 ) ( resource:Q152356 ) } . ?a property:P610 ?k }
Brocken Hohe Acht Klínovec
The highest peak of those natural region of Germanys are the Brocken, Hohe Acht and Klínovec
Brocken Hohe Acht Klínovec
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Harz', 'highest point', {'concept': 'terrain'}] ['Eifel', 'highest point', {'concept': 'terrain'}] ['Ore Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . VALUES ( ?a ) { ( resource:Bohemian_Forest ) ( resource:Harz ) ( resource:Eifel ) } . ?a property:highest_point ?k }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155721 Q315110 Q1569913
P361
Q553036
USER
Which natural region of Germanys are Brocken, Hohe Acht and Klínovec a portion of ?
(Q155721,P361,c(Q553036)) (Q315110,P361,c(Q553036)) (Q1569913,P361,c(Q553036))
action union
action filter_type
action find
entity Q155721
relation P361
type Q553036
action filter_type
action find
entity Q315110
relation P361
type Q553036
action filter_type
action find
entity Q1569913
relation P361
type Q553036
['Q155721', 'P361', {'concept': 'Q553036'}] ['Q315110', 'P361', {'concept': 'Q553036'}] ['Q1569913', 'P361', {'concept': 'Q553036'}]
SELECT DISTINCT ?k WHERE { { resource:Q155721 property:P361 ?k . ?k rdf:type ontology:Q553036 } UNION { ?k rdf:type ontology:Q553036 . resource:Q315110 property:P361 ?k } }
Brocken Hohe Acht Klínovec
action union
action filter_type
action find
entity Brocken
relation part of
type natural region of Germany
action filter_type
action find
entity Hohe Acht
relation part of
type natural region of Germany
action filter_type
action find
entity Klínovec
relation part of
type natural region of Germany
['Brocken', 'part of', {'concept': 'natural region of Germany'}] ['Hohe Acht', 'part of', {'concept': 'natural region of Germany'}] ['Klínovec', 'part of', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?k WHERE { { resource:Brocken property:part_of ?k . ?k rdf:type ontology:natural_region_of_Germany } UNION { ?k rdf:type ontology:natural_region_of_Germany . resource:Hohe_Acht property:part_of ?k } }
[]
natural region of Germany
Q4186 Q152356 Q4198
SYSTEM
Harz, Eifel, Ore Mountains
Q4186 Q152356 Q4198
(Q155721,P361,c(Q553036)) (Q315110,P361,c(Q553036)) (Q1569913,P361,c(Q553036))
action union
action filter_type
action find
entity Q155721
relation P361
type Q553036
action filter_type
action find
entity Q315110
relation P361
type Q553036
action filter_type
action find
entity Q1569913
relation P361
type Q553036
The [ANSWERS] are Brocken, Hohe Acht and Klínovec a portion of
['Q155721', 'P361', {'concept': 'Q553036'}] ['Q315110', 'P361', {'concept': 'Q553036'}] ['Q1569913', 'P361', {'concept': 'Q553036'}]
SELECT DISTINCT ?k WHERE { { resource:Q155721 property:P361 ?k . ?k rdf:type ontology:Q553036 } UNION { ?k rdf:type ontology:Q553036 . resource:Q315110 property:P361 ?k } }
Harz Eifel Ore Mountains
The Harz, Eifel and Ore Mountains are Brocken, Hohe Acht and Klínovec a portion of
Harz Eifel Ore Mountains
action union
action filter_type
action find
entity Brocken
relation part of
type natural region of Germany
action filter_type
action find
entity Hohe Acht
relation part of
type natural region of Germany
action filter_type
action find
entity Klínovec
relation part of
type natural region of Germany
['Brocken', 'part of', {'concept': 'natural region of Germany'}] ['Hohe Acht', 'part of', {'concept': 'natural region of Germany'}] ['Klínovec', 'part of', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?k WHERE { { resource:Brocken property:part_of ?k . ?k rdf:type ontology:natural_region_of_Germany } UNION { ?k rdf:type ontology:natural_region_of_Germany . resource:Hohe_Acht property:part_of ?k } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155721
P17
Q1048835
USER
Which political territory is that terrain present in ?
(Q155721,P17,c(Q1048835))
action filter_type
action find
entity Q155721
relation P17
type Q1048835
['Q155721', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q155721 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Brocken
action filter_type
action find
entity Brocken
relation country
type political territorial entity
['Brocken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Brocken property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q155721
SYSTEM
Did you mean Brocken ?
Q4186 Q152356 Q4198
(Q4186,P17,c(Q1048835)) (Q152356,P17,c(Q1048835)) (Q4198,P17,c(Q1048835))
[ANSWER]
['Q4186', 'P17', {'concept': 'Q1048835'}] ['Q152356', 'P17', {'concept': 'Q1048835'}] ['Q4198', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q155721 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Harz Eifel Ore Mountains
Did you mean Brocken ?
Brocken
['Harz', 'country', {'concept': 'political territorial entity'}] ['Eifel', 'country', {'concept': 'political territorial entity'}] ['Ore Mountains', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Brocken property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q155721,P17,c(Q1048835))
['Q155721', 'P17', {'concept': 'Q1048835'}]
['Brocken', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q155721,P17,c(Q1048835))
action filter_type
action find
entity Q155721
relation P17
type Q1048835
That terrain is in [ANSWER]
['Q155721', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q155721 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Germany
That terrain is in Germany
Germany
action filter_type
action find
entity Brocken
relation country
type political territorial entity
['Brocken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Brocken property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4186 Q684
P138
Q34442
USER
How many roads have Harz or east as their toponym ?
(c(Q34442),P138,Q4186) (c(Q34442),P138,Q684)
action count
action union
action filter_type
action find_reverse
entity Q4186
relation P138
type Q34442
action filter_type
action find_reverse
entity Q684
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q4186'] [{'concept': 'Q34442'}, 'P138', 'Q684']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:P138 resource:Q4186 . ?w rdf:type ontology:Q34442 } UNION { ?w property:P138 resource:Q684 . ?w rdf:type ontology:Q34442 } }
Harz east
action count
action union
action filter_type
action find_reverse
entity Harz
relation named after
type road
action filter_type
action find_reverse
entity east
relation named after
type road
[{'concept': 'road'}, 'named after', 'Harz'] [{'concept': 'road'}, 'named after', 'east']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:named_after resource:Harz . ?w rdf:type ontology:road } UNION { ?w property:named_after resource:east . ?w rdf:type ontology:road } }
[]
road
SYSTEM
2
Q1305657 Q20968314
(c(Q34442),P138,Q4186) (c(Q34442),P138,Q684)
action count
action union
action filter_type
action find_reverse
entity Q4186
relation P138
type Q34442
action filter_type
action find_reverse
entity Q684
relation P138
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q4186'] [{'concept': 'Q34442'}, 'P138', 'Q684']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:P138 resource:Q4186 . ?w rdf:type ontology:Q34442 } UNION { ?w property:P138 resource:Q684 . ?w rdf:type ontology:Q34442 } }
Eastern Street cour du Levant
2
action count
action union
action filter_type
action find_reverse
entity Harz
relation named after
type road
action filter_type
action find_reverse
entity east
relation named after
type road
[{'concept': 'road'}, 'named after', 'Harz'] [{'concept': 'road'}, 'named after', 'east']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:named_after resource:Harz . ?w rdf:type ontology:road } UNION { ?w property:named_after resource:east . ?w rdf:type ontology:road } }
[]