Simple Question (Direct)
Simple Question
Q1289914
P20
Q56061
USER
Where did the demise of Norbert Solymosi occur ?
(Q1289914,P20,c(Q56061))
action filter_type
action find
entity Q1289914
relation P20
type Q56061
['Q1289914', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1289914 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Norbert Solymosi
action filter_type
action find
entity Norbert Solymosi
relation place of death
type administrative territorial entity
['Norbert Solymosi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Norbert_Solymosi property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1289914,P20,c(Q56061))
action filter_type
action find
entity Q1289914
relation P20
type Q56061
The demise of Norbert Solymosi occurred in [ANSWER]
['Q1289914', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1289914 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Budapest
The demise of Norbert Solymosi occurred in Budapest
Budapest
action filter_type
action find
entity Norbert Solymosi
relation place of death
type administrative territorial entity
['Norbert Solymosi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Norbert_Solymosi property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1289914
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1781,P27,c(Q15617994))
action filter_type
action find
entity Q1289914
relation P27
type Q15617994
['Q1781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1289914 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Norbert Solymosi
action filter_type
action find
entity Norbert Solymosi
relation country of citizenship
type designation for an administrative territorial entity
['Budapest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Norbert_Solymosi property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1781,P27,c(Q15617994))
action filter_type
action find
entity Q1289914
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q1781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1289914 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Hungary
The Hungary is the native country of that person
Hungary
action filter_type
action find
entity Norbert Solymosi
relation country of citizenship
type designation for an administrative territorial entity
['Budapest', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Norbert_Solymosi property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q28 Q632397 Q218
P47
Q15617994
USER
Is Hungary bordered by Neunkirchen and Romania ?
(Q28,P47,Q632397) (Q28,P47,Q218)
action is_in
entity Q28
action intersection
action find_reverse
entity Q632397
relation P47
action find_reverse
entity Q218
relation P47
['Q28', 'P47', 'Q632397'] ['Q28', 'P47', 'Q218']
ASK WHERE { resource:Q28 property:P47 resource:Q632397 . resource:Q28 property:P47 resource:Q218 }
Hungary Neunkirchen Romania
action is_in
entity Hungary
action intersection
action find_reverse
entity Neunkirchen
relation shares border with
action find_reverse
entity Romania
relation shares border with
['Hungary', 'shares border with', 'Neunkirchen'] ['Hungary', 'shares border with', 'Romania']
ASK WHERE { resource:Hungary property:shares_border_with resource:Neunkirchen . resource:Hungary property:shares_border_with resource:Romania }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q28,P47,Q632397) (Q28,P47,Q218)
action is_in
entity Q28
action intersection
action find_reverse
entity Q632397
relation P47
action find_reverse
entity Q218
relation P47
[ANSWER]
['Q28', 'P47', 'Q632397'] ['Q28', 'P47', 'Q218']
ASK WHERE { resource:Q28 property:P47 resource:Q632397 . resource:Q28 property:P47 resource:Q218 }
NO and YES respectively
action is_in
entity Hungary
action intersection
action find_reverse
entity Neunkirchen
relation shares border with
action find_reverse
entity Romania
relation shares border with
['Hungary', 'shares border with', 'Neunkirchen'] ['Hungary', 'shares border with', 'Romania']
ASK WHERE { resource:Hungary property:shares_border_with resource:Neunkirchen . resource:Hungary property:shares_border_with resource:Romania }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately 12 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 12 ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?s property:P530 ?x } GROUP BY ?s } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 12 ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?x } GROUP BY ?s } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q822 Q241 Q31 Q27 Q222 Q347 Q17 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 12
[ANSWERS] hold diplomatic relationship with approximately 12 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 12 ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?s property:P530 ?x } GROUP BY ?s } }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Lebanon Cuba Belgium Ireland Albania Liechtenstein Japan Czech Republic Angola Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China hold diplomatic relationship with approximately 12 administrative territories
France Zambia People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 12 ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?r ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?x } GROUP BY ?s } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q142) (Q408,P530,Q953) (Q408,P530,Q148)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q953'] ['Q408', 'P530', 'Q148']
ASK WHERE { resource:Q408 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q668 ) ( resource:Q414 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Zambia'] ['Australia', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Australia property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:India ) ( resource:Argentina ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q142) (Q408,P530,Q953) (Q408,P530,Q148)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q953'] ['Q408', 'P530', 'Q148']
ASK WHERE { resource:Q408 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q668 ) ( resource:Q414 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Zambia'] ['Australia', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Australia property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:India ) ( resource:Argentina ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P1376
Q56061
USER
Which administrative territory is center of administration for Hungary ?
(c(Q56061),P1376,Q28)
action filter_type
action find_reverse
entity Q28
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q28']
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q28 . ?o rdf:type ontology:Q56061 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Hungary']
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Hungary . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(c(Q56061),P1376,Q28)
action filter_type
action find_reverse
entity Q28
relation P1376
type Q56061
Hungary [ANSWER] is center of administration for Hungary
[{'concept': 'Q56061'}, 'P1376', 'Q28']
SELECT DISTINCT ?o WHERE { ?o property:P1376 resource:Q28 . ?o rdf:type ontology:Q56061 }
Budapest
Hungary Budapest is center of administration for Hungary
Budapest
action filter_type
action find_reverse
entity Hungary
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Hungary']
SELECT DISTINCT ?o WHERE { ?o property:capital_of resource:Hungary . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P291
Q1002697
USER
Which periodical literature has that administrative territory as its publication place ?
(c(Q1002697),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q1781']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q1781 . ?i rdf:type ontology:Q1002697 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Budapest . ?i rdf:type ontology:periodical_literature }
[]
periodical literature
Q1002830
SYSTEM
Fordulat
Q1002830
(c(Q1002697),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q1002697
[ANSWER] has that administrative territory as its publication place
[{'concept': 'Q1002697'}, 'P291', 'Q1781']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q1781 . ?i rdf:type ontology:Q1002697 }
Fordulat
Fordulat has that administrative territory as its publication place
Fordulat
action filter_type
action find_reverse
entity Budapest
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Budapest . ?i rdf:type ontology:periodical_literature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P17
Q5589178
USER
Which regime does that administrative territory belong to ?
(Q1002830,P17,c(Q5589178))
action filter_type
action find
entity Q1781
relation P17
type Q5589178
['Q1002830', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5589178 . resource:Q1781 property:P17 ?h }
Budapest
action filter_type
action find
entity Budapest
relation country
type regime
['Fordulat', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:regime . resource:Budapest property:country ?h }
[]
regime
Q516160
SYSTEM
First Hungarian Republic
Q516160
(Q1002830,P17,c(Q5589178))
action filter_type
action find
entity Q1781
relation P17
type Q5589178
That administrative territory belongs to [ANSWER]
['Q1002830', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5589178 . resource:Q1781 property:P17 ?h }
First Hungarian Republic
That administrative territory belongs to First Hungarian Republic
First Hungarian Republic
action filter_type
action find
entity Budapest
relation country
type regime
['Fordulat', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:regime . resource:Budapest property:country ?h }
[]