Simple Question (Direct)
Simple Question
Q105012
P937
Q515
USER
Which city is the work location of Gustav Neuring ?
(Q105012,P937,c(Q515))
action filter_type
action find
entity Q105012
relation P937
type Q515
['Q105012', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q105012 property:P937 ?i . ?i rdf:type ontology:Q515 }
Gustav Neuring
action filter_type
action find
entity Gustav Neuring
relation work location
type city
['Gustav Neuring', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gustav_Neuring property:work_location ?i . ?i rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q105012,P937,c(Q515))
action filter_type
action find
entity Q105012
relation P937
type Q515
[ANSWER] is the work location of Gustav Neuring
['Q105012', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q105012 property:P937 ?i . ?i rdf:type ontology:Q515 }
Dresden
Dresden is the work location of Gustav Neuring
Dresden
action filter_type
action find
entity Gustav Neuring
relation work location
type city
['Gustav Neuring', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gustav_Neuring property:work_location ?i . ?i rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P30
Q2221906
USER
Which geographic location is that city located in ?
(Q1731,P30,c(Q2221906))
action filter_type
action find
entity Q1731
relation P30
type Q2221906
['Q1731', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q1731 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Dresden
action filter_type
action find
entity Dresden
relation continent
type geographic location
['Dresden', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Dresden property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q5401
SYSTEM
Eurasia
Q5401
(Q1731,P30,c(Q2221906))
action filter_type
action find
entity Q1731
relation P30
type Q2221906
That city is located in [ANSWER]
['Q1731', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q1731 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Eurasia
That city is located in Eurasia
Eurasia
action filter_type
action find
entity Dresden
relation continent
type geographic location
['Dresden', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Dresden property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q2221906
USER
How many landforms are approximately 1 geographic location located on ?
(c(Q2221906),P706,c(Q271669))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P706 ?a . ?a rdf:type ontology:Q271669 . ?k rdf:type ontology:Q2221906 } GROUP BY ?a } . FILTER ( ?w = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:located_on_terrain_feature ?a . ?a rdf:type ontology:landform . ?k rdf:type ontology:geographic_location } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]
landform geographic location
SYSTEM
11
Q1136590 Q120755 Q3391904 Q669883 Q208198 Q1089367 Q5463 Q185605 Q629238 Q1001294 Q74652
(c(Q2221906),P706,c(Q271669))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P706 ?a . ?a rdf:type ontology:Q271669 . ?k rdf:type ontology:Q2221906 } GROUP BY ?a } . FILTER ( ?w = 1 ) }
Coteau des Prairies South Island Markagunt Plateau Franconian Jura Viti Levu Chugach Mountains Rocky Mountains Antarctic Peninsula Shiretoko Peninsula Antarctic Plateau Kvaløya
11
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:located_on_terrain_feature ?a . ?a rdf:type ontology:landform . ?k rdf:type ontology:geographic_location } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P915
Q15416
USER
Which television program was filmed at Dresden ?
(c(Q15416),P915,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q1731']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15416 . ?m property:P915 resource:Q1731 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Dresden']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:television_program . ?m property:filming_location resource:Dresden }
[]
television program
Q23007392
SYSTEM
Tatort: Auf einen Schlag
Q23007392
(c(Q15416),P915,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P915
type Q15416
[ANSWER] was filmed at Dresden
[{'concept': 'Q15416'}, 'P915', 'Q1731']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15416 . ?m property:P915 resource:Q1731 }
Tatort: Auf einen Schlag
Tatort: Auf einen Schlag was filmed at Dresden
Tatort: Auf einen Schlag
action filter_type
action find_reverse
entity Dresden
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Dresden']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:television_program . ?m property:filming_location resource:Dresden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23007392
P58
Q502895
USER
Who was the screenwriter for that television program ?
(Q23007392,P58,c(Q502895))
action filter_type
action find
entity Q23007392
relation P58
type Q502895
['Q23007392', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q23007392 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Tatort: Auf einen Schlag
action filter_type
action find
entity Tatort: Auf einen Schlag
relation screenwriter
type common name
['Tatort: Auf einen Schlag', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Tatort:_Auf_einen_Schlag property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
common name
Q111498
SYSTEM
Ralf Husmann
Q111498
(Q23007392,P58,c(Q502895))
action filter_type
action find
entity Q23007392
relation P58
type Q502895
The screenwriter for that television program was [ANSWER]
['Q23007392', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q23007392 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Ralf Husmann
The screenwriter for that television program was Ralf Husmann
Ralf Husmann
action filter_type
action find
entity Tatort: Auf einen Schlag
relation screenwriter
type common name
['Tatort: Auf einen Schlag', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Tatort:_Auf_einen_Schlag property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]