Simple Question (Direct)
Simple Question
Q7972775
P19
Q15617994
USER
Which administrative territory is the place of birth of Wassim El Banna ?
(Q7972775,P19,c(Q15617994))
action filter_type
action find
entity Q7972775
relation P19
type Q15617994
['Q7972775', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7972775 property:P19 ?r }
Wassim El Banna
action filter_type
action find
entity Wassim El Banna
relation place of birth
type designation for an administrative territorial entity
['Wassim El Banna', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wassim_El_Banna property:place_of_birth ?r }
[]
designation for an administrative territorial entity
Q822
SYSTEM
Lebanon
Q822
(Q7972775,P19,c(Q15617994))
action filter_type
action find
entity Q7972775
relation P19
type Q15617994
[ANSWER] is the place of birth of Wassim El Banna
['Q7972775', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7972775 property:P19 ?r }
Lebanon
Lebanon is the place of birth of Wassim El Banna
Lebanon
action filter_type
action find
entity Wassim El Banna
relation place of birth
type designation for an administrative territorial entity
['Wassim El Banna', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wassim_El_Banna property:place_of_birth ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7972775
P641
Q349
USER
What did Wassim El Banna participate in ?
(Q7972775,P641,c(Q349))
action filter_type
action find
entity Q7972775
relation P641
type Q349
['Q7972775', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q7972775 property:P641 ?c . ?c rdf:type ontology:Q349 }
Wassim El Banna
action filter_type
action find
entity Wassim El Banna
relation sport
type sport
['Wassim El Banna', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Wassim_El_Banna property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7972775,P641,c(Q349))
action filter_type
action find
entity Q7972775
relation P641
type Q349
Wassim El Banna participated in [ANSWER]
['Q7972775', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q7972775 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Wassim El Banna participated in association football
association football
action filter_type
action find
entity Wassim El Banna
relation sport
type sport
['Wassim El Banna', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Wassim_El_Banna property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q822
P35
Q502895
USER
Which person has the highest formal authority in Lebanon ?
(Q822,P35,c(Q502895))
action filter_type
action find
entity Q822
relation P35
type Q502895
['Q822', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q822 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Lebanon
action filter_type
action find
entity Lebanon
relation head of state
type common name
['Lebanon', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lebanon property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
common name
Q363392
SYSTEM
Michel Aoun
Q363392
(Q822,P35,c(Q502895))
action filter_type
action find
entity Q822
relation P35
type Q502895
[ANSWER] has the highest formal authority in Lebanon
['Q822', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q822 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Michel Aoun
Michel Aoun has the highest formal authority in Lebanon
Michel Aoun
action filter_type
action find
entity Lebanon
relation head of state
type common name
['Lebanon', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lebanon property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7173734 Q7972775
P27
Q1048835
USER
Which political territories are the native countriesof Wassim El Banna or Peter Doyle ?
OR((Q7972775,P27,c(Q1048835)), (Q7173734,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7972775
relation P27
action find
entity Q7173734
relation P27
type Q1048835
{'OR': [['Q7972775', 'P27', {'concept': 'Q1048835'}], ['Q7173734', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . { { resource:Q7972775 property:P27 ?k } UNION { resource:Q7173734 property:P27 ?k } } }
Peter Doyle Wassim El Banna
action filter_type
action union
action find
entity Wassim El Banna
relation country of citizenship
action find
entity Peter Doyle
relation country of citizenship
type political territorial entity
{'OR': [['Wassim El Banna', 'country of citizenship', {'concept': 'political territorial entity'}], ['Peter Doyle', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . { { resource:Wassim_El_Banna property:country_of_citizenship ?k } UNION { resource:Peter_Doyle property:country_of_citizenship ?k } } }
[]
political territorial entity
Q408 Q35
SYSTEM
Australia, Denmark
Q408 Q35
OR((Q7972775,P27,c(Q1048835)), (Q7173734,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7972775
relation P27
action find
entity Q7173734
relation P27
type Q1048835
[ANSWERS] are the native countriesof Wassim El Banna or Peter Doyle
{'OR': [['Q7972775', 'P27', {'concept': 'Q1048835'}], ['Q7173734', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . { { resource:Q7972775 property:P27 ?k } UNION { resource:Q7173734 property:P27 ?k } } }
Australia Denmark
Australia and Denmark are the native countriesof Wassim El Banna or Peter Doyle
Australia Denmark
action filter_type
action union
action find
entity Wassim El Banna
relation country of citizenship
action find
entity Peter Doyle
relation country of citizenship
type political territorial entity
{'OR': [['Wassim El Banna', 'country of citizenship', {'concept': 'political territorial entity'}], ['Peter Doyle', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . { { resource:Wassim_El_Banna property:country_of_citizenship ?k } UNION { resource:Peter_Doyle property:country_of_citizenship ?k } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q408 Q35
P35
Q502895
USER
Which people have the highest formal authority in Australia and Denmark ?
(Q408,P35,c(Q502895)) (Q35,P35,c(Q502895))
action union
action filter_type
action find
entity Q408
relation P35
type Q502895
action filter_type
action find
entity Q35
relation P35
type Q502895
['Q408', 'P35', {'concept': 'Q502895'}] ['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { resource:Q408 property:P35 ?u . ?u rdf:type ontology:Q502895 } UNION { resource:Q35 property:P35 ?u . ?u rdf:type ontology:Q502895 } }
Australia Denmark
action union
action filter_type
action find
entity Australia
relation head of state
type common name
action filter_type
action find
entity Denmark
relation head of state
type common name
['Australia', 'head of state', {'concept': 'common name'}] ['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { resource:Australia property:head_of_state ?u . ?u rdf:type ontology:common_name } UNION { resource:Denmark property:head_of_state ?u . ?u rdf:type ontology:common_name } }
[]
common name
Q9682 Q102139 Q153586
SYSTEM
Elizabeth II, Margrethe II of Denmark, Christian IV of Denmark
Q189186 Q1354851 Q335033 Q355053 Q335310 Q1356927 Q1382174 Q250087 Q335323 Q229300 Q1354229 Q976974 Q9682 Q267745 Q735387 Q333824 Q151305 Q154041 Q161958 Q156187 Q157793 Q156572 Q157776 Q152756 Q154460 Q157812 Q151312 Q157789 Q153940 Q161059 Q157781 Q58056 Q102139 Q156617 Q155002 Q154998 Q94941 Q153586 Q154993
(Q408,P35,c(Q502895)) (Q35,P35,c(Q502895))
action union
action filter_type
action find
entity Q408
relation P35
type Q502895
action filter_type
action find
entity Q35
relation P35
type Q502895
[ANSWERS] have the highest formal authority in Australia and Denmark
['Q408', 'P35', {'concept': 'Q502895'}] ['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { resource:Q408 property:P35 ?u . ?u rdf:type ontology:Q502895 } UNION { resource:Q35 property:P35 ?u . ?u rdf:type ontology:Q502895 } }
Zelman Cowen John Kerr William Slim, 1st Viscount Slim Michael Jeffery Richard Casey, Baron Casey Ninian Stephen Paul Hasluck Bill Hayden William Morrison, 1st Viscount Dunrossil Quentin Bryce Peter Hollingworth Peter Cosgrove Elizabeth II William Deane William McKell William Sidney, 1st Viscount De L'Isle Christian IX of Denmark Frederick II of Denmark Eric of Pomerania Frederick V of Denmark Christian V of Denmark Christian VII of Denmark John, King of Denmark Frederick VIII of Denmark Christian II of Denmark Frederick III of Denmark Frederick IX of Denmark Frederick I of Denmark Christian I of Denmark Frederick IV of Denmark Christian VIII of Denmark Christopher of Bavaria Margrethe II of Denmark Christian X of Denmark Frederick VI of Denmark Christian III of Denmark Frederick VII of Denmark Christian IV of Denmark Christian VI of Denmark
Elizabeth II, Margrethe II of Denmark and Christian IV of Denmark have the highest formal authority in Australia and Denmark
Elizabeth II Margrethe II of Denmark Christian IV of Denmark
action union
action filter_type
action find
entity Australia
relation head of state
type common name
action filter_type
action find
entity Denmark
relation head of state
type common name
['Australia', 'head of state', {'concept': 'common name'}] ['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { resource:Australia property:head_of_state ?u . ?u rdf:type ontology:common_name } UNION { resource:Denmark property:head_of_state ?u . ?u rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q102139
P25
Q502895
USER
Who was the mother of that one ?
(Q102139,P25,c(Q502895))
action filter_type
action find
entity Q102139
relation P25
type Q502895
['Q102139', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q102139 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation mother
type common name
['Margrethe II of Denmark', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margrethe_II_of_Denmark property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9682
SYSTEM
Did you mean Elizabeth II ?
Q9682 Q102139 Q153586
(Q9682,P25,c(Q502895)) (Q102139,P25,c(Q502895)) (Q153586,P25,c(Q502895))
[ANSWER]
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q102139', 'P25', {'concept': 'Q502895'}] ['Q153586', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q102139 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Elizabeth II Margrethe II of Denmark Christian IV of Denmark
Did you mean Elizabeth II ?
Elizabeth II
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Margrethe II of Denmark', 'mother', {'concept': 'common name'}] ['Christian IV of Denmark', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margrethe_II_of_Denmark property:mother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Margrethe II of Denmark. Could you tell me the answer for that?
(Q102139,P25,c(Q502895))
Q102139
['Q102139', 'P25', {'concept': 'Q502895'}]
['Margrethe II of Denmark', 'mother', {'concept': 'common name'}]
[]
Q163010
SYSTEM
Ingrid of Sweden
Q163010
(Q102139,P25,c(Q502895))
action filter_type
action find
entity Q102139
relation P25
type Q502895
The mother of that one was Princess [ANSWER]
['Q102139', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q102139 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Ingrid of Sweden
The mother of that one was Princess Ingrid of Sweden
Ingrid of Sweden
action filter_type
action find
entity Margrethe II of Denmark
relation mother
type common name
['Margrethe II of Denmark', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margrethe_II_of_Denmark property:mother ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P9
Q502895
USER
How many people had that person as their sibling ?
(c(Q502895),P9,Q163010)
action count
action filter_type
action find_reverse
entity Q163010
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q163010']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P9 resource:Q163010 . ?m rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Ingrid of Sweden
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Ingrid of Sweden']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:sister resource:Ingrid_of_Sweden . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q347374 Q437019 Q361261 Q447209
(c(Q502895),P9,Q163010)
action count
action filter_type
action find_reverse
entity Q163010
relation P9
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q163010']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P9 resource:Q163010 . ?m rdf:type ontology:Q502895 }
Prince Gustaf Adolf, Duke of Västerbotten Count Carl Johan Bernadotte of Wisborg Prince Bertil, Duke of Halland Count Sigvard Bernadotte of Wisborg
4
action count
action filter_type
action find_reverse
entity Ingrid of Sweden
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Ingrid of Sweden']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:sister resource:Ingrid_of_Sweden . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P166
Q618779
USER
What were awarded to Margrethe II of Denmark ?
(Q102139,P166,c(Q618779))
action filter_type
action find
entity Q102139
relation P166
type Q618779
['Q102139', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q102139 property:P166 ?z }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation award received
type award
['Margrethe II of Denmark', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Margrethe_II_of_Denmark property:award_received ?z }
[]
award
Q1423841 Q13377517 Q12192384
SYSTEM
Order of Pius IX, Knight Grand Cross with Collar of the Order of St. Olav‎, Dame Grand Cross of the Royal Victorian Order
Q1423841 Q13377517 Q84020 Q12192384 Q950604
(Q102139,P166,c(Q618779))
action filter_type
action find
entity Q102139
relation P166
type Q618779
[ANSWERS] were awarded to Margrethe II of Denmark
['Q102139', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q102139 property:P166 ?z }
Order of Pius IX Knight Grand Cross with Collar of the Order of St. Olav‎ Order of the White Eagle Dame Grand Cross of the Royal Victorian Order Order of the Star of Romania
Order of Pius IX, Knight Grand Cross with Collar of the Order of St. Olav‎ and Dame Grand Cross of the Royal Victorian Order were awarded to Margrethe II of Denmark
Order of Pius IX Knight Grand Cross with Collar of the Order of St. Olav‎ Dame Grand Cross of the Royal Victorian Order
action filter_type
action find
entity Margrethe II of Denmark
relation award received
type award
['Margrethe II of Denmark', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Margrethe_II_of_Denmark property:award_received ?z }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q102139
Q2003221
USER
And which chivalric order?
(Q102139,P166,c(Q2003221))
action filter_type
action find
entity Q102139
relation P166
type Q2003221
['Q102139', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?q WHERE { resource:Q102139 property:P166 ?q . ?q rdf:type ontology:Q2003221 }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation award received
type chivalric order
['Margrethe II of Denmark', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?q WHERE { resource:Margrethe_II_of_Denmark property:award_received ?q . ?q rdf:type ontology:chivalric_order }
[]
chivalric order
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q102139,P166,c(Q2003221))
action filter_type
action find
entity Q102139
relation P166
type Q2003221
[ANSWER]
['Q102139', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?q WHERE { resource:Q102139 property:P166 ?q . ?q rdf:type ontology:Q2003221 }
Knight of the Order of the Golden Fleece
Knight of the Order of the Golden Fleece
action filter_type
action find
entity Margrethe II of Denmark
relation award received
type chivalric order
['Margrethe II of Denmark', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?q WHERE { resource:Margrethe_II_of_Denmark property:award_received ?q . ?q rdf:type ontology:chivalric_order }
[]