Simple Question (Direct)
Simple Question
Q6260953
P607
Q198
USER
Which war did John Todd take part in ?
(Q6260953,P607,c(Q198))
action filter_type
action find
entity Q6260953
relation P607
type Q198
['Q6260953', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q6260953 property:P607 ?f . ?f rdf:type ontology:Q198 }
John Todd
action filter_type
action find
entity John Todd
relation conflict
type war
['John Todd', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:John_Todd property:conflict ?f . ?f rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q6260953,P607,c(Q198))
action filter_type
action find
entity Q6260953
relation P607
type Q198
John Todd took part in [ANSWER]
['Q6260953', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q6260953 property:P607 ?f . ?f rdf:type ontology:Q198 }
World War I
John Todd took part in World War I
World War I
action filter_type
action find
entity John Todd
relation conflict
type war
['John Todd', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:John_Todd property:conflict ?f . ?f rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6260953
P166
Q618779
USER
Which awards were that person awarded with ?
(Q361,P166,c(Q618779))
action filter_type
action find
entity Q6260953
relation P166
type Q618779
['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q6260953 property:P166 ?m . ?m rdf:type ontology:Q618779 }
John Todd
action filter_type
action find
entity John Todd
relation award received
type award
['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:John_Todd property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q1335064 Q1229534
SYSTEM
Military Cross, Distinguished Flying Cross
Q1335064 Q1229534
(Q361,P166,c(Q618779))
action filter_type
action find
entity Q6260953
relation P166
type Q618779
That person were awarded the [ANSWERS]
['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q6260953 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Military Cross Distinguished Flying Cross
That person were awarded the Military Cross and Distinguished Flying Cross
Military Cross Distinguished Flying Cross
action filter_type
action find
entity John Todd
relation award received
type award
['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:John_Todd property:award_received ?m . ?m rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5828357 Q6260953
P27
Q15617994
USER
Which administrative territories are John Todd or Frans Gustaf Janson a civilian of ?
OR((Q6260953,P27,c(Q15617994)), (Q5828357,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6260953
relation P27
action find
entity Q5828357
relation P27
type Q15617994
{'OR': [['Q6260953', 'P27', {'concept': 'Q15617994'}], ['Q5828357', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6260953 property:P27 ?g } UNION { resource:Q5828357 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Frans Gustaf Janson John Todd
action filter_type
action union
action find
entity John Todd
relation country of citizenship
action find
entity Frans Gustaf Janson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Todd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frans Gustaf Janson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_Todd property:country_of_citizenship ?g } UNION { resource:Frans_Gustaf_Janson property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q6260953,P27,c(Q15617994)), (Q5828357,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6260953
relation P27
action find
entity Q5828357
relation P27
type Q15617994
[ANSWERS] are John Todd or Frans Gustaf Janson a civilian of
{'OR': [['Q6260953', 'P27', {'concept': 'Q15617994'}], ['Q5828357', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6260953 property:P27 ?g } UNION { resource:Q5828357 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
United Kingdom Sweden
United Kingdom and Sweden are John Todd or Frans Gustaf Janson a civilian of
United Kingdom Sweden
action filter_type
action union
action find
entity John Todd
relation country of citizenship
action find
entity Frans Gustaf Janson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Todd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frans Gustaf Janson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_Todd property:country_of_citizenship ?g } UNION { resource:Frans_Gustaf_Janson property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately 41 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l property:P530 ?w . ?l rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?m = 41 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l property:diplomatic_relation ?w . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?m = 41 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[ANSWER] have tactful political relations with approximately 41 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l property:P530 ?w . ?l rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?m = 41 ) }
Belarus
Belarus have tactful political relations with approximately 41 administrative territories
Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l property:diplomatic_relation ?w . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?m = 41 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5828357
P734
Q82799
USER
Who is associated with Frans Gustaf Janson ?
(Q5828357,P734,c(Q82799))
action filter_type
action find
entity Q5828357
relation P734
type Q82799
['Q5828357', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q5828357 property:P734 ?r }
Frans Gustaf Janson
action filter_type
action find
entity Frans Gustaf Janson
relation family name
type name
['Frans Gustaf Janson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Frans_Gustaf_Janson property:family_name ?r }
[]
name
Q16871135
SYSTEM
Janson
Q16871135
(Q5828357,P734,c(Q82799))
action filter_type
action find
entity Q5828357
relation P734
type Q82799
Gustaf [ANSWER] is associated with Frans Gustaf [ANSWER]
['Q5828357', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q5828357 property:P734 ?r }
Janson
Gustaf Janson is associated with Frans Gustaf Janson
Janson
action filter_type
action find
entity Frans Gustaf Janson
relation family name
type name
['Frans Gustaf Janson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Frans_Gustaf_Janson property:family_name ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11399054
Q82799
USER
And also tell me about Chie Kato?
(Q11399054,P734,c(Q82799))
action filter_type
action find
entity Q11399054
relation P734
type Q82799
['Q11399054', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q11399054 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Chie Kato
action filter_type
action find
entity Chie Kato
relation family name
type name
['Chie Kato', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Chie_Kato property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q15985375
SYSTEM
Kato
Q15985375
(Q11399054,P734,c(Q82799))
action filter_type
action find
entity Q11399054
relation P734
type Q82799
[ANSWER]
['Q11399054', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q11399054 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Kato
Kato
action filter_type
action find
entity Chie Kato
relation family name
type name
['Chie Kato', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Chie_Kato property:family_name ?i . ?i rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q433531 Q6260953
P27
Q15617994
USER
Which administrative territories are John Todd or Policarpo Bonilla a civilian of ?
OR((Q6260953,P27,c(Q15617994)), (Q433531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6260953
relation P27
action find
entity Q433531
relation P27
type Q15617994
{'OR': [['Q6260953', 'P27', {'concept': 'Q15617994'}], ['Q433531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { ?m property:P27 ?u . VALUES ( ?m ) { ( resource:Q6260953 ) ( resource:Q433531 ) } } }
Policarpo Bonilla John Todd
action filter_type
action union
action find
entity John Todd
relation country of citizenship
action find
entity Policarpo Bonilla
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Todd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Policarpo Bonilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country_of_citizenship ?u . VALUES ( ?m ) { ( resource:John_Todd ) ( resource:Policarpo_Bonilla ) } } }
[]
designation for an administrative territorial entity
Q783 Q145
SYSTEM
Honduras, United Kingdom
Q783 Q145
OR((Q6260953,P27,c(Q15617994)), (Q433531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6260953
relation P27
action find
entity Q433531
relation P27
type Q15617994
[ANSWERS] are John Todd or Policarpo Bonilla a civilian of
{'OR': [['Q6260953', 'P27', {'concept': 'Q15617994'}], ['Q433531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { ?m property:P27 ?u . VALUES ( ?m ) { ( resource:Q6260953 ) ( resource:Q433531 ) } } }
Honduras United Kingdom
Honduras and United Kingdom are John Todd or Policarpo Bonilla a civilian of
Honduras United Kingdom
action filter_type
action union
action find
entity John Todd
relation country of citizenship
action find
entity Policarpo Bonilla
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Todd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Policarpo Bonilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country_of_citizenship ?u . VALUES ( ?m ) { ( resource:John_Todd ) ( resource:Policarpo_Bonilla ) } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q43 Q783
P1001
Q1292279
USER
Which political borders have jurisdiction over Honduras or Turkey ?
OR((c(Q1292279),P1001,Q783), (c(Q1292279),P1001,Q43))
action filter_type
action union
action find_reverse
entity Q783
relation P1001
action find_reverse
entity Q43
relation P1001
type Q1292279
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q783'], [{'concept': 'Q1292279'}, 'P1001', 'Q43']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?b ) { ( resource:Q43 ) ( resource:Q783 ) } . ?j property:P1001 ?b } . ?j rdf:type ontology:Q1292279 }
Turkey Honduras
action filter_type
action union
action find_reverse
entity Honduras
relation applies to jurisdiction
action find_reverse
entity Turkey
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Honduras'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Turkey']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?b ) { ( resource:Turkey ) ( resource:Honduras ) } . ?j property:applies_to_jurisdiction ?b } . ?j rdf:type ontology:political_border }
[]
political border
Q3088877 Q16025279 Q17351839 Q17351770 Q17351721 Q17351735 Q17351769 Q3088787 Q3088731 Q3088749
SYSTEM
Some of them are Colombia–Honduras border, Russia–Turkey border, Turkey–Ukraine border, Honduras–Mexico border, Belize–Honduras border, Cuba–Honduras border, Honduras–Jamaica border, Iran–Turkey border, Armenia–Turkey border, Azerbaijan–Turkey border
Q3088749 Q3088877 Q3088873 Q3088788 Q3088787 Q17351721 Q3089089 Q16025279 Q17351735 Q3088922 Q3088996 Q17351769 Q17351742 Q3089077 Q3088937 Q17351770 Q3088731 Q3089085 Q17351839
OR((c(Q1292279),P1001,Q783), (c(Q1292279),P1001,Q43))
action filter_type
action union
action find_reverse
entity Q783
relation P1001
action find_reverse
entity Q43
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over Honduras or Turkey
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q783'], [{'concept': 'Q1292279'}, 'P1001', 'Q43']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?b ) { ( resource:Q43 ) ( resource:Q783 ) } . ?j property:P1001 ?b } . ?j rdf:type ontology:Q1292279 }
Azerbaijan–Turkey border Colombia–Honduras border Bulgaria–Turkey border Iraq–Turkey border Iran–Turkey border Belize–Honduras border El Salvador–Honduras border Russia–Turkey border Cuba–Honduras border Greece–Turkey border Syria–Turkey border Honduras–Jamaica border Cyprus–Turkey border Guatemala–Honduras border Georgia–Turkey border Honduras–Mexico border Armenia–Turkey border Honduras–Nicaragua border Turkey–Ukraine border
Colombia–Honduras border, Russia–Turkey border, Turkey–Ukraine border, Honduras–Mexico border, Belize–Honduras border, Cuba–Honduras border, Honduras–Jamaica border, Iran–Turkey border, Armenia–Turkey border and Azerbaijan–Turkey border have jurisdiction over Honduras or Turkey
Colombia–Honduras border Russia–Turkey border Turkey–Ukraine border Honduras–Mexico border Belize–Honduras border Cuba–Honduras border Honduras–Jamaica border Iran–Turkey border Armenia–Turkey border Azerbaijan–Turkey border
action filter_type
action union
action find_reverse
entity Honduras
relation applies to jurisdiction
action find_reverse
entity Turkey
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Honduras'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Turkey']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?b ) { ( resource:Turkey ) ( resource:Honduras ) } . ?j property:applies_to_jurisdiction ?b } . ?j rdf:type ontology:political_border }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17351769
P17
Q1048835
USER
Which political territory is that political border present in ?
(Q17351769,P17,c(Q1048835))
action filter_type
action find
entity Q17351769
relation P17
type Q1048835
['Q17351769', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q17351769 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Honduras–Jamaica border
action filter_type
action find
entity Honduras–Jamaica border
relation country
type political territorial entity
['Honduras–Jamaica border', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Honduras–Jamaica_border property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q3088749
SYSTEM
Did you mean Azerbaijan–Turkey border ?
Q3088877 Q16025279 Q17351839 Q17351770 Q17351721 Q17351735 Q17351769 Q3088787 Q3088731 Q3088749
(Q3088877,P17,c(Q1048835)) (Q16025279,P17,c(Q1048835)) (Q17351839,P17,c(Q1048835)) (Q17351770,P17,c(Q1048835)) (Q17351721,P17,c(Q1048835)) (Q17351735,P17,c(Q1048835)) (Q17351769,P17,c(Q1048835)) (Q3088787,P17,c(Q1048835)) (Q3088731,P17,c(Q1048835)) (Q3088749,P17,c(Q1048835))
[ANSWER]
['Q3088877', 'P17', {'concept': 'Q1048835'}] ['Q16025279', 'P17', {'concept': 'Q1048835'}] ['Q17351839', 'P17', {'concept': 'Q1048835'}] ['Q17351770', 'P17', {'concept': 'Q1048835'}] ['Q17351721', 'P17', {'concept': 'Q1048835'}] ['Q17351735', 'P17', {'concept': 'Q1048835'}] ['Q17351769', 'P17', {'concept': 'Q1048835'}] ['Q3088787', 'P17', {'concept': 'Q1048835'}] ['Q3088731', 'P17', {'concept': 'Q1048835'}] ['Q3088749', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q17351769 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Colombia–Honduras border Russia–Turkey border Turkey–Ukraine border Honduras–Mexico border Belize–Honduras border Cuba–Honduras border Honduras–Jamaica border Iran–Turkey border Armenia–Turkey border Azerbaijan–Turkey border
Did you mean Azerbaijan–Turkey border ?
Azerbaijan–Turkey border
['Colombia–Honduras border', 'country', {'concept': 'political territorial entity'}] ['Russia–Turkey border', 'country', {'concept': 'political territorial entity'}] ['Turkey–Ukraine border', 'country', {'concept': 'political territorial entity'}] ['Honduras–Mexico border', 'country', {'concept': 'political territorial entity'}] ['Belize–Honduras border', 'country', {'concept': 'political territorial entity'}] ['Cuba–Honduras border', 'country', {'concept': 'political territorial entity'}] ['Honduras–Jamaica border', 'country', {'concept': 'political territorial entity'}] ['Iran–Turkey border', 'country', {'concept': 'political territorial entity'}] ['Armenia–Turkey border', 'country', {'concept': 'political territorial entity'}] ['Azerbaijan–Turkey border', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Honduras–Jamaica_border property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Honduras–Jamaica border. Could you tell me the answer for that?
(Q17351769,P17,c(Q1048835))
Q17351769
['Q17351769', 'P17', {'concept': 'Q1048835'}]
['Honduras–Jamaica border', 'country', {'concept': 'political territorial entity'}]
[]
Q766
SYSTEM
Jamaica
Q766
(Q17351769,P17,c(Q1048835))
action filter_type
action find
entity Q17351769
relation P17
type Q1048835
That political border is [ANSWER]
['Q17351769', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q17351769 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Jamaica
That political border is Jamaica
Jamaica
action filter_type
action find
entity Honduras–Jamaica border
relation country
type political territorial entity
['Honduras–Jamaica border', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Honduras–Jamaica_border property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q348393 Q11399054
P27
Q15617994
USER
Which administrative territories are Chie Kato or Jacques Perret an inhabitant of ?
OR((Q11399054,P27,c(Q15617994)), (Q348393,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11399054
relation P27
action find
entity Q348393
relation P27
type Q15617994
{'OR': [['Q11399054', 'P27', {'concept': 'Q15617994'}], ['Q348393', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?b ) { ( resource:Q11399054 ) ( resource:Q348393 ) } . ?b property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
Jacques Perret Chie Kato
action filter_type
action union
action find
entity Chie Kato
relation country of citizenship
action find
entity Jacques Perret
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Chie Kato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jacques Perret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?b ) { ( resource:Chie_Kato ) ( resource:Jacques_Perret ) } . ?b property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q11399054,P27,c(Q15617994)), (Q348393,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11399054
relation P27
action find
entity Q348393
relation P27
type Q15617994
[ANSWERS] are Chie Kato or Jacques Perret an inhabitant of
{'OR': [['Q11399054', 'P27', {'concept': 'Q15617994'}], ['Q348393', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?b ) { ( resource:Q11399054 ) ( resource:Q348393 ) } . ?b property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
France Japan
France and Japan are Chie Kato or Jacques Perret an inhabitant of
France Japan
action filter_type
action union
action find
entity Chie Kato
relation country of citizenship
action find
entity Jacques Perret
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Chie Kato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jacques Perret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?b ) { ( resource:Chie_Kato ) ( resource:Jacques_Perret ) } . ?b property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q17
P36
Q56061
USER
Which administrative territories are the capitals of those administrative territories ?
(Q142,P36,c(Q56061)) (Q17,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}] ['Q17', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q17 ) } . ?k property:P36 ?s }
France Japan
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:France ) ( resource:Japan ) } . ?k property:capital ?s }
[]
administrative territorial entity
Q90 Q215646 Q1490
SYSTEM
Paris, Edo, Tokyo
Q90 Q215646 Q1490
(Q142,P36,c(Q56061)) (Q17,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
[ANSWERS] are the capitals of those administrative territories
['Q142', 'P36', {'concept': 'Q56061'}] ['Q17', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q17 ) } . ?k property:P36 ?s }
Paris Edo Tokyo
Paris, Edo and Tokyo are the capitals of those administrative territories
Paris Edo Tokyo
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:France ) ( resource:Japan ) } . ?k property:capital ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3088787
P17
Q15617994
USER
Which administrative territories are Iran–Turkey border situated in ?
(Q3088787,P17,c(Q15617994))
action filter_type
action find
entity Q3088787
relation P17
type Q15617994
['Q3088787', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3088787 property:P17 ?o }
Iran–Turkey border
action filter_type
action find
entity Iran–Turkey border
relation country
type designation for an administrative territorial entity
['Iran–Turkey border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Iran–Turkey_border property:country ?o }
[]
designation for an administrative territorial entity
Q43 Q794
SYSTEM
Turkey, Iran
Q43 Q794
(Q3088787,P17,c(Q15617994))
action filter_type
action find
entity Q3088787
relation P17
type Q15617994
[ANSWERS]
['Q3088787', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3088787 property:P17 ?o }
Turkey Iran
Which administrative territories are Iran–Turkey border situated in
Turkey Iran
action filter_type
action find
entity Iran–Turkey border
relation country
type designation for an administrative territorial entity
['Iran–Turkey border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Iran–Turkey_border property:country ?o }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q805
P530
Q15617994
USER
Do Yemen have tactful political relations with those ones ?
(Q805,P530,Q43) (Q805,P530,Q794)
action is_in
entity prev_answer
action find
entity Q805
relation P530
['Q805', 'P530', 'Q43'] ['Q805', 'P530', 'Q794']
ASK WHERE { resource:Q805 property:P530 ?v . VALUES ( ?v ) { ( resource:Q43 ) ( resource:Q794 ) } }
Yemen
action is_in
entity prev_answer
action find
entity Yemen
relation diplomatic relation
['Yemen', 'diplomatic relation', 'Turkey'] ['Yemen', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Yemen property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Turkey ) ( resource:Iran ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q805,P530,Q43) (Q805,P530,Q794)
action is_in
entity prev_answer
action find
entity Q805
relation P530
[ANSWER]
['Q805', 'P530', 'Q43'] ['Q805', 'P530', 'Q794']
ASK WHERE { resource:Q805 property:P530 ?v . VALUES ( ?v ) { ( resource:Q43 ) ( resource:Q794 ) } }
Yes
action is_in
entity prev_answer
action find
entity Yemen
relation diplomatic relation
['Yemen', 'diplomatic relation', 'Turkey'] ['Yemen', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Yemen property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Turkey ) ( resource:Iran ) } }
[]