Simple Question (Direct)
Simple Question
Q10399302
P19
Q1048835
USER
Where was John 'Tune' Kristiansen born ?
(Q10399302,P19,c(Q1048835))
action filter_type
action find
entity Q10399302
relation P19
type Q1048835
['Q10399302', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q10399302 property:P19 ?d }
John 'Tune' Kristiansen
action filter_type
action find
entity John 'Tune' Kristiansen
relation place of birth
type political territorial entity
["John 'Tune' Kristiansen", 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:John_'Tune'_Kristiansen property:place_of_birth ?d }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q10399302,P19,c(Q1048835))
action filter_type
action find
entity Q10399302
relation P19
type Q1048835
John ' Tune ' Kristiansen was born in [ANSWER]
['Q10399302', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q10399302 property:P19 ?d }
Denmark
John ' Tune ' Kristiansen was born in Denmark
Denmark
action filter_type
action find
entity John 'Tune' Kristiansen
relation place of birth
type political territorial entity
["John 'Tune' Kristiansen", 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:John_'Tune'_Kristiansen property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10399302
P21
Q290
USER
Which sex does that person possess ?
(Q35,P21,c(Q290))
action filter_type
action find
entity Q10399302
relation P21
type Q290
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q10399302 property:P21 ?r . ?r rdf:type ontology:Q290 }
John 'Tune' Kristiansen
action filter_type
action find
entity John 'Tune' Kristiansen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:John_'Tune'_Kristiansen property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q35,P21,c(Q290))
action filter_type
action find
entity Q10399302
relation P21
type Q290
That person possesses a [ANSWER]
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q10399302 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity John 'Tune' Kristiansen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:John_'Tune'_Kristiansen property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10399302
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10399302
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q10399302 property:P641 ?z . ?z rdf:type ontology:Q349 }
John 'Tune' Kristiansen
action filter_type
action find
entity John 'Tune' Kristiansen
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:John_'Tune'_Kristiansen property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10399302
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q10399302 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity John 'Tune' Kristiansen
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:John_'Tune'_Kristiansen property:sport ?z . ?z rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q15324 Q337567 Q1048835
USER
Which political territories are situated in the neighbourhood of max number of bodies of water and still waterss ?
(c(Q1048835),P206,c(Q15324)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q337567
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?j property:P206 ?r . ?r rdf:type ontology:Q337567 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P206 ?r . ?j rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15324 } } GROUP BY ?j } } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?q } }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?j property:located_next_to_body_of_water ?r . ?r rdf:type ontology:still_waters . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:located_next_to_body_of_water ?r . ?j rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:body_of_water } } GROUP BY ?j } } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?q } }
[]
body of water still waters political territorial entity
Q2898 Q5061 Q5062
SYSTEM
Rostock District, East Nusa Tenggara Province, West Nusa Tenggara
Q5075 Q5061 Q5062 Q5093 Q2898 Q10996863 Q109128 Q3916 Q213361
(c(Q1048835),P206,c(Q15324)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q337567
[ANSWERS] are situated in the neighbourhood of max number of bodies of water and still waterss
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?j property:P206 ?r . ?r rdf:type ontology:Q337567 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P206 ?r . ?j rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15324 } } GROUP BY ?j } } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?q } }
South East Sulawesi Province East Nusa Tenggara Province West Nusa Tenggara Maluku Province Rostock District City and County of Swansea Gwynedd Kalimantan Barat Pembrokeshire
Rostock District, East Nusa Tenggara Province and West Nusa Tenggara are situated in the neighbourhood of max number of bodies of water and still waterss
Rostock District East Nusa Tenggara Province West Nusa Tenggara
action argmax
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?c ) WHERE { { ?j property:located_next_to_body_of_water ?r . ?r rdf:type ontology:still_waters . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:located_next_to_body_of_water ?r . ?j rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:body_of_water } } GROUP BY ?j } } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2898 Q5061 Q5062
P47
Q1048835
USER
Which political territories have a shared border with Rostock District, East Nusa Tenggara Province and West Nusa Tenggara ?
(Q2898,P47,c(Q1048835)) (Q5061,P47,c(Q1048835)) (Q5062,P47,c(Q1048835))
action union
action filter_type
action find
entity Q2898
relation P47
type Q1048835
action filter_type
action find
entity Q5061
relation P47
type Q1048835
action filter_type
action find
entity Q5062
relation P47
type Q1048835
['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q5061', 'P47', {'concept': 'Q1048835'}] ['Q5062', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?v ) { ( resource:Q2898 ) ( resource:Q5061 ) } . ?v property:P47 ?d }
Rostock District East Nusa Tenggara Province West Nusa Tenggara
action union
action filter_type
action find
entity Rostock District
relation shares border with
type political territorial entity
action filter_type
action find
entity East Nusa Tenggara Province
relation shares border with
type political territorial entity
action filter_type
action find
entity West Nusa Tenggara
relation shares border with
type political territorial entity
['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['East Nusa Tenggara Province', 'shares border with', {'concept': 'political territorial entity'}] ['West Nusa Tenggara', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?v ) { ( resource:Rostock_District ) ( resource:East_Nusa_Tenggara_Province ) } . ?v property:shares_border_with ?d }
[]
political territorial entity
Q5061 Q5062 Q5093
SYSTEM
East Nusa Tenggara Province, West Nusa Tenggara, Maluku Province
Q2905 Q2902 Q2909 Q2876 Q5093 Q5062 Q5061
(Q2898,P47,c(Q1048835)) (Q5061,P47,c(Q1048835)) (Q5062,P47,c(Q1048835))
action union
action filter_type
action find
entity Q2898
relation P47
type Q1048835
action filter_type
action find
entity Q5061
relation P47
type Q1048835
action filter_type
action find
entity Q5062
relation P47
type Q1048835
[ANSWERS] have a shared border with Rostock District, East Nusa Tenggara Province and West Nusa Tenggara
['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q5061', 'P47', {'concept': 'Q1048835'}] ['Q5062', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?v ) { ( resource:Q2898 ) ( resource:Q5061 ) } . ?v property:P47 ?d }
Ludwigslust-Parchim District Mecklenburgische Seenplatte District Vorpommern-Rügen District Nordwestmecklenburg District Maluku Province West Nusa Tenggara East Nusa Tenggara Province
East Nusa Tenggara Province, West Nusa Tenggara and Maluku Province have a shared border with Rostock District, East Nusa Tenggara Province and West Nusa Tenggara
East Nusa Tenggara Province West Nusa Tenggara Maluku Province
action union
action filter_type
action find
entity Rostock District
relation shares border with
type political territorial entity
action filter_type
action find
entity East Nusa Tenggara Province
relation shares border with
type political territorial entity
action filter_type
action find
entity West Nusa Tenggara
relation shares border with
type political territorial entity
['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['East Nusa Tenggara Province', 'shares border with', {'concept': 'political territorial entity'}] ['West Nusa Tenggara', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?v ) { ( resource:Rostock_District ) ( resource:East_Nusa_Tenggara_Province ) } . ?v property:shares_border_with ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5093
P36
Q515
USER
Which city is the capital of Maluku Province ?
(Q5093,P36,c(Q515))
action filter_type
action find
entity Q5093
relation P36
type Q515
['Q5093', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q5093 property:P36 ?o . ?o rdf:type ontology:Q515 }
Maluku Province
action filter_type
action find
entity Maluku Province
relation capital
type city
['Maluku Province', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Maluku_Province property:capital ?o . ?o rdf:type ontology:city }
[]
city
Q18970
SYSTEM
Ambon
Q18970
(Q5093,P36,c(Q515))
action filter_type
action find
entity Q5093
relation P36
type Q515
The capital of Maluku Province is of [ANSWER]
['Q5093', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q5093 property:P36 ?o . ?o rdf:type ontology:Q515 }
Ambon
The capital of Maluku Province is of Ambon
Ambon
action filter_type
action find
entity Maluku Province
relation capital
type city
['Maluku Province', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Maluku_Province property:capital ?o . ?o rdf:type ontology:city }
[]