Simple Question (Direct)
Simple Question
Q3304798
P20
Q1496967
USER
Where did Bernard I, Count of Besalú expire ?
(Q3304798,P20,c(Q1496967))
action filter_type
action find
entity Q3304798
relation P20
type Q1496967
['Q3304798', 'P20', {'concept': 'Q1496967'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1496967 . resource:Q3304798 property:P20 ?l }
Bernard I, Count of Besalú
action filter_type
action find
entity Bernard I, Count of Besalú
relation place of death
type territorial entity
['Bernard I, Count of Besalú', 'place of death', {'concept': 'territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:territorial_entity . resource:Bernard_I,_Count_of_Besalú property:place_of_death ?l }
[]
territorial entity
Q101081
SYSTEM
Provence
Q101081
(Q3304798,P20,c(Q1496967))
action filter_type
action find
entity Q3304798
relation P20
type Q1496967
Bernard I , Count of Besalú expired in [ANSWER]
['Q3304798', 'P20', {'concept': 'Q1496967'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1496967 . resource:Q3304798 property:P20 ?l }
Provence
Bernard I , Count of Besalú expired in Provence
Provence
action filter_type
action find
entity Bernard I, Count of Besalú
relation place of death
type territorial entity
['Bernard I, Count of Besalú', 'place of death', {'concept': 'territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:territorial_entity . resource:Bernard_I,_Count_of_Besalú property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q101081
P276
Q82794
USER
Where can that territory be found ?
(Q101081,P276,c(Q82794))
action filter_type
action find
entity Q101081
relation P276
type Q82794
['Q101081', 'P276', {'concept': 'Q82794'}]
SELECT DISTINCT ?l WHERE { resource:Q101081 property:P276 ?l . ?l rdf:type ontology:Q82794 }
Provence
action filter_type
action find
entity Provence
relation location
type geographic region
['Provence', 'location', {'concept': 'geographic region'}]
SELECT DISTINCT ?l WHERE { resource:Provence property:location ?l . ?l rdf:type ontology:geographic_region }
[]
geographic region
Q104285
SYSTEM
Occitania
Q104285
(Q101081,P276,c(Q82794))
action filter_type
action find
entity Q101081
relation P276
type Q82794
That territory can be found in [ANSWER]
['Q101081', 'P276', {'concept': 'Q82794'}]
SELECT DISTINCT ?l WHERE { resource:Q101081 property:P276 ?l . ?l rdf:type ontology:Q82794 }
Occitania
That territory can be found in Occitania
Occitania
action filter_type
action find
entity Provence
relation location
type geographic region
['Provence', 'location', {'concept': 'geographic region'}]
SELECT DISTINCT ?l WHERE { resource:Provence property:location ?l . ?l rdf:type ontology:geographic_region }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q104285 Q7880 Q6382794
P36
Q56061
USER
Does that geographic region have Toulouse and Keeley Lake, Saskatchewan as its capital ?
(Q104285,P36,Q7880) (Q104285,P36,Q6382794)
action is_in
entity Q104285
action intersection
action find_reverse
entity Q7880
relation P36
action find_reverse
entity Q6382794
relation P36
['Q104285', 'P36', 'Q7880'] ['Q104285', 'P36', 'Q6382794']
ASK WHERE { resource:Q104285 property:P36 resource:Q7880 . resource:Q104285 property:P36 resource:Q6382794 }
Occitania Toulouse Keeley Lake, Saskatchewan
action is_in
entity Occitania
action intersection
action find_reverse
entity Toulouse
relation capital
action find_reverse
entity Keeley Lake, Saskatchewan
relation capital
['Occitania', 'capital', 'Toulouse'] ['Occitania', 'capital', 'Keeley Lake, Saskatchewan']
ASK WHERE { resource:Occitania property:capital resource:Toulouse . resource:Occitania property:capital resource:Keeley_Lake,_Saskatchewan }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q104285,P36,Q7880) (Q104285,P36,Q6382794)
action is_in
entity Q104285
action intersection
action find_reverse
entity Q7880
relation P36
action find_reverse
entity Q6382794
relation P36
[ANSWER]
['Q104285', 'P36', 'Q7880'] ['Q104285', 'P36', 'Q6382794']
ASK WHERE { resource:Q104285 property:P36 resource:Q7880 . resource:Q104285 property:P36 resource:Q6382794 }
YES and NO respectively
action is_in
entity Occitania
action intersection
action find_reverse
entity Toulouse
relation capital
action find_reverse
entity Keeley Lake, Saskatchewan
relation capital
['Occitania', 'capital', 'Toulouse'] ['Occitania', 'capital', 'Keeley Lake, Saskatchewan']
ASK WHERE { resource:Occitania property:capital resource:Toulouse . resource:Occitania property:capital resource:Keeley_Lake,_Saskatchewan }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q82794 Q15617994 Q14524493
USER
Which geographic regions are the location where atleast 5 administrative territories and terrains are located ?
(c(Q15617994)|c(Q14524493),P706,c(Q82794))
action atleast
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
action find_reverse_tuple_counts
relation P706
type Q82794
type Q14524493
value 5
[[{'concept': 'Q15617994'}, {'concept': 'Q14524493'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { { ?l rdf:type ontology:Q82794 . ?r rdf:type ontology:Q15617994 . ?r property:P706 ?l } UNION { ?r property:P706 ?l . ?l rdf:type ontology:Q82794 . ?r rdf:type ontology:Q14524493 } } GROUP BY ?l } . FILTER ( ?k >= 5 ) }
action atleast
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type terrain
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'terrain'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { { ?l rdf:type ontology:geographic_region . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:located_on_terrain_feature ?l } UNION { ?r property:located_on_terrain_feature ?l . ?l rdf:type ontology:geographic_region . ?r rdf:type ontology:terrain } } GROUP BY ?l } . FILTER ( ?k >= 5 ) }
[]
geographic region designation for an administrative territorial entity terrain
Q897389 Q2148017
SYSTEM
Altmühltal, Rheinwesterwälder Vulkanrücken
Q897389 Q2148017
(c(Q15617994)|c(Q14524493),P706,c(Q82794))
action atleast
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
action find_reverse_tuple_counts
relation P706
type Q82794
type Q14524493
value 5
[ANSWERS] are the location where atleast 5 administrative territories and terrains are located
[[{'concept': 'Q15617994'}, {'concept': 'Q14524493'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { { ?l rdf:type ontology:Q82794 . ?r rdf:type ontology:Q15617994 . ?r property:P706 ?l } UNION { ?r property:P706 ?l . ?l rdf:type ontology:Q82794 . ?r rdf:type ontology:Q14524493 } } GROUP BY ?l } . FILTER ( ?k >= 5 ) }
Altmühltal Rheinwesterwälder Vulkanrücken
Altmühltal and Rheinwesterwälder Vulkanrücken are the location where atleast 5 administrative territories and terrains are located
Altmühltal Rheinwesterwälder Vulkanrücken
action atleast
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type terrain
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'terrain'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?k ) WHERE { { ?l rdf:type ontology:geographic_region . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:located_on_terrain_feature ?l } UNION { ?r property:located_on_terrain_feature ?l . ?l rdf:type ontology:geographic_region . ?r rdf:type ontology:terrain } } GROUP BY ?l } . FILTER ( ?k >= 5 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1071489 Q7880
P47
Q20667921
USER
Which french administrative divisions are next to the border of Toulouse or Le Grand-Celland ?
OR((c(Q20667921),P47,Q7880), (c(Q20667921),P47,Q1071489))
action filter_type
action union
action find_reverse
entity Q7880
relation P47
action find_reverse
entity Q1071489
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q7880'], [{'concept': 'Q20667921'}, 'P47', 'Q1071489']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . { { ?y property:P47 resource:Q7880 } UNION { ?y property:P47 resource:Q1071489 } } }
Le Grand-Celland Toulouse
action filter_type
action union
action find_reverse
entity Toulouse
relation shares border with
action find_reverse
entity Le Grand-Celland
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Toulouse'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Grand-Celland']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . { { ?y property:shares_border_with resource:Toulouse } UNION { ?y property:shares_border_with resource:Le_Grand-Celland } } }
[]
type of french administrative division
Q271068 Q1440905 Q763443 Q1344983 Q775841 Q1418996 Q1047171 Q750936 Q318071 Q844996
SYSTEM
Some of them are Blagnac, Ramonville-Saint-Agne, Isigny-le-Buat, Aucamville, Le Mesnil-Ozenne, L'Union, Balma, Brécey, Colomiers, Vieille-Toulouse
Q1429082 Q271068 Q1467149 Q735651 Q775841 Q1418996 Q318071 Q1062662 Q1345048 Q763443 Q1344983 Q1428306 Q204937 Q1440905 Q524043 Q1062368 Q1371171 Q1047171 Q750936 Q980962 Q328022 Q844996 Q632107
OR((c(Q20667921),P47,Q7880), (c(Q20667921),P47,Q1071489))
action filter_type
action union
action find_reverse
entity Q7880
relation P47
action find_reverse
entity Q1071489
relation P47
type Q20667921
[ANSWERS] are next to the border of Toulouse or Le Grand-Celland
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q7880'], [{'concept': 'Q20667921'}, 'P47', 'Q1071489']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . { { ?y property:P47 resource:Q7880 } UNION { ?y property:P47 resource:Q1071489 } } }
Saint-Orens-de-Gameville Blagnac Labège Saint-Ovin Le Mesnil-Ozenne L'Union Colomiers Reffuveille Quint-Fonsegrives Isigny-le-Buat Aucamville Pechbusque Fenouillet Ramonville-Saint-Agne Launaguet Le Petit-Celland Portet-sur-Garonne Balma Brécey La Chapelle-Urée Tournefeuille Vieille-Toulouse Cugnaux
Blagnac, Ramonville-Saint-Agne, Isigny-le-Buat, Aucamville, Le Mesnil-Ozenne, L'Union, Balma, Brécey, Colomiers and Vieille-Toulouse are next to the border of Toulouse or Le Grand-Celland
Blagnac Ramonville-Saint-Agne Isigny-le-Buat Aucamville Le Mesnil-Ozenne L'Union Balma Brécey Colomiers Vieille-Toulouse
action filter_type
action union
action find_reverse
entity Toulouse
relation shares border with
action find_reverse
entity Le Grand-Celland
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Toulouse'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Grand-Celland']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . { { ?y property:shares_border_with resource:Toulouse } UNION { ?y property:shares_border_with resource:Le_Grand-Celland } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6176081 Q3304798
P22
Q502895
USER
Which people were the father of Bernard I, Count of Besalú or Jeffrey Jordan ?
OR((Q3304798,P22,c(Q502895)), (Q6176081,P22,c(Q502895)))
action filter_type
action union
action find
entity Q3304798
relation P22
action find
entity Q6176081
relation P22
type Q502895
{'OR': [['Q3304798', 'P22', {'concept': 'Q502895'}], ['Q6176081', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { ?s property:P22 ?h . VALUES ( ?s ) { ( resource:Q3304798 ) ( resource:Q6176081 ) } } . ?h rdf:type ontology:Q502895 }
Jeffrey Jordan Bernard I, Count of Besalú
action filter_type
action union
action find
entity Bernard I, Count of Besalú
relation father
action find
entity Jeffrey Jordan
relation father
type common name
{'OR': [['Bernard I, Count of Besalú', 'father', {'concept': 'common name'}], ['Jeffrey Jordan', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { ?s property:father ?h . VALUES ( ?s ) { ( resource:Bernard_I,_Count_of_Besalú ) ( resource:Jeffrey_Jordan ) } } . ?h rdf:type ontology:common_name }
[]
common name
Q41421 Q2499376
SYSTEM
Michael Jordan, Oliba Cabreta
Q41421 Q2499376
OR((Q3304798,P22,c(Q502895)), (Q6176081,P22,c(Q502895)))
action filter_type
action union
action find
entity Q3304798
relation P22
action find
entity Q6176081
relation P22
type Q502895
[ANSWERS] were the father of Bernard I, Count of Besalú or Jeffrey Jordan
{'OR': [['Q3304798', 'P22', {'concept': 'Q502895'}], ['Q6176081', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { ?s property:P22 ?h . VALUES ( ?s ) { ( resource:Q3304798 ) ( resource:Q6176081 ) } } . ?h rdf:type ontology:Q502895 }
Michael Jordan Oliba Cabreta
Michael Jordan and Oliba Cabreta were the father of Bernard I, Count of Besalú or Jeffrey Jordan
Michael Jordan Oliba Cabreta
action filter_type
action union
action find
entity Bernard I, Count of Besalú
relation father
action find
entity Jeffrey Jordan
relation father
type common name
{'OR': [['Bernard I, Count of Besalú', 'father', {'concept': 'common name'}], ['Jeffrey Jordan', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { ?s property:father ?h . VALUES ( ?s ) { ( resource:Bernard_I,_Count_of_Besalú ) ( resource:Jeffrey_Jordan ) } } . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q41421 Q2499376
P22
Q502895
USER
Which people have those ones as father ?
(c(Q502895),P22,Q41421) (c(Q502895),P22,Q2499376)
action filter_type
action find_reverse
entity prev_answer
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q41421'] [{'concept': 'Q502895'}, 'P22', 'Q2499376']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q41421 ) ( resource:Q2499376 ) } . ?x property:P22 ?z }
Michael Jordan Oliba Cabreta
action filter_type
action find_reverse
entity prev_answer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Michael Jordan'] [{'concept': 'common name'}, 'father', 'Oliba Cabreta']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Michael_Jordan ) ( resource:Oliba_Cabreta ) } . ?x property:father ?z }
[]
common name
Q1974868 Q6758256 Q6176081
SYSTEM
Abbot Oliba, Marcus Jordan, Jeffrey Jordan
Q26220955 Q26220954 Q6758256 Q6176081 Q1370600 Q3304798 Q1974868
(c(Q502895),P22,Q41421) (c(Q502895),P22,Q2499376)
action filter_type
action find_reverse
entity prev_answer
relation P22
type Q502895
[ANSWERS] have those ones as father
[{'concept': 'Q502895'}, 'P22', 'Q41421'] [{'concept': 'Q502895'}, 'P22', 'Q2499376']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q41421 ) ( resource:Q2499376 ) } . ?x property:P22 ?z }
Victoria Jordan Ysabel Jordan Marcus Jordan Jeffrey Jordan Wifred II, Count of Cerdanya Bernard I, Count of Besalú Abbot Oliba
Abbot Oliba, Marcus Jordan and Jeffrey Jordan have those ones as father
Abbot Oliba Marcus Jordan Jeffrey Jordan
action filter_type
action find_reverse
entity prev_answer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Michael Jordan'] [{'concept': 'common name'}, 'father', 'Oliba Cabreta']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Michael_Jordan ) ( resource:Oliba_Cabreta ) } . ?x property:father ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1974868 Q6758256 Q6176081
P21
Q290
USER
What are the sex of Abbot Oliba, Marcus Jordan and Jeffrey Jordan ?
(Q1974868,P21,c(Q290)) (Q6758256,P21,c(Q290)) (Q6176081,P21,c(Q290))
action union
action filter_type
action find
entity Q1974868
relation P21
type Q290
action filter_type
action find
entity Q6758256
relation P21
type Q290
action filter_type
action find
entity Q6176081
relation P21
type Q290
['Q1974868', 'P21', {'concept': 'Q290'}] ['Q6758256', 'P21', {'concept': 'Q290'}] ['Q6176081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { resource:Q1974868 property:P21 ?c . ?c rdf:type ontology:Q290 } UNION { resource:Q6758256 property:P21 ?c . ?c rdf:type ontology:Q290 } }
Abbot Oliba Marcus Jordan Jeffrey Jordan
action union
action filter_type
action find
entity Abbot Oliba
relation gender
type sex
action filter_type
action find
entity Marcus Jordan
relation gender
type sex
action filter_type
action find
entity Jeffrey Jordan
relation gender
type sex
['Abbot Oliba', 'gender', {'concept': 'sex'}] ['Marcus Jordan', 'gender', {'concept': 'sex'}] ['Jeffrey Jordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { resource:Abbot_Oliba property:gender ?c . ?c rdf:type ontology:sex } UNION { resource:Marcus_Jordan property:gender ?c . ?c rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q1974868,P21,c(Q290)) (Q6758256,P21,c(Q290)) (Q6176081,P21,c(Q290))
action union
action filter_type
action find
entity Q1974868
relation P21
type Q290
action filter_type
action find
entity Q6758256
relation P21
type Q290
action filter_type
action find
entity Q6176081
relation P21
type Q290
The sex of Abbot Oliba , Marcus Jordan and Jeffrey Jordan are the [ANSWER], [ANSWER] and [ANSWER]
['Q1974868', 'P21', {'concept': 'Q290'}] ['Q6758256', 'P21', {'concept': 'Q290'}] ['Q6176081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { resource:Q1974868 property:P21 ?c . ?c rdf:type ontology:Q290 } UNION { resource:Q6758256 property:P21 ?c . ?c rdf:type ontology:Q290 } }
male male male
The sex of Abbot Oliba , Marcus Jordan and Jeffrey Jordan are the male, male and male
male male male
action union
action filter_type
action find
entity Abbot Oliba
relation gender
type sex
action filter_type
action find
entity Marcus Jordan
relation gender
type sex
action filter_type
action find
entity Jeffrey Jordan
relation gender
type sex
['Abbot Oliba', 'gender', {'concept': 'sex'}] ['Marcus Jordan', 'gender', {'concept': 'sex'}] ['Jeffrey Jordan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { resource:Abbot_Oliba property:gender ?c . ?c rdf:type ontology:sex } UNION { resource:Marcus_Jordan property:gender ?c . ?c rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q271068
P159
Q43229
USER
Which organizations have the principal seat at Blagnac ?
(c(Q43229),P159,Q271068)
action filter_type
action find_reverse
entity Q271068
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q271068']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q271068 }
Blagnac
action filter_type
action find_reverse
entity Blagnac
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Blagnac']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Blagnac }
[]
organization
Q3214344 Q67 Q3179924
SYSTEM
Labinal, Airbus, Jodel
Q3214344 Q67 Q3179924
(c(Q43229),P159,Q271068)
action filter_type
action find_reverse
entity Q271068
relation P159
type Q43229
[ANSWERS] have the principal seat at Blagnac
[{'concept': 'Q43229'}, 'P159', 'Q271068']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q271068 }
Labinal Airbus Jodel
Labinal, Airbus and Jodel have the principal seat at Blagnac
Labinal Airbus Jodel
action filter_type
action find_reverse
entity Blagnac
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Blagnac']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Blagnac }
[]