Simple Question (Direct)
Simple Question
Q23041624
P2416
Q31629
USER
Which type of sport was Jacinto Navarrete a contestant of ?
(Q23041624,P2416,c(Q31629))
action filter_type
action find
entity Q23041624
relation P2416
type Q31629
['Q23041624', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q23041624 property:P2416 ?j . ?j rdf:type ontology:Q31629 }
Jacinto Navarrete
action filter_type
action find
entity Jacinto Navarrete
relation sports discipline competed in
type type of sport
['Jacinto Navarrete', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Jacinto_Navarrete property:sports_discipline_competed_in ?j . ?j rdf:type ontology:type_of_sport }
[]
type of sport
Q191691
SYSTEM
1500 metres
Q191691
(Q23041624,P2416,c(Q31629))
action filter_type
action find
entity Q23041624
relation P2416
type Q31629
[ANSWER] was Jacinto Navarrete a contestant of
['Q23041624', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q23041624 property:P2416 ?j . ?j rdf:type ontology:Q31629 }
1500 metres
1500 metres was Jacinto Navarrete a contestant of
1500 metres
action filter_type
action find
entity Jacinto Navarrete
relation sports discipline competed in
type type of sport
['Jacinto Navarrete', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Jacinto_Navarrete property:sports_discipline_competed_in ?j . ?j rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191691
P101
Q502895
USER
Which people work in the domain of that type of sport ?
(c(Q502895),P101,Q191691)
action filter_type
action find_reverse
entity Q191691
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q191691']
SELECT DISTINCT ?k WHERE { ?k property:P101 resource:Q191691 . ?k rdf:type ontology:Q502895 }
1500 metres
action filter_type
action find_reverse
entity 1500 metres
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', '1500 metres']
SELECT DISTINCT ?k WHERE { ?k property:field_of_work resource:1500_metres . ?k rdf:type ontology:common_name }
[]
common name
Q15864937 Q52659 Q21777832
SYSTEM
Paul Donovan, Peter Snell, Carol Galea
Q20966282 Q21606434 Q4978587 Q21675005 Q52659 Q15864937 Q21777832 Q21777839 Q3561782 Q21558328 Q15728084 Q6076770 Q21623144 Q16215768 Q21858397 Q16210747 Q16212236 Q1331837 Q21705950
(c(Q502895),P101,Q191691)
action filter_type
action find_reverse
entity Q191691
relation P101
type Q502895
[ANSWERS] work in the domain of that type of sport
[{'concept': 'Q502895'}, 'P101', 'Q191691']
SELECT DISTINCT ?k WHERE { ?k property:P101 resource:Q191691 . ?k rdf:type ontology:Q502895 }
Gerald Giraldo Ovidiu Olteanu Jyotirmoyee Sikdar Sonia McGeorge Peter Snell Paul Donovan Carol Galea Robyn Meagher Vladimir Graudyn Lim Chun-ae Tamara Sorokina Johan Rogestedt Jessica Tonn Pedro Antonio Esteso Naseer Ismail Jason Lunn Sunita Rani Ellen Kiessling Angelika Zauber
Paul Donovan, Peter Snell and Carol Galea work in the domain of that type of sport
Paul Donovan Peter Snell Carol Galea
action filter_type
action find_reverse
entity 1500 metres
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', '1500 metres']
SELECT DISTINCT ?k WHERE { ?k property:field_of_work resource:1500_metres . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21777832
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q21777832,P27,c(Q15617994))
action filter_type
action find
entity Q21777832
relation P27
type Q15617994
['Q21777832', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q21777832 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Carol Galea
action filter_type
action find
entity Carol Galea
relation country of citizenship
type designation for an administrative territorial entity
['Carol Galea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Carol_Galea property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q52659
SYSTEM
Did you mean Peter Snell ?
Q15864937 Q52659 Q21777832
(Q15864937,P27,c(Q15617994)) (Q52659,P27,c(Q15617994)) (Q21777832,P27,c(Q15617994))
[ANSWER]
['Q15864937', 'P27', {'concept': 'Q15617994'}] ['Q52659', 'P27', {'concept': 'Q15617994'}] ['Q21777832', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q21777832 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Paul Donovan Peter Snell Carol Galea
Did you mean Peter Snell ?
Peter Snell
['Paul Donovan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Peter Snell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carol Galea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Carol_Galea property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Carol Galea. Could you tell me the answer for that?
(Q21777832,P27,c(Q15617994))
Q21777832
['Q21777832', 'P27', {'concept': 'Q15617994'}]
['Carol Galea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q233
SYSTEM
Malta
Q233
(Q21777832,P27,c(Q15617994))
action filter_type
action find
entity Q21777832
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q21777832', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q21777832 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Malta
That person belongs to a Malta
Malta
action filter_type
action find
entity Carol Galea
relation country of citizenship
type designation for an administrative territorial entity
['Carol Galea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Carol_Galea property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atleast 32 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?r >= 32 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?r >= 32 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?r >= 32 ) }
Germany Australia Canada
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?r >= 32 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1388000 Q23041624
P1532 P17
Q15617994
USER
Which administrative territories did Jacinto Navarrete play for or do Madinat Jumeirah belong to ?
OR((Q23041624,P1532,c(Q15617994)), (Q1388000,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q23041624
relation P1532
action find
entity Q1388000
relation P17
type Q15617994
{'OR': [['Q23041624', 'P1532', {'concept': 'Q15617994'}], ['Q1388000', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q23041624 property:P1532 ?y } UNION { resource:Q1388000 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Madinat Jumeirah Jacinto Navarrete
action filter_type
action union
action find
entity Jacinto Navarrete
relation country for sport
action find
entity Madinat Jumeirah
relation country
type designation for an administrative territorial entity
{'OR': [['Jacinto Navarrete', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Madinat Jumeirah', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jacinto_Navarrete property:country_for_sport ?y } UNION { resource:Madinat_Jumeirah property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q878
SYSTEM
Colombia, United Arab Emirates
Q739 Q878
OR((Q23041624,P1532,c(Q15617994)), (Q1388000,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q23041624
relation P1532
action find
entity Q1388000
relation P17
type Q15617994
Jacinto Navarrete played in [ANSWERS]
{'OR': [['Q23041624', 'P1532', {'concept': 'Q15617994'}], ['Q1388000', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q23041624 property:P1532 ?y } UNION { resource:Q1388000 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Colombia United Arab Emirates
Jacinto Navarrete played in Colombia and United Arab Emirates
Colombia United Arab Emirates
action filter_type
action union
action find
entity Jacinto Navarrete
relation country for sport
action find
entity Madinat Jumeirah
relation country
type designation for an administrative territorial entity
{'OR': [['Jacinto Navarrete', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Madinat Jumeirah', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jacinto_Navarrete property:country_for_sport ?y } UNION { resource:Madinat_Jumeirah property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have tactful political relations with those administrative territories ?
(Q183,P530,Q739) (Q183,P530,Q878)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q739'] ['Q183', 'P530', 'Q878']
ASK WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q878 ) } . resource:Q183 property:P530 ?u }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Colombia'] ['Germany', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:United_Arab_Emirates ) } . resource:Germany property:diplomatic_relation ?u }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q739) (Q183,P530,Q878)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q739'] ['Q183', 'P530', 'Q878']
ASK WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q878 ) } . resource:Q183 property:P530 ?u }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Colombia'] ['Germany', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:United_Arab_Emirates ) } . resource:Germany property:diplomatic_relation ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21777832 Q191691
P101
Q31629
USER
Does Carol Galea belong to 1500 metres ?
(Q21777832,P101,Q191691)
action is_in
entity Q191691
action find
entity Q21777832
relation P101
['Q21777832', 'P101', 'Q191691']
ASK WHERE { resource:Q21777832 property:P101 resource:Q191691 }
Carol Galea 1500 metres
action is_in
entity 1500 metres
action find
entity Carol Galea
relation field of work
['Carol Galea', 'field of work', '1500 metres']
ASK WHERE { resource:Carol_Galea property:field_of_work resource:1500_metres }
[]
type of sport
SYSTEM
YES
(Q21777832,P101,Q191691)
action is_in
entity Q191691
action find
entity Q21777832
relation P101
[ANSWER]
['Q21777832', 'P101', 'Q191691']
ASK WHERE { resource:Q21777832 property:P101 resource:Q191691 }
Yes
action is_in
entity 1500 metres
action find
entity Carol Galea
relation field of work
['Carol Galea', 'field of work', '1500 metres']
ASK WHERE { resource:Carol_Galea property:field_of_work resource:1500_metres }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q55488 Q41176
USER
How many administrative territories are approximately 1 railway stations and buildings named after ?
(c(Q55488)|c(Q41176),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q41176
value 1
[[{'concept': 'Q55488'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?p WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q41176 ) ( ontology:Q55488 ) } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type building
value 1
[[{'concept': 'railway station'}, {'concept': 'building'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?p WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:building ) ( ontology:railway_station ) } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
designation for an administrative territorial entity railway station building
SYSTEM
25
Q414 Q1279 Q42777 Q6274 Q43055 Q42509 Q279373 Q3697039 Q58457 Q185619 Q3926245 Q697 Q77 Q42993 Q42996 Q42419 Q29 Q23178 Q2790 Q393594 Q41003 Q3940173 Q4066675 Q42192 Q42441
(c(Q55488)|c(Q41176),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q41176
value 1
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?p WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q41176 ) ( ontology:Q55488 ) } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
Argentina Marche Abbiategrasso Sondrio Gorgonzola Bussero Rovereto Crescenzago Caiazzo Cernusco sul Naviglio QT8 Nauru Uruguay Gessate Pero Vimodrone Spain Bisceglie Udine Agia Paraskevi Palestro Rogoredo Annino San Donato Milanese Cassina de' Pecchi
25
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type building
value 1
[[{'concept': 'railway station'}, {'concept': 'building'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?p WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:building ) ( ontology:railway_station ) } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q233
P551
Q502895
USER
Which person has residence at Malta ?
(c(Q502895),P551,Q233)
action filter_type
action find_reverse
entity Q233
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q233']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q233 . ?o rdf:type ontology:Q502895 }
Malta
action filter_type
action find_reverse
entity Malta
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Malta']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Malta . ?o rdf:type ontology:common_name }
[]
common name
Q893753
SYSTEM
Boris Pašanski
Q893753
(c(Q502895),P551,Q233)
action filter_type
action find_reverse
entity Q233
relation P551
type Q502895
[ANSWER] has residence at Malta
[{'concept': 'Q502895'}, 'P551', 'Q233']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q233 . ?o rdf:type ontology:Q502895 }
Boris Pašanski
Boris Pašanski has residence at Malta
Boris Pašanski
action filter_type
action find_reverse
entity Malta
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Malta']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Malta . ?o rdf:type ontology:common_name }
[]