Simple Question (Direct)
Simple Question
Q2041530
P27
Q1048835
USER
Which political territory is the native country of Christian Olsen ?
(Q2041530,P27,c(Q1048835))
action filter_type
action find
entity Q2041530
relation P27
type Q1048835
['Q2041530', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q2041530 property:P27 ?l }
Christian Olsen
action filter_type
action find
entity Christian Olsen
relation country of citizenship
type political territorial entity
['Christian Olsen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Christian_Olsen property:country_of_citizenship ?l }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q2041530,P27,c(Q1048835))
action filter_type
action find
entity Q2041530
relation P27
type Q1048835
[ANSWER] is the native country of Christian Olsen
['Q2041530', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q2041530 property:P27 ?l }
Denmark
Denmark is the native country of Christian Olsen
Denmark
action filter_type
action find
entity Christian Olsen
relation country of citizenship
type political territorial entity
['Christian Olsen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Christian_Olsen property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2041530
P21
Q290
USER
Which sex does that person possess ?
(Q35,P21,c(Q290))
action filter_type
action find
entity Q2041530
relation P21
type Q290
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2041530 property:P21 ?u . ?u rdf:type ontology:Q290 }
Christian Olsen
action filter_type
action find
entity Christian Olsen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Christian_Olsen property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q35,P21,c(Q290))
action filter_type
action find
entity Q2041530
relation P21
type Q290
That person possesses a [ANSWER]
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2041530 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Christian Olsen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Christian_Olsen property:gender ?u . ?u rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q1048835
USER
How many political territories are situated in the neighbourhood of exactly 1 waterways or bodies of water ?
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 1
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?i rdf:type ?z } GROUP BY ?y } . FILTER ( ?e = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?i rdf:type ?z } GROUP BY ?y } . FILTER ( ?e = 1 ) }
[]
waterway body of water political territorial entity
SYSTEM
73
Q1649616 Q691567 Q1228773 Q657407 Q844784 Q2012050 Q1614800 Q1470810 Q492312 Q7206212 Q5067 Q18356359 Q147774 Q217829 Q7451347 Q5095 Q18350152 Q3557 Q804466 Q5096 Q898856 Q492420 Q35 Q5017377 Q917886 Q6674900 Q7521776 Q616847 Q1637424 Q1443906 Q13751 Q847329 Q817971 Q16851746 Q1634820 Q1447802 Q217840 Q7130989 Q100166 Q163271 Q5437809 Q1443992 Q1631163 Q1637406 Q743849 Q650682 Q748078 Q4481 Q904566 Q1645555 Q5939706 Q3903 Q4673688 Q3724 Q1391437 Q18359182 Q171334 Q847127 Q5616614 Q47134 Q1623000 Q18357018 Q505610 Q607474 Q3891 Q18351821 Q936264 Q42314 Q7684726 Q5197069 Q824076 Q6298722 Q697126
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?i rdf:type ?z } GROUP BY ?y } . FILTER ( ?e = 1 ) }
Orio Les Dirouilles Plentzia Sopela Vale of Glamorgan Donetsk Oblast Val de San Vicente Pierres de Lecq Hondarribia Poblacion Gorontalo Province Manipulon Zarautz Ceredigion Sentinela Papua Loguingot Central Java Province Bakio West Papua Jethou Getxo Denmark Cagting Santurtzi Looc, Mandaue Sinandigan Ribamontán al Mar Miengo Arnuero Biliran Comillas Conwy County Borough Caparangasan Barreiros Noja Carmarthenshire Pangpang Orkney Islands Kherson Oblast Fatima Bareyo Aia Ruiloba Valdáliga Denbighshire Neath Port Talbot County Borough Barrika Brecqhou Liendo Humayhumay North Kalimantan Achila West Java Province Alfoz de Lloredo Botlog Island Zaporizhzhya Oblast Pasaia Guintabo-an Shetland Piélagos Bayas Island Flintshire Muskiz Kalimantan Tengah Malangabang Lemoiz Channel Islands Tapon Cuya Ribadeo Juagdan Bridgend County Borough
73
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?i rdf:type ?z } GROUP BY ?y } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q21
P551
Q502895
USER
How many people live in Denmark and England ?
(c(Q502895),P551,Q35) (c(Q502895),P551,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P551
type Q502895
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q35'] [{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P551 resource:Q35 . ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q21 . ?s rdf:type ontology:Q502895 }
Denmark England
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation residence
type common name
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Denmark'] [{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:residence resource:Denmark . ?s rdf:type ontology:common_name . ?s property:residence resource:England . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q7085 Q171363
(c(Q502895),P551,Q35) (c(Q502895),P551,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P551
type Q502895
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q35'] [{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P551 resource:Q35 . ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q21 . ?s rdf:type ontology:Q502895 }
Niels Bohr Viggo Mortensen
2
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation residence
type common name
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Denmark'] [{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:residence resource:Denmark . ?s rdf:type ontology:common_name . ?s property:residence resource:England . ?s rdf:type ontology:common_name }
[]