Simple Question (Direct)
Simple Question
Q588571
P39
Q12737077
USER
Which occupation was a position occupied by John Swinburne ?
(Q588571,P39,c(Q12737077))
action filter_type
action find
entity Q588571
relation P39
type Q12737077
['Q588571', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q588571 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
John Swinburne
action filter_type
action find
entity John Swinburne
relation position held
type occupation
['John Swinburne', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_Swinburne property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q1711695
SYSTEM
Member of the Scottish Parliament
Q1711695
(Q588571,P39,c(Q12737077))
action filter_type
action find
entity Q588571
relation P39
type Q12737077
The [ANSWER] was a position occupied by John Swinburne
['Q588571', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q588571 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Member of the Scottish Parliament
The Member of the Scottish Parliament was a position occupied by John Swinburne
Member of the Scottish Parliament
action filter_type
action find
entity John Swinburne
relation position held
type occupation
['John Swinburne', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_Swinburne property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q588571
P1412
Q34770
USER
Which language is spoken by John Swinburne ?
(Q588571,P1412,c(Q34770))
action filter_type
action find
entity Q588571
relation P1412
type Q34770
['Q588571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q588571 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
John Swinburne
action filter_type
action find
entity John Swinburne
relation languages spoken, written or signed
type language
['John Swinburne', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:John_Swinburne property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q588571,P1412,c(Q34770))
action filter_type
action find
entity Q588571
relation P1412
type Q34770
Is [ANSWER] is spoken by John Swinburne
['Q588571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q588571 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
English
Is English is spoken by John Swinburne
English
action filter_type
action find
entity John Swinburne
relation languages spoken, written or signed
type language
['John Swinburne', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:John_Swinburne property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1346342 Q5329170
P361
Q5962346
USER
Which classification schemes are those ones a component of ?
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . ?t rdf:type ontology:Q5962346 . ?n property:P361 ?t }
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . ?t rdf:type ontology:classification_scheme . ?n property:part_of ?t }
[]
classification scheme
Q5329170 Q26721 Q26721
SYSTEM
West Germanic languages for 2nd, 3rd, Anglo-Frisian languages for 1st
Q26721 Q5329170 Q26721 Q30134
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
[ANSWERS]
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . ?t rdf:type ontology:Q5962346 . ?n property:P361 ?t }
West Germanic languages Anglo-Frisian languages West Germanic languages Ingvaeonic languages
Anglo-Frisian languages, West Germanic languages and West Germanic languages are those ones a component of
Anglo-Frisian languages West Germanic languages West Germanic languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . ?t rdf:type ontology:classification_scheme . ?n property:part_of ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q553567 Q588571
P27
Q15617994
USER
Which administrative territories do John Swinburne or Silvan Shalom belong to ?
OR((Q588571,P27,c(Q15617994)), (Q553567,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q588571
relation P27
action find
entity Q553567
relation P27
type Q15617994
{'OR': [['Q588571', 'P27', {'concept': 'Q15617994'}], ['Q553567', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q553567 property:P27 ?u } UNION { resource:Q588571 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Silvan Shalom John Swinburne
action filter_type
action union
action find
entity John Swinburne
relation country of citizenship
action find
entity Silvan Shalom
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Swinburne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Silvan Shalom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Silvan_Shalom property:country_of_citizenship ?u } UNION { resource:John_Swinburne property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q801
SYSTEM
United States of America, Israel
Q30 Q801
OR((Q588571,P27,c(Q15617994)), (Q553567,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q588571
relation P27
action find
entity Q553567
relation P27
type Q15617994
John Swinburne or Silvan Shalom belong to the [ANSWERS]
{'OR': [['Q588571', 'P27', {'concept': 'Q15617994'}], ['Q553567', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q553567 property:P27 ?u } UNION { resource:Q588571 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
United States of America Israel
John Swinburne or Silvan Shalom belong to the United States of America and Israel
United States of America Israel
action filter_type
action union
action find
entity John Swinburne
relation country of citizenship
action find
entity Silvan Shalom
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Swinburne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Silvan Shalom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Silvan_Shalom property:country_of_citizenship ?u } UNION { resource:John_Swinburne property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { ?e property:P530 ?v . ?e rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?e } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?l } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { ?e property:diplomatic_relation ?v . ?e rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { ?e property:P530 ?v . ?e rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?e } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?l } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { ?e property:diplomatic_relation ?v . ?e rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with atleast 4 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?l ) WHERE { ?t property:P530 ?h . ?t rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?l >= 4 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?l ) WHERE { ?t property:diplomatic_relation ?h . ?t rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?l >= 4 ) }
[]
political territorial entity political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[ANSWERS] have diplomatic relations with atleast 4 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?l ) WHERE { ?t property:P530 ?h . ?t rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?l >= 4 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relations with atleast 4 political territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?l ) WHERE { ?t property:diplomatic_relation ?h . ?t rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?l >= 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P520
Q153556 Q15142889 Q5962346
USER
Which classification schemes are armed with atleast 3 ranged weapons or weapon families ?
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action atleast
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
value 3
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q153556 ) ( ontology:Q15142889 ) } } GROUP BY ?n } . FILTER ( ?f >= 3 ) }
action atleast
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
value 3
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:ranged_weapon ) ( ontology:weapon_family ) } } GROUP BY ?n } . FILTER ( ?f >= 3 ) }
[]
ranged weapon weapon family classification scheme
Q911728 Q663037 Q1541289
SYSTEM
Victor III class submarine, Alfa-class submarine, Västergötland-class submarine
Q1541289 Q1141901 Q911728 Q663037 Q2117340
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action atleast
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
value 3
[ANSWERS] are armed with atleast 3 ranged weapons or weapon families
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q153556 ) ( ontology:Q15142889 ) } } GROUP BY ?n } . FILTER ( ?f >= 3 ) }
Västergötland-class submarine Gotland-class submarine Victor III class submarine Alfa-class submarine Södermanland-class submarine
Victor III class submarine, Alfa-class submarine and Västergötland-class submarine are armed with atleast 3 ranged weapons or weapon families
Victor III class submarine Alfa-class submarine Västergötland-class submarine
action atleast
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
value 3
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:ranged_weapon ) ( ontology:weapon_family ) } } GROUP BY ?n } . FILTER ( ?f >= 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q663037
P495
Q7275
USER
Where did that classification scheme originate ?
(Q663037,P495,c(Q7275))
action filter_type
action find
entity Q663037
relation P495
type Q7275
['Q663037', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q663037 property:P495 ?p . ?p rdf:type ontology:Q7275 }
Alfa-class submarine
action filter_type
action find
entity Alfa-class submarine
relation country of origin
type state
['Alfa-class submarine', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Alfa-class_submarine property:country_of_origin ?p . ?p rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q911728
SYSTEM
Did you mean Victor III class submarine ?
Q911728 Q663037 Q1541289
(Q911728,P495,c(Q7275)) (Q663037,P495,c(Q7275)) (Q1541289,P495,c(Q7275))
[ANSWER]
['Q911728', 'P495', {'concept': 'Q7275'}] ['Q663037', 'P495', {'concept': 'Q7275'}] ['Q1541289', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q663037 property:P495 ?p . ?p rdf:type ontology:Q7275 }
Victor III class submarine Alfa-class submarine Västergötland-class submarine
Did you mean Victor III class submarine ?
Victor III class submarine
['Victor III class submarine', 'country of origin', {'concept': 'state'}] ['Alfa-class submarine', 'country of origin', {'concept': 'state'}] ['Västergötland-class submarine', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Alfa-class_submarine property:country_of_origin ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant Alfa-class submarine. Could you tell me the answer for that?
(Q663037,P495,c(Q7275))
Q663037
['Q663037', 'P495', {'concept': 'Q7275'}]
['Alfa-class submarine', 'country of origin', {'concept': 'state'}]
[]
Q15180
SYSTEM
Soviet Union
Q15180
(Q663037,P495,c(Q7275))
action filter_type
action find
entity Q663037
relation P495
type Q7275
That classification scheme originated in [ANSWER]
['Q663037', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q663037 property:P495 ?p . ?p rdf:type ontology:Q7275 }
Soviet Union
That classification scheme originated in Soviet Union
Soviet Union
action filter_type
action find
entity Alfa-class submarine
relation country of origin
type state
['Alfa-class submarine', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Alfa-class_submarine property:country_of_origin ?p . ?p rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15180 Q4302866
P27
Q502895
USER
Is Vladimir Morozan a native of that state ?
(Q4302866,P27,Q15180)
action is_in
entity Q15180
action find
entity Q4302866
relation P27
['Q4302866', 'P27', 'Q15180']
ASK WHERE { resource:Q4302866 property:P27 resource:Q15180 }
Soviet Union Vladimir Morozan
action is_in
entity Soviet Union
action find
entity Vladimir Morozan
relation country of citizenship
['Vladimir Morozan', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Vladimir_Morozan property:country_of_citizenship resource:Soviet_Union }
[]
common name
SYSTEM
YES
(Q4302866,P27,Q15180)
action is_in
entity Q15180
action find
entity Q4302866
relation P27
[ANSWER]
['Q4302866', 'P27', 'Q15180']
ASK WHERE { resource:Q4302866 property:P27 resource:Q15180 }
Yes
action is_in
entity Soviet Union
action find
entity Vladimir Morozan
relation country of citizenship
['Vladimir Morozan', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Vladimir_Morozan property:country_of_citizenship resource:Soviet_Union }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q801 Q38
P530
Q15617994
USER
Does Italy have diplomatic relationships with Israel ?
(Q801,P530,Q38)
action is_in
entity Q38
action find
entity Q801
relation P530
['Q801', 'P530', 'Q38']
ASK WHERE { resource:Q801 property:P530 resource:Q38 }
Israel Italy
action is_in
entity Italy
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q38)
action is_in
entity Q38
action find
entity Q801
relation P530
[ANSWER]
['Q801', 'P530', 'Q38']
ASK WHERE { resource:Q801 property:P530 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P38
Q8142
USER
What is the currency of Soviet Union ?
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q8142 . resource:Q15180 property:P38 ?q }
Soviet Union
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:currency . resource:Soviet_Union property:currency ?q }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
The currency of Soviet Union is the [ANSWER]
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q8142 . resource:Q15180 property:P38 ?q }
Soviet ruble
The currency of Soviet Union is the Soviet ruble
Soviet ruble
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:currency . resource:Soviet_Union property:currency ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q544630
Q8142
USER
And also tell me about Republic of Maryland?
(Q544630,P38,c(Q8142))
action filter_type
action find
entity Q544630
relation P38
type Q8142
['Q544630', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8142 . resource:Q544630 property:P38 ?m }
Republic of Maryland
action filter_type
action find
entity Republic of Maryland
relation currency
type currency
['Republic of Maryland', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:currency . resource:Republic_of_Maryland property:currency ?m }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q544630,P38,c(Q8142))
action filter_type
action find
entity Q544630
relation P38
type Q8142
[ANSWER]
['Q544630', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8142 . resource:Q544630 property:P38 ?m }
United States dollar
United States dollar
action filter_type
action find
entity Republic of Maryland
relation currency
type currency
['Republic of Maryland', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:currency . resource:Republic_of_Maryland property:currency ?m }
[]