Simple Question (Direct)
Simple Question
Q12879295
P186
Q10675206
USER
Which ingredients are used to make Koupepia ?
(Q12879295,P186,c(Q10675206))
action filter_type
action find
entity Q12879295
relation P186
type Q10675206
['Q12879295', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q10675206 . resource:Q12879295 property:P186 ?l }
Koupepia
action filter_type
action find
entity Koupepia
relation material used
type ingredient
['Koupepia', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ingredient . resource:Koupepia property:material_used ?l }
[]
ingredient
Q11254 Q20638126 Q21558811
SYSTEM
salt, tomato, onion
Q11254 Q20638126 Q21558811
(Q12879295,P186,c(Q10675206))
action filter_type
action find
entity Q12879295
relation P186
type Q10675206
[ANSWERS] are used to make Koupepia
['Q12879295', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q10675206 . resource:Q12879295 property:P186 ?l }
salt tomato onion
Salt, tomato and onion are used to make Koupepia
salt tomato onion
action filter_type
action find
entity Koupepia
relation material used
type ingredient
['Koupepia', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ingredient . resource:Koupepia property:material_used ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12879295
P495
Q15617994
USER
What are the countries of origin of that product ?
(Q11254,P495,c(Q15617994)) (Q20638126,P495,c(Q15617994)) (Q21558811,P495,c(Q15617994))
action filter_type
action find
entity Q12879295
relation P495
type Q15617994
['Q11254', 'P495', {'concept': 'Q15617994'}] ['Q20638126', 'P495', {'concept': 'Q15617994'}] ['Q21558811', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q12879295 property:P495 ?z }
Koupepia
action filter_type
action find
entity Koupepia
relation country of origin
type designation for an administrative territorial entity
['salt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['tomato', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['onion', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Koupepia property:country_of_origin ?z }
[]
designation for an administrative territorial entity
Q229 Q41
SYSTEM
Cyprus, Greece
Q229 Q41
(Q11254,P495,c(Q15617994)) (Q20638126,P495,c(Q15617994)) (Q21558811,P495,c(Q15617994))
action filter_type
action find
entity Q12879295
relation P495
type Q15617994
The countries of origin of that product are [ANSWERS]
['Q11254', 'P495', {'concept': 'Q15617994'}] ['Q20638126', 'P495', {'concept': 'Q15617994'}] ['Q21558811', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q12879295 property:P495 ?z }
Cyprus Greece
The countries of origin of that product are Cyprus and Greece
Cyprus Greece
action filter_type
action find
entity Koupepia
relation country of origin
type designation for an administrative territorial entity
['salt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['tomato', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['onion', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Koupepia property:country_of_origin ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 68 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 68
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?r ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?r = 68 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?r ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?r = 68 ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 68
[ANSWERS] have diplomatic relations with around 68 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?r ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?r = 68 ) }
Australia Canada
Australia and Canada have diplomatic relations with around 68 administrative territories
Australia Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?r ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?r = 68 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q230
Q15617994
USER
And what about Georgia?
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q230 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Georgia
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Georgia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
80
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q230 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
80
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Georgia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229
P35
Q502895
USER
Who is the chief of state of Cyprus ?
(Q229,P35,c(Q502895))
action filter_type
action find
entity Q229
relation P35
type Q502895
['Q229', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q229 property:P35 ?n }
Cyprus
action filter_type
action find
entity Cyprus
relation head of state
type common name
['Cyprus', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Cyprus property:head_of_state ?n }
[]
common name
Q2112764
SYSTEM
Nicos Anastasiades
Q2112764
(Q229,P35,c(Q502895))
action filter_type
action find
entity Q229
relation P35
type Q502895
The chief of state of Cyprus is George [ANSWER]
['Q229', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q229 property:P35 ?n }
Nicos Anastasiades
The chief of state of Cyprus is George Nicos Anastasiades
Nicos Anastasiades
action filter_type
action find
entity Cyprus
relation head of state
type common name
['Cyprus', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Cyprus property:head_of_state ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q229
P706
Q271669
USER
Where is that administrative territory located on ?
(Q2112764,P706,c(Q271669))
action filter_type
action find
entity Q229
relation P706
type Q271669
['Q2112764', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?c WHERE { resource:Q229 property:P706 ?c . ?c rdf:type ontology:Q271669 }
Cyprus
action filter_type
action find
entity Cyprus
relation located on terrain feature
type landform
['Nicos Anastasiades', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?c WHERE { resource:Cyprus property:located_on_terrain_feature ?c . ?c rdf:type ontology:landform }
[]
landform
Q644636
SYSTEM
Cyprus
Q644636
(Q2112764,P706,c(Q271669))
action filter_type
action find
entity Q229
relation P706
type Q271669
That administrative territory is located in [ANSWER] on
['Q2112764', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?c WHERE { resource:Q229 property:P706 ?c . ?c rdf:type ontology:Q271669 }
Cyprus
That administrative territory is located in Cyprus on
Cyprus
action filter_type
action find
entity Cyprus
relation located on terrain feature
type landform
['Nicos Anastasiades', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?c WHERE { resource:Cyprus property:located_on_terrain_feature ?c . ?c rdf:type ontology:landform }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229
P1071
Q838948
USER
Which work of art has Cyprus as its final place of assembly ?
(c(Q838948),P1071,Q229)
action filter_type
action find_reverse
entity Q229
relation P1071
type Q838948
[{'concept': 'Q838948'}, 'P1071', 'Q229']
SELECT DISTINCT ?r WHERE { ?r property:P1071 resource:Q229 . ?r rdf:type ontology:Q838948 }
Cyprus
action filter_type
action find_reverse
entity Cyprus
relation location of final assembly
type work of art
[{'concept': 'work of art'}, 'location of final assembly', 'Cyprus']
SELECT DISTINCT ?r WHERE { ?r property:location_of_final_assembly resource:Cyprus . ?r rdf:type ontology:work_of_art }
[]
work of art
Q20199990
SYSTEM
Female head wearing the polos
Q20199990
(c(Q838948),P1071,Q229)
action filter_type
action find_reverse
entity Q229
relation P1071
type Q838948
[ANSWER] has Cyprus as its final place of assembly
[{'concept': 'Q838948'}, 'P1071', 'Q229']
SELECT DISTINCT ?r WHERE { ?r property:P1071 resource:Q229 . ?r rdf:type ontology:Q838948 }
Female head wearing the polos
Female head wearing the polos has Cyprus as its final place of assembly
Female head wearing the polos
action filter_type
action find_reverse
entity Cyprus
relation location of final assembly
type work of art
[{'concept': 'work of art'}, 'location of final assembly', 'Cyprus']
SELECT DISTINCT ?r WHERE { ?r property:location_of_final_assembly resource:Cyprus . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229
P17
Q15617994
USER
Which administrative territory is Cyprus present in ?
(Q229,P17,c(Q15617994))
action filter_type
action find
entity Q229
relation P17
type Q15617994
['Q229', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q229 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Cyprus
action filter_type
action find
entity Cyprus
relation country
type designation for an administrative territorial entity
['Cyprus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cyprus property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q229
SYSTEM
Cyprus
Q229
(Q229,P17,c(Q15617994))
action filter_type
action find
entity Q229
relation P17
type Q15617994
Which administrative territory is [ANSWER] present in
['Q229', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q229 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Cyprus
Which administrative territory is Cyprus present in
Cyprus
action filter_type
action find
entity Cyprus
relation country
type designation for an administrative territorial entity
['Cyprus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cyprus property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q229
P47
Q1048835
USER
Which political territory has an adjacent border with that administrative territory ?
(c(Q1048835),P47,Q229)
action filter_type
action find
entity Q229
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q229']
SELECT DISTINCT ?a WHERE { resource:Q229 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
Cyprus
action filter_type
action find
entity Cyprus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cyprus']
SELECT DISTINCT ?a WHERE { resource:Cyprus property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q37362
SYSTEM
Akrotiri and Dhekelia
Q37362
(c(Q1048835),P47,Q229)
action filter_type
action find
entity Q229
relation P47
type Q1048835
[ANSWER] has an adjacent border with that administrative territory
[{'concept': 'Q1048835'}, 'P47', 'Q229']
SELECT DISTINCT ?a WHERE { resource:Q229 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
Akrotiri and Dhekelia
Akrotiri and Dhekelia has an adjacent border with that administrative territory
Akrotiri and Dhekelia
action filter_type
action find
entity Cyprus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cyprus']
SELECT DISTINCT ?a WHERE { resource:Cyprus property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37362
P19
Q502895
USER
Which people have place of birth as that political territory ?
(c(Q502895),P19,Q37362)
action filter_type
action find_reverse
entity Q37362
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q37362']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q37362 . ?f rdf:type ontology:Q502895 }
Akrotiri and Dhekelia
action filter_type
action find_reverse
entity Akrotiri and Dhekelia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Akrotiri and Dhekelia']
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Akrotiri_and_Dhekelia . ?f rdf:type ontology:common_name }
[]
common name
Q2553109 Q1903423 Q3177310
SYSTEM
Wayne O'Sullivan, Martin Bell, Jeremy Goss
Q2553109 Q1903423 Q3177310
(c(Q502895),P19,Q37362)
action filter_type
action find_reverse
entity Q37362
relation P19
type Q502895
[ANSWERS] have place of birth as that political territory
[{'concept': 'Q502895'}, 'P19', 'Q37362']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q37362 . ?f rdf:type ontology:Q502895 }
Wayne O'Sullivan Martin Bell Jeremy Goss
Wayne O'Sullivan, Martin Bell and Jeremy Goss have place of birth as that political territory
Wayne O'Sullivan Martin Bell Jeremy Goss
action filter_type
action find_reverse
entity Akrotiri and Dhekelia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Akrotiri and Dhekelia']
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Akrotiri_and_Dhekelia . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2553109
P641
Q349
USER
Which sport was that person a part of ?
(Q2553109,P641,c(Q349))
action filter_type
action find
entity Q2553109
relation P641
type Q349
['Q2553109', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2553109 property:P641 ?j . ?j rdf:type ontology:Q349 }
Wayne O'Sullivan
action filter_type
action find
entity Wayne O'Sullivan
relation sport
type sport
["Wayne O'Sullivan", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Wayne_O'Sullivan property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q3177310
SYSTEM
Did you mean Jeremy Goss ?
Q2553109 Q1903423 Q3177310
(Q2553109,P641,c(Q349)) (Q1903423,P641,c(Q349)) (Q3177310,P641,c(Q349))
[ANSWER]
['Q2553109', 'P641', {'concept': 'Q349'}] ['Q1903423', 'P641', {'concept': 'Q349'}] ['Q3177310', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2553109 property:P641 ?j . ?j rdf:type ontology:Q349 }
Wayne O'Sullivan Martin Bell Jeremy Goss
Did you mean Jeremy Goss ?
Jeremy Goss
["Wayne O'Sullivan", 'sport', {'concept': 'sport'}] ['Martin Bell', 'sport', {'concept': 'sport'}] ['Jeremy Goss', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Wayne_O'Sullivan property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Wayne O'Sullivan. Could you tell me the answer for that?
(Q2553109,P641,c(Q349))
Q2553109
['Q2553109', 'P641', {'concept': 'Q349'}]
["Wayne O'Sullivan", 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q2553109,P641,c(Q349))
action filter_type
action find
entity Q2553109
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q2553109', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2553109 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Wayne O'Sullivan
relation sport
type sport
["Wayne O'Sullivan", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Wayne_O'Sullivan property:sport ?j . ?j rdf:type ontology:sport }
[]