Simple Question (Direct)
Simple Question
Q742300
P20
Q56061
USER
Which administrative territory is the place of death of Hans Scherfig ?
(Q742300,P20,c(Q56061))
action filter_type
action find
entity Q742300
relation P20
type Q56061
['Q742300', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q742300 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Hans Scherfig
action filter_type
action find
entity Hans Scherfig
relation place of death
type administrative territorial entity
['Hans Scherfig', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Scherfig property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q27425
SYSTEM
Hillerød
Q27425
(Q742300,P20,c(Q56061))
action filter_type
action find
entity Q742300
relation P20
type Q56061
[ANSWER] is the place of death of Hans Scherfig
['Q742300', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q742300 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Hillerød
Hillerød is the place of death of Hans Scherfig
Hillerød
action filter_type
action find
entity Hans Scherfig
relation place of death
type administrative territorial entity
['Hans Scherfig', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Scherfig property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27425
P36
Q3976655
USER
Which Dutch administrative territories consists of that administrative territory as their capital ?
(c(Q3976655),P36,Q27425)
action filter_type
action find_reverse
entity Q27425
relation P36
type Q3976655
[{'concept': 'Q3976655'}, 'P36', 'Q27425']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q27425 . ?y rdf:type ontology:Q3976655 }
Hillerød
action filter_type
action find_reverse
entity Hillerød
relation capital
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'capital', 'Hillerød']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Hillerød . ?y rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q221394 Q26073
SYSTEM
Hillerød Municipality, Capital Region of Denmark
Q221394 Q26073
(c(Q3976655),P36,Q27425)
action filter_type
action find_reverse
entity Q27425
relation P36
type Q3976655
[ANSWERS] consist of that administrative territory as their capital
[{'concept': 'Q3976655'}, 'P36', 'Q27425']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q27425 . ?y rdf:type ontology:Q3976655 }
Hillerød Municipality Capital Region of Denmark
Hillerød Municipality and Capital Region of Denmark consist of that administrative territory as their capital
Hillerød Municipality Capital Region of Denmark
action filter_type
action find_reverse
entity Hillerød
relation capital
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'capital', 'Hillerød']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Hillerød . ?y rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5527356
P1376
Q56061
USER
Are Gathera center of administration for those Dutch administrative territories ?
(Q5527356,P1376,Q221394) (Q5527356,P1376,Q26073)
action is_in
entity prev_answer
action find
entity Q5527356
relation P1376
['Q5527356', 'P1376', 'Q221394'] ['Q5527356', 'P1376', 'Q26073']
ASK WHERE { resource:Q5527356 property:P1376 ?o . VALUES ( ?o ) { ( resource:Q221394 ) ( resource:Q26073 ) } }
Gathera
action is_in
entity prev_answer
action find
entity Gathera
relation capital of
['Gathera', 'capital of', 'Hillerød Municipality'] ['Gathera', 'capital of', 'Capital Region of Denmark']
ASK WHERE { resource:Gathera property:capital_of ?o . VALUES ( ?o ) { ( resource:Hillerød_Municipality ) ( resource:Capital_Region_of_Denmark ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q5527356,P1376,Q221394) (Q5527356,P1376,Q26073)
action is_in
entity prev_answer
action find
entity Q5527356
relation P1376
[ANSWER]
['Q5527356', 'P1376', 'Q221394'] ['Q5527356', 'P1376', 'Q26073']
ASK WHERE { resource:Q5527356 property:P1376 ?o . VALUES ( ?o ) { ( resource:Q221394 ) ( resource:Q26073 ) } }
No
action is_in
entity prev_answer
action find
entity Gathera
relation capital of
['Gathera', 'capital of', 'Hillerød Municipality'] ['Gathera', 'capital of', 'Capital Region of Denmark']
ASK WHERE { resource:Gathera property:capital_of ?o . VALUES ( ?o ) { ( resource:Hillerød_Municipality ) ( resource:Capital_Region_of_Denmark ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q221394 Q18647267
P6
Q502895
USER
Does Hillerød Municipality serve as the head of government for Dorte Meldgaard ?
(Q221394,P6,Q18647267)
action is_in
entity Q18647267
action find
entity Q221394
relation P6
['Q221394', 'P6', 'Q18647267']
ASK WHERE { resource:Q221394 property:P6 resource:Q18647267 }
Hillerød Municipality Dorte Meldgaard
action is_in
entity Dorte Meldgaard
action find
entity Hillerød Municipality
relation head of government
['Hillerød Municipality', 'head of government', 'Dorte Meldgaard']
ASK WHERE { resource:Hillerød_Municipality property:head_of_government resource:Dorte_Meldgaard }
[]
common name
SYSTEM
YES
(Q221394,P6,Q18647267)
action is_in
entity Q18647267
action find
entity Q221394
relation P6
[ANSWER]
['Q221394', 'P6', 'Q18647267']
ASK WHERE { resource:Q221394 property:P6 resource:Q18647267 }
Yes
action is_in
entity Dorte Meldgaard
action find
entity Hillerød Municipality
relation head of government
['Hillerød Municipality', 'head of government', 'Dorte Meldgaard']
ASK WHERE { resource:Hillerød_Municipality property:head_of_government resource:Dorte_Meldgaard }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q26073 Q35 Q1406739
P17
Q1048835
USER
Is Capital Region of Denmark located in Denmark and Turrillas ?
(Q26073,P17,Q35) (Q26073,P17,Q1406739)
action is_in
entity Q26073
action intersection
action find_reverse
entity Q35
relation P17
action find_reverse
entity Q1406739
relation P17
['Q26073', 'P17', 'Q35'] ['Q26073', 'P17', 'Q1406739']
ASK WHERE { resource:Q26073 property:P17 resource:Q35 . resource:Q26073 property:P17 resource:Q1406739 }
Capital Region of Denmark Denmark Turrillas
action is_in
entity Capital Region of Denmark
action intersection
action find_reverse
entity Denmark
relation country
action find_reverse
entity Turrillas
relation country
['Capital Region of Denmark', 'country', 'Denmark'] ['Capital Region of Denmark', 'country', 'Turrillas']
ASK WHERE { resource:Capital_Region_of_Denmark property:country resource:Denmark . resource:Capital_Region_of_Denmark property:country resource:Turrillas }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q26073,P17,Q35) (Q26073,P17,Q1406739)
action is_in
entity Q26073
action intersection
action find_reverse
entity Q35
relation P17
action find_reverse
entity Q1406739
relation P17
[ANSWER]
['Q26073', 'P17', 'Q35'] ['Q26073', 'P17', 'Q1406739']
ASK WHERE { resource:Q26073 property:P17 resource:Q35 . resource:Q26073 property:P17 resource:Q1406739 }
YES and NO respectively
action is_in
entity Capital Region of Denmark
action intersection
action find_reverse
entity Denmark
relation country
action find_reverse
entity Turrillas
relation country
['Capital Region of Denmark', 'country', 'Denmark'] ['Capital Region of Denmark', 'country', 'Turrillas']
ASK WHERE { resource:Capital_Region_of_Denmark property:country resource:Denmark . resource:Capital_Region_of_Denmark property:country resource:Turrillas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q27425 Q1769113 Q35
P17
Q1048835
USER
Is Hillerød located in Navianos de Valverde and Denmark ?
(Q27425,P17,Q1769113) (Q27425,P17,Q35)
action is_in
entity Q27425
action intersection
action find_reverse
entity Q1769113
relation P17
action find_reverse
entity Q35
relation P17
['Q27425', 'P17', 'Q1769113'] ['Q27425', 'P17', 'Q35']
ASK WHERE { resource:Q27425 property:P17 resource:Q1769113 . resource:Q27425 property:P17 resource:Q35 }
Hillerød Navianos de Valverde Denmark
action is_in
entity Hillerød
action intersection
action find_reverse
entity Navianos de Valverde
relation country
action find_reverse
entity Denmark
relation country
['Hillerød', 'country', 'Navianos de Valverde'] ['Hillerød', 'country', 'Denmark']
ASK WHERE { resource:Hillerød property:country resource:Navianos_de_Valverde . resource:Hillerød property:country resource:Denmark }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q27425,P17,Q1769113) (Q27425,P17,Q35)
action is_in
entity Q27425
action intersection
action find_reverse
entity Q1769113
relation P17
action find_reverse
entity Q35
relation P17
[ANSWER]
['Q27425', 'P17', 'Q1769113'] ['Q27425', 'P17', 'Q35']
ASK WHERE { resource:Q27425 property:P17 resource:Q1769113 . resource:Q27425 property:P17 resource:Q35 }
NO and YES respectively
action is_in
entity Hillerød
action intersection
action find_reverse
entity Navianos de Valverde
relation country
action find_reverse
entity Denmark
relation country
['Hillerød', 'country', 'Navianos de Valverde'] ['Hillerød', 'country', 'Denmark']
ASK WHERE { resource:Hillerød property:country resource:Navianos_de_Valverde . resource:Hillerød property:country resource:Denmark }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q221394 Q4189678 Q4230283
P17
Q1048835
USER
Is Hillerød Municipality located in Zvonetskyi Khutir and Stepove ?
(Q221394,P17,Q4189678) (Q221394,P17,Q4230283)
action is_in
entity Q221394
action intersection
action find_reverse
entity Q4189678
relation P17
action find_reverse
entity Q4230283
relation P17
['Q221394', 'P17', 'Q4189678'] ['Q221394', 'P17', 'Q4230283']
ASK WHERE { resource:Q221394 property:P17 resource:Q4189678 . resource:Q221394 property:P17 resource:Q4230283 }
Hillerød Municipality Zvonetskyi Khutir Stepove
action is_in
entity Hillerød Municipality
action intersection
action find_reverse
entity Zvonetskyi Khutir
relation country
action find_reverse
entity Stepove
relation country
['Hillerød Municipality', 'country', 'Zvonetskyi Khutir'] ['Hillerød Municipality', 'country', 'Stepove']
ASK WHERE { resource:Hillerød_Municipality property:country resource:Zvonetskyi_Khutir . resource:Hillerød_Municipality property:country resource:Stepove }
[]
political territorial entity
SYSTEM
NO
(Q221394,P17,Q4189678) (Q221394,P17,Q4230283)
action is_in
entity Q221394
action intersection
action find_reverse
entity Q4189678
relation P17
action find_reverse
entity Q4230283
relation P17
[ANSWER]
['Q221394', 'P17', 'Q4189678'] ['Q221394', 'P17', 'Q4230283']
ASK WHERE { resource:Q221394 property:P17 resource:Q4189678 . resource:Q221394 property:P17 resource:Q4230283 }
No
action is_in
entity Hillerød Municipality
action intersection
action find_reverse
entity Zvonetskyi Khutir
relation country
action find_reverse
entity Stepove
relation country
['Hillerød Municipality', 'country', 'Zvonetskyi Khutir'] ['Hillerød Municipality', 'country', 'Stepove']
ASK WHERE { resource:Hillerød_Municipality property:country resource:Zvonetskyi_Khutir . resource:Hillerød_Municipality property:country resource:Stepove }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q221394 Q5554575
P17
Q1048835
USER
How many political territories are Hillerød Municipality or Getting Along Famously located in ?
(Q221394,P17,c(Q1048835)) (Q5554575,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q221394
relation P17
type Q1048835
action filter_type
action find
entity Q5554575
relation P17
type Q1048835
['Q221394', 'P17', {'concept': 'Q1048835'}] ['Q5554575', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:Q1048835 . resource:Q221394 property:P17 ?k } UNION { resource:Q5554575 property:P17 ?k . ?k rdf:type ontology:Q1048835 } }
Hillerød Municipality Getting Along Famously
action count
action union
action filter_type
action find
entity Hillerød Municipality
relation country
type political territorial entity
action filter_type
action find
entity Getting Along Famously
relation country
type political territorial entity
['Hillerød Municipality', 'country', {'concept': 'political territorial entity'}] ['Getting Along Famously', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:political_territorial_entity . resource:Hillerød_Municipality property:country ?k } UNION { resource:Getting_Along_Famously property:country ?k . ?k rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q16 Q35
(Q221394,P17,c(Q1048835)) (Q5554575,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q221394
relation P17
type Q1048835
action filter_type
action find
entity Q5554575
relation P17
type Q1048835
[ANSWER]
['Q221394', 'P17', {'concept': 'Q1048835'}] ['Q5554575', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:Q1048835 . resource:Q221394 property:P17 ?k } UNION { resource:Q5554575 property:P17 ?k . ?k rdf:type ontology:Q1048835 } }
Canada Denmark
2
action count
action union
action filter_type
action find
entity Hillerød Municipality
relation country
type political territorial entity
action filter_type
action find
entity Getting Along Famously
relation country
type political territorial entity
['Hillerød Municipality', 'country', {'concept': 'political territorial entity'}] ['Getting Along Famously', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:political_territorial_entity . resource:Hillerød_Municipality property:country ?k } UNION { resource:Getting_Along_Famously property:country ?k . ?k rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26699798 Q26073
P17 P1001
Q1048835
USER
Which political territories do Capital Region of Denmark belong to or come under the jurisdiction of mayor of Villanueva de Arosa ?
OR((Q26073,P17,c(Q1048835)), (Q26699798,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q26073
relation P17
action find
entity Q26699798
relation P1001
type Q1048835
{'OR': [['Q26073', 'P17', {'concept': 'Q1048835'}], ['Q26699798', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q26699798 property:P1001 ?n } UNION { resource:Q26073 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
mayor of Villanueva de Arosa Capital Region of Denmark
action filter_type
action union
action find
entity Capital Region of Denmark
relation country
action find
entity mayor of Villanueva de Arosa
relation applies to jurisdiction
type political territorial entity
{'OR': [['Capital Region of Denmark', 'country', {'concept': 'political territorial entity'}], ['mayor of Villanueva de Arosa', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:mayor_of_Villanueva_de_Arosa property:applies_to_jurisdiction ?n } UNION { resource:Capital_Region_of_Denmark property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q739495 Q35
SYSTEM
Vilanova de Arousa, Denmark
Q739495 Q35
OR((Q26073,P17,c(Q1048835)), (Q26699798,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q26073
relation P17
action find
entity Q26699798
relation P1001
type Q1048835
[ANSWERS] Capital Region of Denmark belong to or come under the jurisdiction of mayor of Villanueva de Arosa
{'OR': [['Q26073', 'P17', {'concept': 'Q1048835'}], ['Q26699798', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q26699798 property:P1001 ?n } UNION { resource:Q26073 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Vilanova de Arousa Denmark
Vilanova de Arousa and Denmark Capital Region of Denmark belong to or come under the jurisdiction of mayor of Villanueva de Arosa
Vilanova de Arousa Denmark
action filter_type
action union
action find
entity Capital Region of Denmark
relation country
action find
entity mayor of Villanueva de Arosa
relation applies to jurisdiction
type political territorial entity
{'OR': [['Capital Region of Denmark', 'country', {'concept': 'political territorial entity'}], ['mayor of Villanueva de Arosa', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:mayor_of_Villanueva_de_Arosa property:applies_to_jurisdiction ?n } UNION { resource:Capital_Region_of_Denmark property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6711654 Q221394
P1376
Q56061
USER
Which administrative territories are the capital of Hillerød Municipality or Lēdmane Parish ?
OR((c(Q56061),P1376,Q221394), (c(Q56061),P1376,Q6711654))
action filter_type
action union
action find_reverse
entity Q221394
relation P1376
action find_reverse
entity Q6711654
relation P1376
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P1376', 'Q221394'], [{'concept': 'Q56061'}, 'P1376', 'Q6711654']]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?l ) { ( resource:Q221394 ) ( resource:Q6711654 ) } . ?i property:P1376 ?l } . ?i rdf:type ontology:Q56061 }
Lēdmane Parish Hillerød Municipality
action filter_type
action union
action find_reverse
entity Hillerød Municipality
relation capital of
action find_reverse
entity Lēdmane Parish
relation capital of
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Hillerød Municipality'], [{'concept': 'administrative territorial entity'}, 'capital of', 'Lēdmane Parish']]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?l ) { ( resource:Hillerød_Municipality ) ( resource:Lēdmane_Parish ) } . ?i property:capital_of ?l } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15219301 Q27425
SYSTEM
Lēdmane, Hillerød
Q15219301 Q27425
OR((c(Q56061),P1376,Q221394), (c(Q56061),P1376,Q6711654))
action filter_type
action union
action find_reverse
entity Q221394
relation P1376
action find_reverse
entity Q6711654
relation P1376
type Q56061
And [ANSWERS] are the capital of Hillerød Municipality or Lēdmane Parish
{'OR': [[{'concept': 'Q56061'}, 'P1376', 'Q221394'], [{'concept': 'Q56061'}, 'P1376', 'Q6711654']]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?l ) { ( resource:Q221394 ) ( resource:Q6711654 ) } . ?i property:P1376 ?l } . ?i rdf:type ontology:Q56061 }
Lēdmane Hillerød
And Lēdmane and Hillerød are the capital of Hillerød Municipality or Lēdmane Parish
Lēdmane Hillerød
action filter_type
action union
action find_reverse
entity Hillerød Municipality
relation capital of
action find_reverse
entity Lēdmane Parish
relation capital of
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Hillerød Municipality'], [{'concept': 'administrative territorial entity'}, 'capital of', 'Lēdmane Parish']]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?l ) { ( resource:Hillerød_Municipality ) ( resource:Lēdmane_Parish ) } . ?i property:capital_of ?l } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q7275 Q22676587 Q1048835
USER
How many political territories have atleast 1 states or monarchic systems as government ?
(c(Q1048835),P122,c(Q7275)|c(Q22676587))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
value 1
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?t WHERE { { ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q7275 . ?t property:P122 ?l } UNION { ?t property:P122 ?l . ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q22676587 } } GROUP BY ?t } . FILTER ( ?b >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
value 1
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?t WHERE { { ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:state . ?t property:basic_form_of_government ?l } UNION { ?t property:basic_form_of_government ?l . ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:monarchic_system } } GROUP BY ?t } . FILTER ( ?b >= 1 ) }
[]
state monarchic system political territorial entity
SYSTEM
2
Q763 Q129286
(c(Q1048835),P122,c(Q7275)|c(Q22676587))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q1048835
type Q7275
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?t WHERE { { ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q7275 . ?t property:P122 ?l } UNION { ?t property:P122 ?l . ?t rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q22676587 } } GROUP BY ?t } . FILTER ( ?b >= 1 ) }
Saint Kitts and Nevis British Raj
2
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
value 1
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?t WHERE { { ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:state . ?t property:basic_form_of_government ?l } UNION { ?t property:basic_form_of_government ?l . ?t rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:monarchic_system } } GROUP BY ?t } . FILTER ( ?b >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27425
P19
Q502895
USER
How many people have location of birth at Hillerød ?
(c(Q502895),P19,Q27425)
action count
action filter_type
action find_reverse
entity Q27425
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q27425']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P19 resource:Q27425 . ?q rdf:type ontology:Q502895 }
Hillerød
action count
action filter_type
action find_reverse
entity Hillerød
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hillerød']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:place_of_birth resource:Hillerød . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
41
Q115988 Q1092856 Q6333052 Q5744862 Q22004434 Q219010 Q3807931 Q3808527 Q154360 Q12326083 Q1590653 Q6491501 Q5109422 Q2625316 Q7176535 Q1892053 Q952472 Q429112 Q5217683 Q942029 Q5716099 Q1809968 Q453027 Q2168364 Q15844737 Q512386 Q362397 Q7819302 Q918374 Q10519371 Q1794177 Q5585115 Q1037599 Q1386832 Q559253 Q1912327 Q2719575 Q16063650 Q12312743 Q3133872 Q2081589
(c(Q502895),P19,Q27425)
action count
action filter_type
action find_reverse
entity Q27425
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q27425']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P19 resource:Q27425 . ?q rdf:type ontology:Q502895 }
Birgitte Hjort Sørensen Kasper Nielsen Lene Maria Christensen Hartvig Frisch Jørgen Gabrielsen Christiern Pedersen Jens Peter Berthelsen Joachim Jerichow Louise Lyksborg Marie Luplau Peter Sandvang Lars Halvor Jensen Christian Christiansen Jørgen Marcussen Peter Rasmussen Marcus Cleverly Simon Emil Ammitzbøll Nicki Sørensen Daniel Jensen Louis Hasselriis Henriette Engel Hansen Jette Kaarsbøl Aneela Mirza Jesper Mikkelsen Casper Munk Christiansen Karen Hækkerup Carl Emil Dahlerup Tommy Christensen Jan Budtz David Jensen Kurt Trampedach Hans Ole Brasen Carl Edvard Rotwitt Jokeren Ulrik of Denmark Max Brüel Kai Larsen Dorte Olesen Frederik Weibel Peter Jørgensen Ole Budtz
41
action count
action filter_type
action find_reverse
entity Hillerød
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hillerød']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:place_of_birth resource:Hillerød . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27425
P190
Q515
USER
Which city is sister town of that administrative territory ?
action filter_type
action find
entity Q27425
relation P190
type Q515
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q27425 property:P190 ?m }
Hillerød
action filter_type
action find
entity Hillerød
relation sister city
type city
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Hillerød property:sister_city ?m }
[]
city
Q209988
SYSTEM
Gödöllő
Q209988
action filter_type
action find
entity Q27425
relation P190
type Q515
[ANSWER] is sister town of that administrative territory
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q27425 property:P190 ?m }
Gödöllő
Gödöllő is sister town of that administrative territory
Gödöllő
action filter_type
action find
entity Hillerød
relation sister city
type city
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Hillerød property:sister_city ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q209988 Q28
P17
Q15617994
USER
Does that city belong to Hungary ?
(Q209988,P17,Q28)
action is_in
entity Q28
action find
entity Q209988
relation P17
['Q209988', 'P17', 'Q28']
ASK WHERE { resource:Q209988 property:P17 resource:Q28 }
Gödöllő Hungary
action is_in
entity Hungary
action find
entity Gödöllő
relation country
['Gödöllő', 'country', 'Hungary']
ASK WHERE { resource:Gödöllő property:country resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q209988,P17,Q28)
action is_in
entity Q28
action find
entity Q209988
relation P17
[ANSWER]
['Q209988', 'P17', 'Q28']
ASK WHERE { resource:Q209988 property:P17 resource:Q28 }
Yes
action is_in
entity Hungary
action find
entity Gödöllő
relation country
['Gödöllő', 'country', 'Hungary']
ASK WHERE { resource:Gödöllő property:country resource:Hungary }
[]