Simple Question (Direct)
Simple Question
Q1005990
P27
Q15617994
USER
Which administrative territory is the native country of János Földessy ?
(Q1005990,P27,c(Q15617994))
action filter_type
action find
entity Q1005990
relation P27
type Q15617994
['Q1005990', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1005990 property:P27 ?z }
János Földessy
action filter_type
action find
entity János Földessy
relation country of citizenship
type designation for an administrative territorial entity
['János Földessy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:János_Földessy property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1005990,P27,c(Q15617994))
action filter_type
action find
entity Q1005990
relation P27
type Q15617994
[ANSWER] is the native country of János Földessy
['Q1005990', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1005990 property:P27 ?z }
Hungary
Hungary is the native country of János Földessy
Hungary
action filter_type
action find
entity János Földessy
relation country of citizenship
type designation for an administrative territorial entity
['János Földessy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:János_Földessy property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1005990
P20
Q56061
USER
Where did the demise of János Földessy occur ?
(Q1005990,P20,c(Q56061))
action filter_type
action find
entity Q1005990
relation P20
type Q56061
['Q1005990', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1005990 property:P20 ?n . ?n rdf:type ontology:Q56061 }
János Földessy
action filter_type
action find
entity János Földessy
relation place of death
type administrative territorial entity
['János Földessy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:János_Földessy property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1005990,P20,c(Q56061))
action filter_type
action find
entity Q1005990
relation P20
type Q56061
The demise of János Földessy occurred in [ANSWER]
['Q1005990', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1005990 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Budapest
The demise of János Földessy occurred in Budapest
Budapest
action filter_type
action find
entity János Földessy
relation place of death
type administrative territorial entity
['János Földessy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:János_Földessy property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1781 Q16558
P190
Q56061
USER
Is Fort Worth the sister city of that one ?
(Q1781,P190,Q16558)
action is_in
entity Q16558
action find
entity Q1781
relation P190
['Q1781', 'P190', 'Q16558']
ASK WHERE { resource:Q1781 property:P190 resource:Q16558 }
Budapest Fort Worth
action is_in
entity Fort Worth
action find
entity Budapest
relation sister city
['Budapest', 'sister city', 'Fort Worth']
ASK WHERE { resource:Budapest property:sister_city resource:Fort_Worth }
[]
administrative territorial entity
SYSTEM
YES
(Q1781,P190,Q16558)
action is_in
entity Q16558
action find
entity Q1781
relation P190
[ANSWER]
['Q1781', 'P190', 'Q16558']
ASK WHERE { resource:Q1781 property:P190 resource:Q16558 }
Yes
action is_in
entity Fort Worth
action find
entity Budapest
relation sister city
['Budapest', 'sister city', 'Fort Worth']
ASK WHERE { resource:Budapest property:sister_city resource:Fort_Worth }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P138
Q34442
USER
Which roads have Budapest as their toponym ?
(c(Q34442),P138,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q1781']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q1781 . ?w rdf:type ontology:Q34442 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation named after
type road
[{'concept': 'road'}, 'named after', 'Budapest']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Budapest . ?w rdf:type ontology:road }
[]
road
Q3450612 Q15818427
SYSTEM
rue de Budapest, Budapester Straße
Q3450612 Q15818427
(c(Q34442),P138,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P138
type Q34442
[ANSWERS] have Budapest as their toponym
[{'concept': 'Q34442'}, 'P138', 'Q1781']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q1781 . ?w rdf:type ontology:Q34442 }
rue de Budapest Budapester Straße
Rue de Budapest and Budapester Straße have Budapest as their toponym
rue de Budapest Budapester Straße
action filter_type
action find_reverse
entity Budapest
relation named after
type road
[{'concept': 'road'}, 'named after', 'Budapest']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Budapest . ?w rdf:type ontology:road }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15818427
P17
Q1048835
USER
Which political territory is that road located in ?
(Q15818427,P17,c(Q1048835))
action filter_type
action find
entity Q15818427
relation P17
type Q1048835
['Q15818427', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q15818427 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Budapester Straße
action filter_type
action find
entity Budapester Straße
relation country
type political territorial entity
['Budapester Straße', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Budapester_Straße property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q3450612
SYSTEM
Did you mean rue de Budapest ?
Q3450612 Q15818427
(Q3450612,P17,c(Q1048835)) (Q15818427,P17,c(Q1048835))
[ANSWER]
['Q3450612', 'P17', {'concept': 'Q1048835'}] ['Q15818427', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q15818427 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
rue de Budapest Budapester Straße
Did you mean rue de Budapest ?
rue de Budapest
['rue de Budapest', 'country', {'concept': 'political territorial entity'}] ['Budapester Straße', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Budapester_Straße property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Budapester Straße. Could you tell me the answer for that?
(Q15818427,P17,c(Q1048835))
Q15818427
['Q15818427', 'P17', {'concept': 'Q1048835'}]
['Budapester Straße', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q15818427,P17,c(Q1048835))
action filter_type
action find
entity Q15818427
relation P17
type Q1048835
That road is located in [ANSWER]
['Q15818427', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q15818427 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Germany
That road is located in Germany
Germany
action filter_type
action find
entity Budapester Straße
relation country
type political territorial entity
['Budapester Straße', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Budapester_Straße property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q916
P530
Q15617994
USER
Does Angola have diplomatic relations with Germany ?
(Q183,P530,Q916)
action is_in
entity Q916
action find
entity Q183
relation P530
['Q183', 'P530', 'Q916']
ASK WHERE { resource:Q183 property:P530 resource:Q916 }
Germany Angola
action is_in
entity Angola
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Angola }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q916)
action is_in
entity Q916
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q916']
ASK WHERE { resource:Q183 property:P530 resource:Q916 }
Yes
action is_in
entity Angola
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Angola }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P291
Q2342494
USER
Which collectables have Budapest as their publication location ?
(c(Q2342494),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1781']
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q1781 . ?o rdf:type ontology:Q2342494 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:Budapest . ?o rdf:type ontology:collectable }
[]
collectable
Q22284511 Q12346361
SYSTEM
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance, Dancu marionetoj
Q22284511 Q12346361
(c(Q2342494),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q2342494
[ANSWERS] have Budapest as their publication location
[{'concept': 'Q2342494'}, 'P291', 'Q1781']
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q1781 . ?o rdf:type ontology:Q2342494 }
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance and Dancu marionetoj have Budapest as their publication location
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
action filter_type
action find_reverse
entity Budapest
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:Budapest . ?o rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q22284511 Q12346361
P291
Q56061
USER
Which administrative territories are the places of publication of those collectables ?
(Q22284511,P291,c(Q56061)) (Q12346361,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
['Q22284511', 'P291', {'concept': 'Q56061'}] ['Q12346361', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?p property:P291 ?e . ?e rdf:type ontology:Q56061 . VALUES ( ?p ) { ( resource:Q22284511 ) ( resource:Q12346361 ) } }
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance', 'place of publication', {'concept': 'administrative territorial entity'}] ['Dancu marionetoj', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?p property:place_of_publication ?e . ?e rdf:type ontology:administrative_territorial_entity . VALUES ( ?p ) { ( resource:Synagogues_in_Hungary,_1782-1918_:_genealogy,_typology_and_architectural_significance ) ( resource:Dancu_marionetoj ) } }
[]
administrative territorial entity
Q1781 Q1781
SYSTEM
Budapest
Q1781 Q1781
(Q22284511,P291,c(Q56061)) (Q12346361,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
[ANSWER] and [ANSWER] are the places of publication of those collectables
['Q22284511', 'P291', {'concept': 'Q56061'}] ['Q12346361', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?p property:P291 ?e . ?e rdf:type ontology:Q56061 . VALUES ( ?p ) { ( resource:Q22284511 ) ( resource:Q12346361 ) } }
Budapest Budapest
Budapest and Budapest are the places of publication of those collectables
Budapest Budapest
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance', 'place of publication', {'concept': 'administrative territorial entity'}] ['Dancu marionetoj', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?p property:place_of_publication ?e . ?e rdf:type ontology:administrative_territorial_entity . VALUES ( ?p ) { ( resource:Synagogues_in_Hungary,_1782-1918_:_genealogy,_typology_and_architectural_significance ) ( resource:Dancu_marionetoj ) } }
[]