Simple Question (Direct)
Simple Question
Q265778
P27
Q15617994
USER
Which administrative territory does Adam Hammill belong to ?
(Q265778,P27,c(Q15617994))
action filter_type
action find
entity Q265778
relation P27
type Q15617994
['Q265778', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q265778 property:P27 ?h }
Adam Hammill
action filter_type
action find
entity Adam Hammill
relation country of citizenship
type designation for an administrative territorial entity
['Adam Hammill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Adam_Hammill property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q265778,P27,c(Q15617994))
action filter_type
action find
entity Q265778
relation P27
type Q15617994
Adam Hammill belongs to [ANSWER]
['Q265778', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q265778 property:P27 ?h }
United Kingdom
Adam Hammill belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Adam Hammill
relation country of citizenship
type designation for an administrative territorial entity
['Adam Hammill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Adam_Hammill property:country_of_citizenship ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q265778
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q265778
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q265778 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Adam Hammill
action filter_type
action find
entity Adam Hammill
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Adam_Hammill property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q265778
relation P19
type Q56061
That person was born in [ANSWER]
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q265778 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Liverpool
That person was born in Liverpool
Liverpool
action filter_type
action find
entity Adam Hammill
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Adam_Hammill property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q24826 Q6838216
P19
Q502895
USER
Was Mick Head born at that administrative territory ?
(Q6838216,P19,Q24826)
action is_in
entity Q24826
action find
entity Q6838216
relation P19
['Q6838216', 'P19', 'Q24826']
ASK WHERE { resource:Q6838216 property:P19 resource:Q24826 }
Liverpool Mick Head
action is_in
entity Liverpool
action find
entity Mick Head
relation place of birth
['Mick Head', 'place of birth', 'Liverpool']
ASK WHERE { resource:Mick_Head property:place_of_birth resource:Liverpool }
[]
common name
SYSTEM
YES
(Q6838216,P19,Q24826)
action is_in
entity Q24826
action find
entity Q6838216
relation P19
[ANSWER]
['Q6838216', 'P19', 'Q24826']
ASK WHERE { resource:Q6838216 property:P19 resource:Q24826 }
Yes
action is_in
entity Liverpool
action find
entity Mick Head
relation place of birth
['Mick Head', 'place of birth', 'Liverpool']
ASK WHERE { resource:Mick_Head property:place_of_birth resource:Liverpool }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q265778 Q2736 Q2701632
P641
Q349
USER
Is Adam Hammill involved in playing association football and muggle quidditch ?
(Q265778,P641,Q2736) (Q265778,P641,Q2701632)
action is_in
entity Q265778
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q2701632
relation P641
['Q265778', 'P641', 'Q2736'] ['Q265778', 'P641', 'Q2701632']
ASK WHERE { resource:Q265778 property:P641 resource:Q2701632 . resource:Q265778 property:P641 resource:Q2736 }
Adam Hammill association football muggle quidditch
action is_in
entity Adam Hammill
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity muggle quidditch
relation sport
['Adam Hammill', 'sport', 'association football'] ['Adam Hammill', 'sport', 'muggle quidditch']
ASK WHERE { resource:Adam_Hammill property:sport resource:muggle_quidditch . resource:Adam_Hammill property:sport resource:association_football }
[]
sport
SYSTEM
YES and NO respectively
(Q265778,P641,Q2736) (Q265778,P641,Q2701632)
action is_in
entity Q265778
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q2701632
relation P641
[ANSWER]
['Q265778', 'P641', 'Q2736'] ['Q265778', 'P641', 'Q2701632']
ASK WHERE { resource:Q265778 property:P641 resource:Q2701632 . resource:Q265778 property:P641 resource:Q2736 }
YES and NO respectively
action is_in
entity Adam Hammill
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity muggle quidditch
relation sport
['Adam Hammill', 'sport', 'association football'] ['Adam Hammill', 'sport', 'muggle quidditch']
ASK WHERE { resource:Adam_Hammill property:sport resource:muggle_quidditch . resource:Adam_Hammill property:sport resource:association_football }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24826 Q12668306
P190
Q56061
USER
Is Papartynė the sister city of Liverpool ?
(Q24826,P190,Q12668306)
action is_in
entity Q12668306
action find
entity Q24826
relation P190
['Q24826', 'P190', 'Q12668306']
ASK WHERE { resource:Q24826 property:P190 resource:Q12668306 }
Liverpool Papartynė
action is_in
entity Papartynė
action find
entity Liverpool
relation sister city
['Liverpool', 'sister city', 'Papartynė']
ASK WHERE { resource:Liverpool property:sister_city resource:Papartynė }
[]
administrative territorial entity
SYSTEM
NO
(Q24826,P190,Q12668306)
action is_in
entity Q12668306
action find
entity Q24826
relation P190
[ANSWER]
['Q24826', 'P190', 'Q12668306']
ASK WHERE { resource:Q24826 property:P190 resource:Q12668306 }
No
action is_in
entity Papartynė
action find
entity Liverpool
relation sister city
['Liverpool', 'sister city', 'Papartynė']
ASK WHERE { resource:Liverpool property:sister_city resource:Papartynė }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6773102 Q145
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United Kingdom or do Mars Area High School belong to ?
OR((Q145,P530,c(Q15617994)), (Q6773102,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q6773102
relation P17
type Q15617994
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q6773102', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q145 property:P530 ?x } UNION { resource:Q6773102 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Mars Area High School United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Mars Area High School
relation country
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mars Area High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:United_Kingdom property:diplomatic_relation ?x } UNION { resource:Mars_Area_High_School property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q805 Q801 Q155 Q30 Q37 Q403 Q38
SYSTEM
France, Yemen, Israel, Brazil, United States of America, Lithuania, Serbia, Italy
Q142 Q805 Q801 Q155 Q30 Q37 Q403 Q38
OR((Q145,P530,c(Q15617994)), (Q6773102,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q6773102
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with United Kingdom or do Mars Area High School belong to
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q6773102', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q145 property:P530 ?x } UNION { resource:Q6773102 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France Yemen Israel Brazil United States of America Lithuania Serbia Italy
France, Yemen, Israel, Brazil, United States of America, Lithuania, Serbia and Italy have diplomatic relationships with United Kingdom or do Mars Area High School belong to
France Yemen Israel Brazil United States of America Lithuania Serbia Italy
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Mars Area High School
relation country
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mars Area High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:United_Kingdom property:diplomatic_relation ?x } UNION { resource:Mars_Area_High_School property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5981829 Q265778
P641
Q349
USER
Which sports did Adam Hammill and Lucas Abud participate in ?
AND((Q265778,P641,c(Q349)), (Q5981829,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q265778
relation P641
action find
entity Q5981829
relation P641
type Q349
{'AND': [['Q265778', 'P641', {'concept': 'Q349'}], ['Q5981829', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { resource:Q265778 property:P641 ?y . resource:Q5981829 property:P641 ?y . ?y rdf:type ontology:Q349 }
Lucas Abud Adam Hammill
action filter_type
action intersection
action find
entity Adam Hammill
relation sport
action find
entity Lucas Abud
relation sport
type sport
{'AND': [['Adam Hammill', 'sport', {'concept': 'sport'}], ['Lucas Abud', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { resource:Adam_Hammill property:sport ?y . resource:Lucas_Abud property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q265778,P641,c(Q349)), (Q5981829,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q265778
relation P641
action find
entity Q5981829
relation P641
type Q349
Adam Hammill and Lucas Abud participated in [ANSWER]
{'AND': [['Q265778', 'P641', {'concept': 'Q349'}], ['Q5981829', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?y WHERE { resource:Q265778 property:P641 ?y . resource:Q5981829 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Adam Hammill and Lucas Abud participated in association football
association football
action filter_type
action intersection
action find
entity Adam Hammill
relation sport
action find
entity Lucas Abud
relation sport
type sport
{'AND': [['Adam Hammill', 'sport', {'concept': 'sport'}], ['Lucas Abud', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?y WHERE { resource:Adam_Hammill property:sport ?y . resource:Lucas_Abud property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5981829
P1412
Q34770
USER
Which language can Lucas Abud read?
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q5981829
relation P1412
type Q34770
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q5981829 property:P1412 ?p }
Lucas Abud
action filter_type
action find
entity Lucas Abud
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Lucas_Abud property:languages_spoken,_written_or_signed ?p }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q5981829
relation P1412
type Q34770
Lucas Abud can read in [ANSWER]
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q5981829 property:P1412 ?p }
Spanish
Lucas Abud can read in Spanish
Spanish
action filter_type
action find
entity Lucas Abud
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Lucas_Abud property:languages_spoken,_written_or_signed ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P37
Q1048835
USER
Which political territories are that one the official language of ?
(c(Q1048835),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', 'Q1321']
SELECT DISTINCT ?r WHERE { ?r property:P37 resource:Q1321 . ?r rdf:type ontology:Q1048835 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', 'Spanish']
SELECT DISTINCT ?r WHERE { ?r property:official_language resource:Spanish . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q5705 Q757 Q1631311
SYSTEM
Catalonia, Saint Vincent and the Grenadines, Cuéllar
Q15601 Q52626 Q1769772 Q1628531 Q649612 Q5705 Q1631311 Q1644430 Q1771153 Q4474 Q757 Q686790 Q624511 Q1444150 Q1907203 Q917883 Q5720
(c(Q1048835),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q1048835
[ANSWERS] are that one the official language of
[{'concept': 'Q1048835'}, 'P37', 'Q1321']
SELECT DISTINCT ?r WHERE { ?r property:P37 resource:Q1321 . ?r rdf:type ontology:Q1048835 }
Corbera de Llobregat Formentera Bierge Quintanar de la Orden Coca, Segovia Catalonia Cuéllar Monreal del Campo Albuixech Ortuella Saint Vincent and the Grenadines Mediona Aracena Alboloduy San Miguel del Arroyo Molina de Segura Valencian Country
Catalonia, Saint Vincent and the Grenadines and Cuéllar are that one the official language of
Catalonia Saint Vincent and the Grenadines Cuéllar
action filter_type
action find_reverse
entity Spanish
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', 'Spanish']
SELECT DISTINCT ?r WHERE { ?r property:official_language resource:Spanish . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5705 Q757 Q1631311
P37
Q34770
USER
Which languages are the official languages of Catalonia, Saint Vincent and the Grenadines and Cuéllar ?
(Q5705,P37,c(Q34770)) (Q757,P37,c(Q34770)) (Q1631311,P37,c(Q34770))
action union
action filter_type
action find
entity Q5705
relation P37
type Q34770
action filter_type
action find
entity Q757
relation P37
type Q34770
action filter_type
action find
entity Q1631311
relation P37
type Q34770
['Q5705', 'P37', {'concept': 'Q34770'}] ['Q757', 'P37', {'concept': 'Q34770'}] ['Q1631311', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?e ) { ( resource:Q5705 ) ( resource:Q757 ) } . ?e property:P37 ?b }
Catalonia Saint Vincent and the Grenadines Cuéllar
action union
action filter_type
action find
entity Catalonia
relation official language
type language
action filter_type
action find
entity Saint Vincent and the Grenadines
relation official language
type language
action filter_type
action find
entity Cuéllar
relation official language
type language
['Catalonia', 'official language', {'concept': 'language'}] ['Saint Vincent and the Grenadines', 'official language', {'concept': 'language'}] ['Cuéllar', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?e ) { ( resource:Catalonia ) ( resource:Saint_Vincent_and_the_Grenadines ) } . ?e property:official_language ?b }
[]
language
Q1860 Q1321 Q1321
SYSTEM
English for 1st, Spanish for 2nd, 3rd
Q1321 Q1860 Q1321 Q1321
(Q5705,P37,c(Q34770)) (Q757,P37,c(Q34770)) (Q1631311,P37,c(Q34770))
action union
action filter_type
action find
entity Q5705
relation P37
type Q34770
action filter_type
action find
entity Q757
relation P37
type Q34770
action filter_type
action find
entity Q1631311
relation P37
type Q34770
[ANSWERS]
['Q5705', 'P37', {'concept': 'Q34770'}] ['Q757', 'P37', {'concept': 'Q34770'}] ['Q1631311', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?e ) { ( resource:Q5705 ) ( resource:Q757 ) } . ?e property:P37 ?b }
Spanish English Spanish Spanish
English, Spanish and Spanish are the official languages of Catalonia, Saint Vincent and the Grenadines and Cuéllar
English Spanish Spanish
action union
action filter_type
action find
entity Catalonia
relation official language
type language
action filter_type
action find
entity Saint Vincent and the Grenadines
relation official language
type language
action filter_type
action find
entity Cuéllar
relation official language
type language
['Catalonia', 'official language', {'concept': 'language'}] ['Saint Vincent and the Grenadines', 'official language', {'concept': 'language'}] ['Cuéllar', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?e ) { ( resource:Catalonia ) ( resource:Saint_Vincent_and_the_Grenadines ) } . ?e property:official_language ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5705
P417
Q2160811
USER
Which artistic theme is the patron saint of Catalonia ?
(Q5705,P417,c(Q2160811))
action filter_type
action find
entity Q5705
relation P417
type Q2160811
['Q5705', 'P417', {'concept': 'Q2160811'}]
SELECT DISTINCT ?e WHERE { resource:Q5705 property:P417 ?e . ?e rdf:type ontology:Q2160811 }
Catalonia
action filter_type
action find
entity Catalonia
relation patron saint
type artistic theme
['Catalonia', 'patron saint', {'concept': 'artistic theme'}]
SELECT DISTINCT ?e WHERE { resource:Catalonia property:patron_saint ?e . ?e rdf:type ontology:artistic_theme }
[]
artistic theme
Q301779
SYSTEM
Virgin of Montserrat
Q301779
(Q5705,P417,c(Q2160811))
action filter_type
action find
entity Q5705
relation P417
type Q2160811
[ANSWER] is the patron saint of Catalonia
['Q5705', 'P417', {'concept': 'Q2160811'}]
SELECT DISTINCT ?e WHERE { resource:Q5705 property:P417 ?e . ?e rdf:type ontology:Q2160811 }
Virgin of Montserrat
Virgin of Montserrat is the patron saint of Catalonia
Virgin of Montserrat
action filter_type
action find
entity Catalonia
relation patron saint
type artistic theme
['Catalonia', 'patron saint', {'concept': 'artistic theme'}]
SELECT DISTINCT ?e WHERE { resource:Catalonia property:patron_saint ?e . ?e rdf:type ontology:artistic_theme }
[]