Simple Question (Direct)
Simple Question
Q2172403
P102
Q7210356
USER
Which political organization is Rudolf Beirer a member of ?
(Q2172403,P102,c(Q7210356))
action filter_type
action find
entity Q2172403
relation P102
type Q7210356
['Q2172403', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q2172403 property:P102 ?l }
Rudolf Beirer
action filter_type
action find
entity Rudolf Beirer
relation member of political party
type political organization
['Rudolf Beirer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Rudolf_Beirer property:member_of_political_party ?l }
[]
political organization
Q692131
SYSTEM
Christian Social Party
Q692131
(Q2172403,P102,c(Q7210356))
action filter_type
action find
entity Q2172403
relation P102
type Q7210356
Party [ANSWER] is Rudolf Beirer a member of
['Q2172403', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q2172403 property:P102 ?l }
Christian Social Party
Party Christian Social Party is Rudolf Beirer a member of
Christian Social Party
action filter_type
action find
entity Rudolf Beirer
relation member of political party
type political organization
['Rudolf Beirer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Rudolf_Beirer property:member_of_political_party ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2172403
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q692131,P39,c(Q12737077))
action filter_type
action find
entity Q2172403
relation P39
type Q12737077
['Q692131', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2172403 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Rudolf Beirer
action filter_type
action find
entity Rudolf Beirer
relation position held
type occupation
['Christian Social Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Rudolf_Beirer property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19360771
SYSTEM
member of the Austrian federal council
Q19360771
(Q692131,P39,c(Q12737077))
action filter_type
action find
entity Q2172403
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q692131', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2172403 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the Austrian federal council
The member of the Austrian federal council was a position for which that person was appointed
member of the Austrian federal council
action filter_type
action find
entity Rudolf Beirer
relation position held
type occupation
['Christian Social Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Rudolf_Beirer property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19360771 Q3544367 Q40
P1001
Q1048835
USER
Does that occupation have control over the jurisdiction of Huta, Rivne Oblast and Austria ?
(Q19360771,P1001,Q3544367) (Q19360771,P1001,Q40)
action is_in
entity Q19360771
action intersection
action find_reverse
entity Q3544367
relation P1001
action find_reverse
entity Q40
relation P1001
['Q19360771', 'P1001', 'Q3544367'] ['Q19360771', 'P1001', 'Q40']
ASK WHERE { resource:Q19360771 property:P1001 resource:Q3544367 . resource:Q19360771 property:P1001 resource:Q40 }
member of the Austrian federal council Huta, Rivne Oblast Austria
action is_in
entity member of the Austrian federal council
action intersection
action find_reverse
entity Huta, Rivne Oblast
relation applies to jurisdiction
action find_reverse
entity Austria
relation applies to jurisdiction
['member of the Austrian federal council', 'applies to jurisdiction', 'Huta, Rivne Oblast'] ['member of the Austrian federal council', 'applies to jurisdiction', 'Austria']
ASK WHERE { resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Huta,_Rivne_Oblast . resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Austria }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q19360771,P1001,Q3544367) (Q19360771,P1001,Q40)
action is_in
entity Q19360771
action intersection
action find_reverse
entity Q3544367
relation P1001
action find_reverse
entity Q40
relation P1001
[ANSWER]
['Q19360771', 'P1001', 'Q3544367'] ['Q19360771', 'P1001', 'Q40']
ASK WHERE { resource:Q19360771 property:P1001 resource:Q3544367 . resource:Q19360771 property:P1001 resource:Q40 }
NO and YES respectively
action is_in
entity member of the Austrian federal council
action intersection
action find_reverse
entity Huta, Rivne Oblast
relation applies to jurisdiction
action find_reverse
entity Austria
relation applies to jurisdiction
['member of the Austrian federal council', 'applies to jurisdiction', 'Huta, Rivne Oblast'] ['member of the Austrian federal council', 'applies to jurisdiction', 'Austria']
ASK WHERE { resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Huta,_Rivne_Oblast . resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Austria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2172403 Q1648692 Q1803867
P27
Q1048835
USER
Is Rudolf Beirer a citizen of Yebra de Basa and Itaúna do Sul ?
(Q2172403,P27,Q1648692) (Q2172403,P27,Q1803867)
action is_in
entity Q2172403
action intersection
action find_reverse
entity Q1648692
relation P27
action find_reverse
entity Q1803867
relation P27
['Q2172403', 'P27', 'Q1648692'] ['Q2172403', 'P27', 'Q1803867']
ASK WHERE { resource:Q2172403 property:P27 resource:Q1803867 . resource:Q2172403 property:P27 resource:Q1648692 }
Rudolf Beirer Yebra de Basa Itaúna do Sul
action is_in
entity Rudolf Beirer
action intersection
action find_reverse
entity Yebra de Basa
relation country of citizenship
action find_reverse
entity Itaúna do Sul
relation country of citizenship
['Rudolf Beirer', 'country of citizenship', 'Yebra de Basa'] ['Rudolf Beirer', 'country of citizenship', 'Itaúna do Sul']
ASK WHERE { resource:Rudolf_Beirer property:country_of_citizenship resource:Itaúna_do_Sul . resource:Rudolf_Beirer property:country_of_citizenship resource:Yebra_de_Basa }
[]
political territorial entity
SYSTEM
NO
(Q2172403,P27,Q1648692) (Q2172403,P27,Q1803867)
action is_in
entity Q2172403
action intersection
action find_reverse
entity Q1648692
relation P27
action find_reverse
entity Q1803867
relation P27
[ANSWER]
['Q2172403', 'P27', 'Q1648692'] ['Q2172403', 'P27', 'Q1803867']
ASK WHERE { resource:Q2172403 property:P27 resource:Q1803867 . resource:Q2172403 property:P27 resource:Q1648692 }
No
action is_in
entity Rudolf Beirer
action intersection
action find_reverse
entity Yebra de Basa
relation country of citizenship
action find_reverse
entity Itaúna do Sul
relation country of citizenship
['Rudolf Beirer', 'country of citizenship', 'Yebra de Basa'] ['Rudolf Beirer', 'country of citizenship', 'Itaúna do Sul']
ASK WHERE { resource:Rudolf_Beirer property:country_of_citizenship resource:Itaúna_do_Sul . resource:Rudolf_Beirer property:country_of_citizenship resource:Yebra_de_Basa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19360771 Q40
P1001
Q1048835
USER
Does Austria come under the supervision of member of the Austrian federal council ?
(Q19360771,P1001,Q40)
action is_in
entity Q40
action find
entity Q19360771
relation P1001
['Q19360771', 'P1001', 'Q40']
ASK WHERE { resource:Q19360771 property:P1001 resource:Q40 }
member of the Austrian federal council Austria
action is_in
entity Austria
action find
entity member of the Austrian federal council
relation applies to jurisdiction
['member of the Austrian federal council', 'applies to jurisdiction', 'Austria']
ASK WHERE { resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q19360771,P1001,Q40)
action is_in
entity Q40
action find
entity Q19360771
relation P1001
[ANSWER]
['Q19360771', 'P1001', 'Q40']
ASK WHERE { resource:Q19360771 property:P1001 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity member of the Austrian federal council
relation applies to jurisdiction
['member of the Austrian federal council', 'applies to jurisdiction', 'Austria']
ASK WHERE { resource:member_of_the_Austrian_federal_council property:applies_to_jurisdiction resource:Austria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12341107 Q40
P17
Q1048835
USER
Which political territories do Austria or Vinderslevholm belong to ?
OR((Q40,P17,c(Q1048835)), (Q12341107,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q40
relation P17
action find
entity Q12341107
relation P17
type Q1048835
{'OR': [['Q40', 'P17', {'concept': 'Q1048835'}], ['Q12341107', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { ?u property:P17 ?n . VALUES ( ?u ) { ( resource:Q12341107 ) ( resource:Q40 ) } } . ?n rdf:type ontology:Q1048835 }
Vinderslevholm Austria
action filter_type
action union
action find
entity Austria
relation country
action find
entity Vinderslevholm
relation country
type political territorial entity
{'OR': [['Austria', 'country', {'concept': 'political territorial entity'}], ['Vinderslevholm', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?u property:country ?n . VALUES ( ?u ) { ( resource:Vinderslevholm ) ( resource:Austria ) } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40 Q35
SYSTEM
Austria, Denmark
Q40 Q35
OR((Q40,P17,c(Q1048835)), (Q12341107,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q40
relation P17
action find
entity Q12341107
relation P17
type Q1048835
Austria or Vinderslevholm belong to [ANSWERS]
{'OR': [['Q40', 'P17', {'concept': 'Q1048835'}], ['Q12341107', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { ?u property:P17 ?n . VALUES ( ?u ) { ( resource:Q12341107 ) ( resource:Q40 ) } } . ?n rdf:type ontology:Q1048835 }
Austria Denmark
Austria or Vinderslevholm belong to Austria and Denmark
Austria Denmark
action filter_type
action union
action find
entity Austria
relation country
action find
entity Vinderslevholm
relation country
type political territorial entity
{'OR': [['Austria', 'country', {'concept': 'political territorial entity'}], ['Vinderslevholm', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?u property:country ?n . VALUES ( ?u ) { ( resource:Vinderslevholm ) ( resource:Austria ) } } . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q285583
P27
Q502895
USER
Are Toe Blake a citizen of those political territories ?
(Q285583,P27,Q40) (Q285583,P27,Q35)
action is_in
entity prev_answer
action find
entity Q285583
relation P27
['Q285583', 'P27', 'Q40'] ['Q285583', 'P27', 'Q35']
ASK WHERE { VALUES ( ?p ) { ( resource:Q40 ) ( resource:Q35 ) } . resource:Q285583 property:P27 ?p }
Toe Blake
action is_in
entity prev_answer
action find
entity Toe Blake
relation country of citizenship
['Toe Blake', 'country of citizenship', 'Austria'] ['Toe Blake', 'country of citizenship', 'Denmark']
ASK WHERE { VALUES ( ?p ) { ( resource:Austria ) ( resource:Denmark ) } . resource:Toe_Blake property:country_of_citizenship ?p }
[]
common name
SYSTEM
NO
(Q285583,P27,Q40) (Q285583,P27,Q35)
action is_in
entity prev_answer
action find
entity Q285583
relation P27
[ANSWER]
['Q285583', 'P27', 'Q40'] ['Q285583', 'P27', 'Q35']
ASK WHERE { VALUES ( ?p ) { ( resource:Q40 ) ( resource:Q35 ) } . resource:Q285583 property:P27 ?p }
No
action is_in
entity prev_answer
action find
entity Toe Blake
relation country of citizenship
['Toe Blake', 'country of citizenship', 'Austria'] ['Toe Blake', 'country of citizenship', 'Denmark']
ASK WHERE { VALUES ( ?p ) { ( resource:Austria ) ( resource:Denmark ) } . resource:Toe_Blake property:country_of_citizenship ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2172403
P20
Q486972
USER
Where did the expiration of Rudolf Beirer occur ?
(Q2172403,P20,c(Q486972))
action filter_type
action find
entity Q2172403
relation P20
type Q486972
['Q2172403', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q2172403 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Rudolf Beirer
action filter_type
action find
entity Rudolf Beirer
relation place of death
type human settlement
['Rudolf Beirer', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Rudolf_Beirer property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q131612
SYSTEM
Wiener Neustadt
Q131612
(Q2172403,P20,c(Q486972))
action filter_type
action find
entity Q2172403
relation P20
type Q486972
The expiration of Rudolf Beirer occurred in [ANSWER]
['Q2172403', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q2172403 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Wiener Neustadt
The expiration of Rudolf Beirer occurred in Wiener Neustadt
Wiener Neustadt
action filter_type
action find
entity Rudolf Beirer
relation place of death
type human settlement
['Rudolf Beirer', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Rudolf_Beirer property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5484289
Q486972
USER
And how about Franciszek Jerzy Jaskulski?
(Q5484289,P20,c(Q486972))
action filter_type
action find
entity Q5484289
relation P20
type Q486972
['Q5484289', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q5484289 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Franciszek Jerzy Jaskulski
action filter_type
action find
entity Franciszek Jerzy Jaskulski
relation place of death
type human settlement
['Franciszek Jerzy Jaskulski', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Franciszek_Jerzy_Jaskulski property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q102317
SYSTEM
Kielce
Q102317
(Q5484289,P20,c(Q486972))
action filter_type
action find
entity Q5484289
relation P20
type Q486972
[ANSWER]
['Q5484289', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q5484289 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Kielce
Kielce
action filter_type
action find
entity Franciszek Jerzy Jaskulski
relation place of death
type human settlement
['Franciszek Jerzy Jaskulski', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Franciszek_Jerzy_Jaskulski property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q13220204
USER
How many administrative territories and administrative country subdivisions are twin cities of that human settlement ?
(Q102317,P190,c(Q15617994)) (Q102317,P190,c(Q13220204)) (Q102317,P190,c(Q15617994)) (Q102317,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q102317
relation P190
type Q15617994
action filter_type
action find
entity Q102317
relation P190
type Q13220204
['Q102317', 'P190', {'concept': 'Q15617994'}] ['Q102317', 'P190', {'concept': 'Q13220204'}] ['Q102317', 'P190', {'concept': 'Q15617994'}] ['Q102317', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Q102317 property:P190 ?b . ?b rdf:type ontology:Q15617994 } UNION { resource:Q102317 property:P190 ?b . ?b rdf:type ontology:Q13220204 } }
action count
action union
action filter_type
action find
entity Kielce
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Kielce
relation sister city
type second-level administrative country subdivision
['Kielce', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Kielce', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Kielce', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Kielce', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Kielce property:sister_city ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Kielce property:sister_city ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision } }
[]
designation for an administrative territorial entity second-level administrative country subdivision
SYSTEM
2 administrative territories and 2 administrative country subdivisions
Q156719 Q157144 Q6986 Q6596
(Q102317,P190,c(Q15617994)) (Q102317,P190,c(Q13220204)) (Q102317,P190,c(Q15617994)) (Q102317,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q102317
relation P190
type Q15617994
action filter_type
action find
entity Q102317
relation P190
type Q13220204
[ANSWER]
['Q102317', 'P190', {'concept': 'Q15617994'}] ['Q102317', 'P190', {'concept': 'Q13220204'}] ['Q102317', 'P190', {'concept': 'Q15617994'}] ['Q102317', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Q102317 property:P190 ?b . ?b rdf:type ontology:Q15617994 } UNION { resource:Q102317 property:P190 ?b . ?b rdf:type ontology:Q13220204 } }
Kamianske Vinnytsia Gotha Gorizia
2 administrative territories and 2 administrative country subdivisions
action count
action union
action filter_type
action find
entity Kielce
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Kielce
relation sister city
type second-level administrative country subdivision
['Kielce', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Kielce', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Kielce', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Kielce', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Kielce property:sister_city ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Kielce property:sister_city ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102317
P137
Q1076486
USER
Which sports venue can be described as facility operator of Kielce ?
(c(Q1076486),P137,Q102317)
action filter_type
action find_reverse
entity Q102317
relation P137
type Q1076486
[{'concept': 'Q1076486'}, 'P137', 'Q102317']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q102317 . ?b rdf:type ontology:Q1076486 }
Kielce
action filter_type
action find_reverse
entity Kielce
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', 'Kielce']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Kielce . ?b rdf:type ontology:sports_venue }
[]
sports venue
Q2002170
SYSTEM
Kielce City Stadium
Q2002170
(c(Q1076486),P137,Q102317)
action filter_type
action find_reverse
entity Q102317
relation P137
type Q1076486
[ANSWER] can be described as facility operator of Kielce
[{'concept': 'Q1076486'}, 'P137', 'Q102317']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q102317 . ?b rdf:type ontology:Q1076486 }
Kielce City Stadium
Kielce City Stadium can be described as facility operator of Kielce
Kielce City Stadium
action filter_type
action find_reverse
entity Kielce
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', 'Kielce']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Kielce . ?b rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102317
P159
Q43229
USER
Which organizations have HQ at that human settlement ?
(c(Q43229),P159,Q2002170)
action filter_type
action find_reverse
entity Q102317
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q2002170']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q102317 . ?u rdf:type ontology:Q43229 }
Kielce
action filter_type
action find_reverse
entity Kielce
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Kielce City Stadium']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Kielce . ?u rdf:type ontology:organization }
[]
organization
Q9165904 Q9386313 Q6427874
SYSTEM
Barlinek, Huta Ludwików, Kolporter Holding
Q9165904 Q9386313 Q6427874
(c(Q43229),P159,Q2002170)
action filter_type
action find_reverse
entity Q102317
relation P159
type Q43229
[ANSWERS] have HQ at that human settlement
[{'concept': 'Q43229'}, 'P159', 'Q2002170']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q102317 . ?u rdf:type ontology:Q43229 }
Barlinek Huta Ludwików Kolporter Holding
Barlinek, Huta Ludwików and Kolporter Holding have HQ at that human settlement
Barlinek Huta Ludwików Kolporter Holding
action filter_type
action find_reverse
entity Kielce
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Kielce City Stadium']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Kielce . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102317
P6
Q502895
USER
Which person is the head of government of that human settlement ?
(Q9165904,P6,c(Q502895)) (Q9386313,P6,c(Q502895)) (Q6427874,P6,c(Q502895))
action filter_type
action find
entity Q102317
relation P6
type Q502895
['Q9165904', 'P6', {'concept': 'Q502895'}] ['Q9386313', 'P6', {'concept': 'Q502895'}] ['Q6427874', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q102317 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Kielce
action filter_type
action find
entity Kielce
relation head of government
type common name
['Barlinek', 'head of government', {'concept': 'common name'}] ['Huta Ludwików', 'head of government', {'concept': 'common name'}] ['Kolporter Holding', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Kielce property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q9376659
SYSTEM
Wojciech Lubawski
Q9376659
(Q9165904,P6,c(Q502895)) (Q9386313,P6,c(Q502895)) (Q6427874,P6,c(Q502895))
action filter_type
action find
entity Q102317
relation P6
type Q502895
[ANSWER] is the head of government of that human settlement
['Q9165904', 'P6', {'concept': 'Q502895'}] ['Q9386313', 'P6', {'concept': 'Q502895'}] ['Q6427874', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q102317 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Wojciech Lubawski
Wojciech Lubawski is the head of government of that human settlement
Wojciech Lubawski
action filter_type
action find
entity Kielce
relation head of government
type common name
['Barlinek', 'head of government', {'concept': 'common name'}] ['Huta Ludwików', 'head of government', {'concept': 'common name'}] ['Kolporter Holding', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Kielce property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P6
Q486972
USER
How many human settlements have that person as their head of government ?
(c(Q486972),P6,Q9376659)
action count
action filter_type
action find_reverse
entity Q9376659
relation P6
type Q486972
[{'concept': 'Q486972'}, 'P6', 'Q9376659']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P6 resource:Q9376659 . ?o rdf:type ontology:Q486972 }
action count
action filter_type
action find_reverse
entity Wojciech Lubawski
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', 'Wojciech Lubawski']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:head_of_government resource:Wojciech_Lubawski . ?o rdf:type ontology:human_settlement }
[]
human settlement
SYSTEM
1
Q102317
(c(Q486972),P6,Q9376659)
action count
action filter_type
action find_reverse
entity Q9376659
relation P6
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P6', 'Q9376659']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P6 resource:Q9376659 . ?o rdf:type ontology:Q486972 }
Kielce
1
action count
action filter_type
action find_reverse
entity Wojciech Lubawski
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', 'Wojciech Lubawski']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:head_of_government resource:Wojciech_Lubawski . ?o rdf:type ontology:human_settlement }
[]