Simple Question (Direct)
Simple Question
Q95520
P20
Q56061
USER
Which administrative territory is the place of death of Johann Eccarius ?
(Q95520,P20,c(Q56061))
action filter_type
action find
entity Q95520
relation P20
type Q56061
['Q95520', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q95520 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Johann Eccarius
action filter_type
action find
entity Johann Eccarius
relation place of death
type administrative territorial entity
['Johann Eccarius', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Eccarius property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q95520,P20,c(Q56061))
action filter_type
action find
entity Q95520
relation P20
type Q56061
[ANSWER] is the place of death of Johann Eccarius
['Q95520', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q95520 property:P20 ?x . ?x rdf:type ontology:Q56061 }
London
London is the place of death of Johann Eccarius
London
action filter_type
action find
entity Johann Eccarius
relation place of death
type administrative territorial entity
['Johann Eccarius', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Eccarius property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P1313
Q12737077
USER
Which occupation is fulfilled by that administrative territory ?
(Q84,P1313,c(Q12737077))
action filter_type
action find
entity Q84
relation P1313
type Q12737077
['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q84 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
London
action filter_type
action find
entity London
relation office held by head of government
type occupation
['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:London property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q38931
SYSTEM
Mayor of London
Q38931
(Q84,P1313,c(Q12737077))
action filter_type
action find
entity Q84
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that administrative territory
['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q84 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
Mayor of London
The Mayor of London is fulfilled by that administrative territory
Mayor of London
action filter_type
action find
entity London
relation office held by head of government
type occupation
['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:London property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q70544
Q12737077
USER
And what about Sévery?
(Q70544,P1313,c(Q12737077))
action filter_type
action find
entity Q70544
relation P1313
type Q12737077
['Q70544', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q70544 property:P1313 ?i }
Sévery
action filter_type
action find
entity Sévery
relation office held by head of government
type occupation
['Sévery', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Sévery property:office_held_by_head_of_government ?i }
[]
occupation
Q24701523
SYSTEM
mayor of Sévery
Q24701523
(Q70544,P1313,c(Q12737077))
action filter_type
action find
entity Q70544
relation P1313
type Q12737077
[ANSWER]
['Q70544', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q70544 property:P1313 ?i }
mayor of Sévery
mayor of Sévery
action filter_type
action find
entity Sévery
relation office held by head of government
type occupation
['Sévery', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Sévery property:office_held_by_head_of_government ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24701523
P1001
Q13220204
USER
Which administrative country subdivision is linked to that occupation ?
(Q24701523,P1001,c(Q13220204))
action filter_type
action find
entity Q24701523
relation P1001
type Q13220204
['Q24701523', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q24701523 property:P1001 ?q . ?q rdf:type ontology:Q13220204 }
mayor of Sévery
action filter_type
action find
entity mayor of Sévery
relation applies to jurisdiction
type second-level administrative country subdivision
['mayor of Sévery', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:mayor_of_Sévery property:applies_to_jurisdiction ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q70544
SYSTEM
Sévery
Q70544
(Q24701523,P1001,c(Q13220204))
action filter_type
action find
entity Q24701523
relation P1001
type Q13220204
[ANSWER] is linked to that occupation
['Q24701523', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q24701523 property:P1001 ?q . ?q rdf:type ontology:Q13220204 }
Sévery
Sévery is linked to that occupation
Sévery
action filter_type
action find
entity mayor of Sévery
relation applies to jurisdiction
type second-level administrative country subdivision
['mayor of Sévery', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:mayor_of_Sévery property:applies_to_jurisdiction ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70544
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision situated in ?
(Q70544,P17,c(Q15617994))
action filter_type
action find
entity Q70544
relation P17
type Q15617994
['Q70544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q70544 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Sévery
action filter_type
action find
entity Sévery
relation country
type designation for an administrative territorial entity
['Sévery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sévery property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q70544,P17,c(Q15617994))
action filter_type
action find
entity Q70544
relation P17
type Q15617994
That administrative country subdivision is situated in [ANSWER]
['Q70544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q70544 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Switzerland
That administrative country subdivision is situated in Switzerland
Switzerland
action filter_type
action find
entity Sévery
relation country
type designation for an administrative territorial entity
['Sévery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sévery property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q39 Q506625
P840
Q838948
USER
Does The Man Who Knew Too Much have its setting located at that administrative territory ?
(Q506625,P840,Q39)
action is_in
entity Q39
action find
entity Q506625
relation P840
['Q506625', 'P840', 'Q39']
ASK WHERE { resource:Q506625 property:P840 resource:Q39 }
Switzerland The Man Who Knew Too Much
action is_in
entity Switzerland
action find
entity The Man Who Knew Too Much
relation narrative location
['The Man Who Knew Too Much', 'narrative location', 'Switzerland']
ASK WHERE { resource:The_Man_Who_Knew_Too_Much property:narrative_location resource:Switzerland }
[]
work of art
SYSTEM
YES
(Q506625,P840,Q39)
action is_in
entity Q39
action find
entity Q506625
relation P840
[ANSWER]
['Q506625', 'P840', 'Q39']
ASK WHERE { resource:Q506625 property:P840 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity The Man Who Knew Too Much
relation narrative location
['The Man Who Knew Too Much', 'narrative location', 'Switzerland']
ASK WHERE { resource:The_Man_Who_Knew_Too_Much property:narrative_location resource:Switzerland }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27570110 Q95520
P27 P17
Q1048835
USER
Which political territories are Johann Eccarius an inhabitant of or do 1971 Denmark Open Badminton Championships – Men's doubles belong to ?
OR((Q95520,P27,c(Q1048835)), (Q27570110,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q95520
relation P27
action find
entity Q27570110
relation P17
type Q1048835
{'OR': [['Q95520', 'P27', {'concept': 'Q1048835'}], ['Q27570110', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q95520 property:P27 ?c } UNION { resource:Q27570110 property:P17 ?c } } }
1971 Denmark Open Badminton Championships – Men's doubles Johann Eccarius
action filter_type
action union
action find
entity Johann Eccarius
relation country of citizenship
action find
entity 1971 Denmark Open Badminton Championships – Men's doubles
relation country
type political territorial entity
{'OR': [['Johann Eccarius', 'country of citizenship', {'concept': 'political territorial entity'}], ["1971 Denmark Open Badminton Championships – Men's doubles", 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Johann_Eccarius property:country_of_citizenship ?c } UNION { resource:1971_Denmark_Open_Badminton_Championships_–_Men's_doubles property:country ?c } } }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q95520,P27,c(Q1048835)), (Q27570110,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q95520
relation P27
action find
entity Q27570110
relation P17
type Q1048835
[ANSWERS] are Johann Eccarius an inhabitant of or do 1971 Denmark Open Badminton Championships – Men's doubles belong to
{'OR': [['Q95520', 'P27', {'concept': 'Q1048835'}], ['Q27570110', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q95520 property:P27 ?c } UNION { resource:Q27570110 property:P17 ?c } } }
Germany Denmark
Germany and Denmark are Johann Eccarius an inhabitant of or do 1971 Denmark Open Badminton Championships – Men's doubles belong to
Germany Denmark
action filter_type
action union
action find
entity Johann Eccarius
relation country of citizenship
action find
entity 1971 Denmark Open Badminton Championships – Men's doubles
relation country
type political territorial entity
{'OR': [['Johann Eccarius', 'country of citizenship', {'concept': 'political territorial entity'}], ["1971 Denmark Open Badminton Championships – Men's doubles", 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Johann_Eccarius property:country_of_citizenship ?c } UNION { resource:1971_Denmark_Open_Badminton_Championships_–_Men's_doubles property:country ?c } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q35
P1532
Q502895
USER
Who play for those political territories ?
(c(Q502895),P1532,Q183) (c(Q502895),P1532,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q183'] [{'concept': 'Q502895'}, 'P1532', 'Q35']
SELECT DISTINCT ?n WHERE { ?n property:P1532 ?m . VALUES ( ?m ) { ( resource:Q183 ) ( resource:Q35 ) } . ?n rdf:type ontology:Q502895 }
Germany Denmark
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany'] [{'concept': 'common name'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport ?m . VALUES ( ?m ) { ( resource:Germany ) ( resource:Denmark ) } . ?n rdf:type ontology:common_name }
[]
common name
Q1331837 Q3530137 Q1573540
SYSTEM
Ellen Kiessling, Tobias Giehl, Ralf Jaros
Q1499347 Q25768269 Q23418556 Q16040122 Q23933662 Q23323661 Q24283241 Q24442448 Q3530137 Q1078224 Q17517599 Q23041689 Q1573540 Q24448038 Q14918196 Q21705952 Q11771919 Q17544413 Q25841177 Q22417389 Q9368268 Q23480023 Q22807080 Q23090951 Q22969617 Q23714989 Q1331837 Q24846847 Q25931172 Q12301578
(c(Q502895),P1532,Q183) (c(Q502895),P1532,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[ANSWERS] play for those political territories
[{'concept': 'Q502895'}, 'P1532', 'Q183'] [{'concept': 'Q502895'}, 'P1532', 'Q35']
SELECT DISTINCT ?n WHERE { ?n property:P1532 ?m . VALUES ( ?m ) { ( resource:Q183 ) ( resource:Q35 ) } . ?n rdf:type ontology:Q502895 }
Max Hopp Laura Muller Chantal Butzek Harald Demuth Clemens Bleistein Tobias Dahm Friedelinde Petershofen Lisa Mayer Tobias Giehl Christa Wiese Timo Benitz Joachim Dehmel Ralf Jaros Anna Felzmann Anjuli Knäsche Kai Karsten Maya Rehberg Max Hess Nadine Gonska Julian Flügel Varg Königsmark Martin Vogel  Annika Drazek Alexandra Wester Konstanze Klosterhalfen Xenia Stolz Ellen Kiessling Rene Stauss Janina Kölsch Andreas Martinsen
Ellen Kiessling, Tobias Giehl and Ralf Jaros play for those political territories
Ellen Kiessling Tobias Giehl Ralf Jaros
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany'] [{'concept': 'common name'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport ?m . VALUES ( ?m ) { ( resource:Germany ) ( resource:Denmark ) } . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1331837 Q3530137 Q1573540
P19
Q56061
USER
Which administrative territories were Ellen Kiessling, Tobias Giehl and Ralf Jaros born in ?
(Q1331837,P19,c(Q56061)) (Q3530137,P19,c(Q56061)) (Q1573540,P19,c(Q56061))
action union
action filter_type
action find
entity Q1331837
relation P19
type Q56061
action filter_type
action find
entity Q3530137
relation P19
type Q56061
action filter_type
action find
entity Q1573540
relation P19
type Q56061
['Q1331837', 'P19', {'concept': 'Q56061'}] ['Q3530137', 'P19', {'concept': 'Q56061'}] ['Q1573540', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { resource:Q3530137 property:P19 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q1331837 property:P19 ?p . ?p rdf:type ontology:Q56061 } }
Ellen Kiessling Tobias Giehl Ralf Jaros
action union
action filter_type
action find
entity Ellen Kiessling
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Tobias Giehl
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Ralf Jaros
relation place of birth
type administrative territorial entity
['Ellen Kiessling', 'place of birth', {'concept': 'administrative territorial entity'}] ['Tobias Giehl', 'place of birth', {'concept': 'administrative territorial entity'}] ['Ralf Jaros', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Tobias_Giehl property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:Ellen_Kiessling property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q5870 Q1726 Q1718
SYSTEM
Freital, Munich, Düsseldorf
Q5870 Q1726 Q1718
(Q1331837,P19,c(Q56061)) (Q3530137,P19,c(Q56061)) (Q1573540,P19,c(Q56061))
action union
action filter_type
action find
entity Q1331837
relation P19
type Q56061
action filter_type
action find
entity Q3530137
relation P19
type Q56061
action filter_type
action find
entity Q1573540
relation P19
type Q56061
[ANSWERS] were Ellen Kiessling, Tobias Giehl and Ralf Jaros born in
['Q1331837', 'P19', {'concept': 'Q56061'}] ['Q3530137', 'P19', {'concept': 'Q56061'}] ['Q1573540', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { resource:Q3530137 property:P19 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q1331837 property:P19 ?p . ?p rdf:type ontology:Q56061 } }
Freital Munich Düsseldorf
Freital, Munich and Düsseldorf were Ellen Kiessling, Tobias Giehl and Ralf Jaros born in
Freital Munich Düsseldorf
action union
action filter_type
action find
entity Ellen Kiessling
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Tobias Giehl
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Ralf Jaros
relation place of birth
type administrative territorial entity
['Ellen Kiessling', 'place of birth', {'concept': 'administrative territorial entity'}] ['Tobias Giehl', 'place of birth', {'concept': 'administrative territorial entity'}] ['Ralf Jaros', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Tobias_Giehl property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:Ellen_Kiessling property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1718
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q1718,P30,c(Q2221906))
action filter_type
action find
entity Q1718
relation P30
type Q2221906
['Q1718', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q1718 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation continent
type geographic location
['Düsseldorf', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Düsseldorf property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q5870
SYSTEM
Did you mean Freital ?
Q5870 Q1726 Q1718
(Q5870,P30,c(Q2221906)) (Q1726,P30,c(Q2221906)) (Q1718,P30,c(Q2221906))
[ANSWER]
['Q5870', 'P30', {'concept': 'Q2221906'}] ['Q1726', 'P30', {'concept': 'Q2221906'}] ['Q1718', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q1718 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Freital Munich Düsseldorf
Did you mean Freital ?
Freital
['Freital', 'continent', {'concept': 'geographic location'}] ['Munich', 'continent', {'concept': 'geographic location'}] ['Düsseldorf', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Düsseldorf property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Düsseldorf. Could you tell me the answer for that?
(Q1718,P30,c(Q2221906))
Q1718
['Q1718', 'P30', {'concept': 'Q2221906'}]
['Düsseldorf', 'continent', {'concept': 'geographic location'}]
[]
Q5401
SYSTEM
Eurasia
Q5401
(Q1718,P30,c(Q2221906))
action filter_type
action find
entity Q1718
relation P30
type Q2221906
[ANSWER] is that administrative territory a part of
['Q1718', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q1718 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Eurasia
Eurasia is that administrative territory a part of
Eurasia
action filter_type
action find
entity Düsseldorf
relation continent
type geographic location
['Düsseldorf', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Düsseldorf property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3396832
P706
Q2221906 Q1048835
USER
Which political territories have their location as greater number of geographic locations than Tudweiliog ?
(c(Q1048835),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q3396832
relation P706
type Q1048835
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?b ) WHERE { ?p property:P706 ?c . ?p rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q2221906 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q3396832 property:P706 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?b > ?t ) }
Tudweiliog
action greater
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Tudweiliog
relation located on terrain feature
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?b ) WHERE { ?p property:located_on_terrain_feature ?c . ?p rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:geographic_location } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Tudweiliog property:located_on_terrain_feature ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?b > ?t ) }
[]
geographic location political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q13353 Q6139 Q168856 Q5785 Q25228 Q170213 Q766 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q3396832
relation P706
type Q1048835
[ANSWERS] have their location as greater number of geographic locations than Tudweiliog
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?b ) WHERE { ?p property:P706 ?c . ?p rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q2221906 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q3396832 property:P706 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?b > ?t ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Zakarpattia Oblast Jamaica Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Jamaica, The Bahamas and Cayman Islands have their location as greater number of geographic locations than Tudweiliog
Jamaica The Bahamas Cayman Islands
action greater
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Tudweiliog
relation located on terrain feature
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?b ) WHERE { ?p property:located_on_terrain_feature ?c . ?p rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:geographic_location } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Tudweiliog property:located_on_terrain_feature ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?b > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q743741
P706
Q2221906 Q1048835
USER
And how about Felanitx?
(c(Q1048835),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q743741
relation P706
type Q1048835
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { ?e property:P706 ?t . ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q2221906 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q743741 property:P706 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?k > ?b ) }
Felanitx
action greater
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Felanitx
relation located on terrain feature
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { ?e property:located_on_terrain_feature ?t . ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:geographic_location } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Felanitx property:located_on_terrain_feature ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?k > ?b ) }
[]
geographic location political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q13353 Q6139 Q168856 Q5785 Q25228 Q170213 Q766 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action count
action filter_type
action find
entity Q743741
relation P706
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { ?e property:P706 ?t . ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q2221906 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q743741 property:P706 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?k > ?b ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Zakarpattia Oblast Jamaica Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Jamaica The Bahamas Cayman Islands
action greater
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action count
action filter_type
action find
entity Felanitx
relation located on terrain feature
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { ?e property:located_on_terrain_feature ?t . ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:geographic_location } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Felanitx property:located_on_terrain_feature ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?k > ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q766 Q778 Q5785
P1001
Q14660
USER
Which flags have jurisdiction over those political territories ?
(c(Q14660),P1001,Q766) (c(Q14660),P1001,Q778) (c(Q14660),P1001,Q5785)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q766'] [{'concept': 'Q14660'}, 'P1001', 'Q778'] [{'concept': 'Q14660'}, 'P1001', 'Q5785']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14660 . ?x property:P1001 ?z . VALUES ( ?z ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } }
Jamaica The Bahamas Cayman Islands
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Jamaica'] [{'concept': 'flag'}, 'applies to jurisdiction', 'The Bahamas'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cayman Islands']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:flag . ?x property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } }
[]
flag
Q172517 Q103447 Q174487
SYSTEM
Flag of Jamaica, Flag of the Bahamas, flag of the Cayman Islands
Q172517 Q103447 Q174487
(c(Q14660),P1001,Q766) (c(Q14660),P1001,Q778) (c(Q14660),P1001,Q5785)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] have jurisdiction over those political territories
[{'concept': 'Q14660'}, 'P1001', 'Q766'] [{'concept': 'Q14660'}, 'P1001', 'Q778'] [{'concept': 'Q14660'}, 'P1001', 'Q5785']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14660 . ?x property:P1001 ?z . VALUES ( ?z ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } }
Flag of Jamaica Flag of the Bahamas flag of the Cayman Islands
Flag of Jamaica, Flag of the Bahamas and flag of the Cayman Islands have jurisdiction over those political territories
Flag of Jamaica Flag of the Bahamas flag of the Cayman Islands
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Jamaica'] [{'concept': 'flag'}, 'applies to jurisdiction', 'The Bahamas'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cayman Islands']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:flag . ?x property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q103447
P462
Q4373292
USER
What physical properties are that flag associated with ?
(Q103447,P462,c(Q4373292))
action filter_type
action find
entity Q103447
relation P462
type Q4373292
['Q103447', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?w WHERE { resource:Q103447 property:P462 ?w . ?w rdf:type ontology:Q4373292 }
Flag of the Bahamas
action filter_type
action find
entity Flag of the Bahamas
relation color
type physical property
['Flag of the Bahamas', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?w WHERE { resource:Flag_of_the_Bahamas property:color ?w . ?w rdf:type ontology:physical_property }
[]
physical property
Clarification for simple ques.
Q172517
SYSTEM
Did you mean Flag of Jamaica ?
Q172517 Q103447 Q174487
(Q172517,P462,c(Q4373292)) (Q103447,P462,c(Q4373292)) (Q174487,P462,c(Q4373292))
[ANSWER]
['Q172517', 'P462', {'concept': 'Q4373292'}] ['Q103447', 'P462', {'concept': 'Q4373292'}] ['Q174487', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?w WHERE { resource:Q103447 property:P462 ?w . ?w rdf:type ontology:Q4373292 }
Flag of Jamaica Flag of the Bahamas flag of the Cayman Islands
Did you mean Flag of Jamaica ?
Flag of Jamaica
['Flag of Jamaica', 'color', {'concept': 'physical property'}] ['Flag of the Bahamas', 'color', {'concept': 'physical property'}] ['flag of the Cayman Islands', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?w WHERE { resource:Flag_of_the_Bahamas property:color ?w . ?w rdf:type ontology:physical_property }
[]
Simple Question (Coreferenced)
USER
No, I meant Flag of the Bahamas. Could you tell me the answer for that?
(Q103447,P462,c(Q4373292))
Q103447
['Q103447', 'P462', {'concept': 'Q4373292'}]
['Flag of the Bahamas', 'color', {'concept': 'physical property'}]
[]
Q372973 Q208045
SYSTEM
aquamarine, gold
Q372973 Q208045
(Q103447,P462,c(Q4373292))
action filter_type
action find
entity Q103447
relation P462
type Q4373292
That flag are associated with [ANSWERS]
['Q103447', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?w WHERE { resource:Q103447 property:P462 ?w . ?w rdf:type ontology:Q4373292 }
aquamarine gold
That flag are associated with aquamarine and gold
aquamarine gold
action filter_type
action find
entity Flag of the Bahamas
relation color
type physical property
['Flag of the Bahamas', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?w WHERE { resource:Flag_of_the_Bahamas property:color ?w . ?w rdf:type ontology:physical_property }
[]