Simple Question (Direct)
Simple Question
Q654208
P21
Q290
USER
Which sex does José de Almeida Netto belong to ?
(Q654208,P21,c(Q290))
action filter_type
action find
entity Q654208
relation P21
type Q290
['Q654208', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q654208 property:P21 ?k . ?k rdf:type ontology:Q290 }
José de Almeida Netto
action filter_type
action find
entity José de Almeida Netto
relation gender
type sex
['José de Almeida Netto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:José_de_Almeida_Netto property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q654208,P21,c(Q290))
action filter_type
action find
entity Q654208
relation P21
type Q290
José de Almeida Netto belongs to [ANSWER]
['Q654208', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q654208 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
José de Almeida Netto belongs to male
male
action filter_type
action find
entity José de Almeida Netto
relation gender
type sex
['José de Almeida Netto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:José_de_Almeida_Netto property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12042531
P19
Q56061
USER
Which administrative territory was Olga Fastrová born in ?
(Q12042531,P19,c(Q56061))
action filter_type
action find
entity Q12042531
relation P19
type Q56061
['Q12042531', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q12042531 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Olga Fastrová
action filter_type
action find
entity Olga Fastrová
relation place of birth
type administrative territorial entity
['Olga Fastrová', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Olga_Fastrová property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q12042531,P19,c(Q56061))
action filter_type
action find
entity Q12042531
relation P19
type Q56061
Olga Fastrová was born in [ANSWER]
['Q12042531', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q12042531 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Prague
Olga Fastrová was born in Prague
Prague
action filter_type
action find
entity Olga Fastrová
relation place of birth
type administrative territorial entity
['Olga Fastrová', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Olga_Fastrová property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P1376
Q1048835
USER
Which political territory has that administrative territory as its capital ?
(Q1085,P1376,c(Q1048835))
action filter_type
action find
entity Q1085
relation P1376
type Q1048835
['Q1085', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1085 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Prague
action filter_type
action find
entity Prague
relation capital of
type political territorial entity
['Prague', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Prague property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q188399
SYSTEM
Central Bohemian Region
Q188399
(Q1085,P1376,c(Q1048835))
action filter_type
action find
entity Q1085
relation P1376
type Q1048835
[ANSWER] has that administrative territory as its capital
['Q1085', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1085 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Central Bohemian Region
Central Bohemian Region has that administrative territory as its capital
Central Bohemian Region
action filter_type
action find
entity Prague
relation capital of
type political territorial entity
['Prague', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Prague property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P190
Q56061
USER
Which administrative territories are partner town of that one ?
(c(Q56061),P190,Q188399)
action filter_type
action find
entity Q1085
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q188399']
SELECT DISTINCT ?l WHERE { resource:Q1085 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Prague
action filter_type
action find
entity Prague
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Central Bohemian Region']
SELECT DISTINCT ?l WHERE { resource:Prague property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q2807 Q216
SYSTEM
Moscow, Madrid, Vilnius
Q1757 Q649 Q472 Q8621 Q185632 Q1867 Q1297 Q1842 Q1524 Q6252 Q406 Q1780 Q2634 Q13386 Q1748 Q26119 Q2090 Q51103 Q13362 Q216 Q239 Q2807 Q64 Q3376 Q1218 Q16556 Q168202
(c(Q56061),P190,Q188399)
action filter_type
action find
entity Q1085
relation P190
type Q56061
[ANSWERS] are partner town of that one
[{'concept': 'Q56061'}, 'P190', 'Q188399']
SELECT DISTINCT ?l WHERE { resource:Q1085 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Helsinki Moscow Sofia Terni Limassol Taipei Chicago Luxembourg Athens Monza Istanbul Bratislava Naples Lecce Copenhagen Prešov Nuremberg Cali Ferrara Vilnius Brussels Madrid Berlin Trento Jerusalem Phoenix Rosh HaAyin
Moscow, Madrid and Vilnius are partner town of that one
Moscow Madrid Vilnius
action filter_type
action find
entity Prague
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Central Bohemian Region']
SELECT DISTINCT ?l WHERE { resource:Prague property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q649 Q2807 Q216
P1376
Q15617994
USER
Which administrative territories have those administrative territories as their capital ?
(Q649,P1376,c(Q15617994)) (Q2807,P1376,c(Q15617994)) (Q216,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q2807', 'P1376', {'concept': 'Q15617994'}] ['Q216', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?c property:P1376 ?i . VALUES ( ?c ) { ( resource:Q1757 ) ( resource:Q649 ) ( resource:Q472 ) } . ?i rdf:type ontology:Q15617994 }
Moscow Madrid Vilnius
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Vilnius', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?c property:capital_of ?i . VALUES ( ?c ) { ( resource:Helsinki ) ( resource:Moscow ) ( resource:Sofia ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q29 Q37
SYSTEM
Russia, Spain, Lithuania
Q159 Q29 Q37
(Q649,P1376,c(Q15617994)) (Q2807,P1376,c(Q15617994)) (Q216,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
[ANSWERS] have those administrative territories as their capital
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q2807', 'P1376', {'concept': 'Q15617994'}] ['Q216', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?c property:P1376 ?i . VALUES ( ?c ) { ( resource:Q1757 ) ( resource:Q649 ) ( resource:Q472 ) } . ?i rdf:type ontology:Q15617994 }
Russia Spain Lithuania
Russia, Spain and Lithuania have those administrative territories as their capital
Russia Spain Lithuania
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Vilnius', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?c property:capital_of ?i . VALUES ( ?c ) { ( resource:Helsinki ) ( resource:Moscow ) ( resource:Sofia ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q29 Q37
P35
Q502895
USER
Who are elected as the head of state of Russia, Spain and Lithuania ?
(Q159,P35,c(Q502895)) (Q29,P35,c(Q502895)) (Q37,P35,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P35
type Q502895
action filter_type
action find
entity Q29
relation P35
type Q502895
action filter_type
action find
entity Q37
relation P35
type Q502895
['Q159', 'P35', {'concept': 'Q502895'}] ['Q29', 'P35', {'concept': 'Q502895'}] ['Q37', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q159 property:P35 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q29 property:P35 ?i . ?i rdf:type ontology:Q502895 } }
Russia Spain Lithuania
action union
action filter_type
action find
entity Russia
relation head of state
type common name
action filter_type
action find
entity Spain
relation head of state
type common name
action filter_type
action find
entity Lithuania
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}] ['Spain', 'head of state', {'concept': 'common name'}] ['Lithuania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:Russia property:head_of_state ?i . ?i rdf:type ontology:common_name } UNION { resource:Spain property:head_of_state ?i . ?i rdf:type ontology:common_name } }
[]
common name
Q7747 Q34453 Q19943
SYSTEM
Vladimir Putin, Boris Yeltsin, Juan Carlos I
Q34453 Q23530 Q7747 Q191045 Q19943 Q153167 Q212751 Q380985 Q296950 Q57379
(Q159,P35,c(Q502895)) (Q29,P35,c(Q502895)) (Q37,P35,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P35
type Q502895
action filter_type
action find
entity Q29
relation P35
type Q502895
action filter_type
action find
entity Q37
relation P35
type Q502895
[ANSWERS] are elected as the head of state of Russia, Spain and Lithuania
['Q159', 'P35', {'concept': 'Q502895'}] ['Q29', 'P35', {'concept': 'Q502895'}] ['Q37', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q159 property:P35 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q29 property:P35 ?i . ?i rdf:type ontology:Q502895 } }
Boris Yeltsin Dmitry Medvedev Vladimir Putin Felipe VI Juan Carlos I Valdas Adamkus Algirdas Brazauskas Aleksandras Stulginskis Antanas Smetona Dalia Grybauskaitė
Vladimir Putin, Boris Yeltsin and Juan Carlos I are elected as the head of state of Russia, Spain and Lithuania
Vladimir Putin Boris Yeltsin Juan Carlos I
action union
action filter_type
action find
entity Russia
relation head of state
type common name
action filter_type
action find
entity Spain
relation head of state
type common name
action filter_type
action find
entity Lithuania
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}] ['Spain', 'head of state', {'concept': 'common name'}] ['Lithuania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:Russia property:head_of_state ?i . ?i rdf:type ontology:common_name } UNION { resource:Spain property:head_of_state ?i . ?i rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7747 Q34453 Q19943
P166
Q618779
USER
What were awarded to Vladimir Putin, Boris Yeltsin and Juan Carlos I ?
(Q7747,P166,c(Q618779)) (Q34453,P166,c(Q618779)) (Q19943,P166,c(Q618779))
action union
action filter_type
action find
entity Q7747
relation P166
type Q618779
action filter_type
action find
entity Q34453
relation P166
type Q618779
action filter_type
action find
entity Q19943
relation P166
type Q618779
['Q7747', 'P166', {'concept': 'Q618779'}] ['Q34453', 'P166', {'concept': 'Q618779'}] ['Q19943', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { resource:Q7747 property:P166 ?g . ?g rdf:type ontology:Q618779 } UNION { resource:Q34453 property:P166 ?g . ?g rdf:type ontology:Q618779 } }
Vladimir Putin Boris Yeltsin Juan Carlos I
action union
action filter_type
action find
entity Vladimir Putin
relation award received
type award
action filter_type
action find
entity Boris Yeltsin
relation award received
type award
action filter_type
action find
entity Juan Carlos I
relation award received
type award
['Vladimir Putin', 'award received', {'concept': 'award'}] ['Boris Yeltsin', 'award received', {'concept': 'award'}] ['Juan Carlos I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { resource:Vladimir_Putin property:award_received ?g . ?g rdf:type ontology:award } UNION { resource:Boris_Yeltsin property:award_received ?g . ?g rdf:type ontology:award } }
[]
award
Q185493 Q94345 Q2268261
SYSTEM
Order of Lenin, Order of St. Olav, Order of Honour
Q2268261 Q185493 Q18080431 Q94345 Q84020 Q950604 Q93728 Q152337
(Q7747,P166,c(Q618779)) (Q34453,P166,c(Q618779)) (Q19943,P166,c(Q618779))
action union
action filter_type
action find
entity Q7747
relation P166
type Q618779
action filter_type
action find
entity Q34453
relation P166
type Q618779
action filter_type
action find
entity Q19943
relation P166
type Q618779
[ANSWERS] were awarded to Vladimir Putin, Boris Yeltsin and Juan Carlos I
['Q7747', 'P166', {'concept': 'Q618779'}] ['Q34453', 'P166', {'concept': 'Q618779'}] ['Q19943', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { resource:Q7747 property:P166 ?g . ?g rdf:type ontology:Q618779 } UNION { resource:Q34453 property:P166 ?g . ?g rdf:type ontology:Q618779 } }
Order of Honour Order of Lenin Order For Services to the Fatherland 1st class Order of St. Olav Order of the White Eagle Order of the Star of Romania Order of the White Lion Charlemagne Prize
Order of Lenin, Order of St. Olav and Order of Honour were awarded to Vladimir Putin, Boris Yeltsin and Juan Carlos I
Order of Lenin Order of St. Olav Order of Honour
action union
action filter_type
action find
entity Vladimir Putin
relation award received
type award
action filter_type
action find
entity Boris Yeltsin
relation award received
type award
action filter_type
action find
entity Juan Carlos I
relation award received
type award
['Vladimir Putin', 'award received', {'concept': 'award'}] ['Boris Yeltsin', 'award received', {'concept': 'award'}] ['Juan Carlos I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { resource:Vladimir_Putin property:award_received ?g . ?g rdf:type ontology:award } UNION { resource:Boris_Yeltsin property:award_received ?g . ?g rdf:type ontology:award } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q94345
P361
Q618779
USER
Which award is a part of Order of St. Olav ?
(c(Q618779),P361,Q94345)
action filter_type
action find_reverse
entity Q94345
relation P361
type Q618779
[{'concept': 'Q618779'}, 'P361', 'Q94345']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q94345 . ?v rdf:type ontology:Q618779 }
Order of St. Olav
action filter_type
action find_reverse
entity Order of St. Olav
relation part of
type award
[{'concept': 'award'}, 'part of', 'Order of St. Olav']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Order_of_St._Olav . ?v rdf:type ontology:award }
[]
award
Q13377517
SYSTEM
Knight Grand Cross with Collar of the Order of St. Olav‎
Q13377517
(c(Q618779),P361,Q94345)
action filter_type
action find_reverse
entity Q94345
relation P361
type Q618779
[ANSWER] is a part of Order of St. Olav
[{'concept': 'Q618779'}, 'P361', 'Q94345']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q94345 . ?v rdf:type ontology:Q618779 }
Knight Grand Cross with Collar of the Order of St. Olav‎
Knight Grand Cross with Collar of the Order of St. Olav‎ is a part of Order of St. Olav
Knight Grand Cross with Collar of the Order of St. Olav‎
action filter_type
action find_reverse
entity Order of St. Olav
relation part of
type award
[{'concept': 'award'}, 'part of', 'Order of St. Olav']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:Order_of_St._Olav . ?v rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q35798 Q618779
USER
Which awards are a component of more number of executive branches than that award ?
(c(Q618779),P361,c(Q35798))
action greater
action find_tuple_counts
relation P361
type Q618779
type Q35798
action count
action filter_type
action find
entity Q13377517
relation P361
type Q35798
[{'concept': 'Q618779'}, 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?t ) WHERE { ?y property:P361 ?r . ?y rdf:type ontology:Q618779 . ?r rdf:type ontology:Q35798 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q13377517 property:P361 ?o . ?o rdf:type ontology:Q35798 } } . FILTER ( ?t > ?d ) }
action greater
action find_tuple_counts
relation part of
type award
type executive branch
action count
action filter_type
action find
entity Knight Grand Cross with Collar of the Order of St. Olav‎
relation part of
type executive branch
[{'concept': 'award'}, 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?t ) WHERE { ?y property:part_of ?r . ?y rdf:type ontology:award . ?r rdf:type ontology:executive_branch } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Knight_Grand_Cross_with_Collar_of_the_Order_of_St._Olav‎ property:part_of ?o . ?o rdf:type ontology:executive_branch } } . FILTER ( ?t > ?d ) }
[]
executive branch award
Q3068024
SYSTEM
First Secretary of State
Q3068024
(c(Q618779),P361,c(Q35798))
action greater
action find_tuple_counts
relation P361
type Q618779
type Q35798
action count
action filter_type
action find
entity Q13377517
relation P361
type Q35798
[ANSWER] is a component of more number of executive branches than that award
[{'concept': 'Q618779'}, 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?t ) WHERE { ?y property:P361 ?r . ?y rdf:type ontology:Q618779 . ?r rdf:type ontology:Q35798 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q13377517 property:P361 ?o . ?o rdf:type ontology:Q35798 } } . FILTER ( ?t > ?d ) }
First Secretary of State
First Secretary of State is a component of more number of executive branches than that award
First Secretary of State
action greater
action find_tuple_counts
relation part of
type award
type executive branch
action count
action filter_type
action find
entity Knight Grand Cross with Collar of the Order of St. Olav‎
relation part of
type executive branch
[{'concept': 'award'}, 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?t ) WHERE { ?y property:part_of ?r . ?y rdf:type ontology:award . ?r rdf:type ontology:executive_branch } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Knight_Grand_Cross_with_Collar_of_the_Order_of_St._Olav‎ property:part_of ?o . ?o rdf:type ontology:executive_branch } } . FILTER ( ?t > ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3068024
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that award ?
(Q3068024,P1001,c(Q15617994))
action filter_type
action find
entity Q3068024
relation P1001
type Q15617994
['Q3068024', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3068024 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
First Secretary of State
action filter_type
action find
entity First Secretary of State
relation applies to jurisdiction
type designation for an administrative territorial entity
['First Secretary of State', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:First_Secretary_of_State property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3068024,P1001,c(Q15617994))
action filter_type
action find
entity Q3068024
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that award
['Q3068024', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3068024 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom belongs to jurisdiction of that award
United Kingdom
action filter_type
action find
entity First Secretary of State
relation applies to jurisdiction
type designation for an administrative territorial entity
['First Secretary of State', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:First_Secretary_of_State property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]