Simple Question (Direct)
Simple Question
Q660602
P102
Q7278
USER
Which political party is Arif Ünal a member of ?
(Q660602,P102,c(Q7278))
action filter_type
action find
entity Q660602
relation P102
type Q7278
['Q660602', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7278 . resource:Q660602 property:P102 ?z }
Arif Ünal
action filter_type
action find
entity Arif Ünal
relation member of political party
type political party
['Arif Ünal', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_party . resource:Arif_Ünal property:member_of_political_party ?z }
[]
political party
Q49766
SYSTEM
Alliance '90/The Greens
Q49766
(Q660602,P102,c(Q7278))
action filter_type
action find
entity Q660602
relation P102
type Q7278
[ANSWER] is Arif Ünal a member of
['Q660602', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7278 . resource:Q660602 property:P102 ?z }
Alliance '90/The Greens
Alliance '90/The Greens is Arif Ünal a member of
Alliance '90/The Greens
action filter_type
action find
entity Arif Ünal
relation member of political party
type political party
['Arif Ünal', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_party . resource:Arif_Ünal property:member_of_political_party ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q660602
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q49766,P39,c(Q12737077))
action filter_type
action find
entity Q660602
relation P39
type Q12737077
['Q49766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q660602 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Arif Ünal
action filter_type
action find
entity Arif Ünal
relation position held
type occupation
["Alliance '90/The Greens", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Arif_Ünal property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q49766,P39,c(Q12737077))
action filter_type
action find
entity Q660602
relation P39
type Q12737077
County [ANSWER] was a position held by that person
['Q49766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q660602 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
County member of the Landtag of North Rhine-Westphalia was a position held by that person
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Arif Ünal
relation position held
type occupation
["Alliance '90/The Greens", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Arif_Ünal property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17781726 Q930988 Q833604
P17
Q1048835
USER
Is member of the Landtag of North Rhine-Westphalia present in Lamas de Olo and Fuentelsaz de Soria ?
(Q17781726,P17,Q930988) (Q17781726,P17,Q833604)
action is_in
entity Q17781726
action intersection
action find_reverse
entity Q930988
relation P17
action find_reverse
entity Q833604
relation P17
['Q17781726', 'P17', 'Q930988'] ['Q17781726', 'P17', 'Q833604']
ASK WHERE { resource:Q17781726 property:P17 resource:Q930988 . resource:Q17781726 property:P17 resource:Q833604 }
member of the Landtag of North Rhine-Westphalia Lamas de Olo Fuentelsaz de Soria
action is_in
entity member of the Landtag of North Rhine-Westphalia
action intersection
action find_reverse
entity Lamas de Olo
relation country
action find_reverse
entity Fuentelsaz de Soria
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Lamas de Olo'] ['member of the Landtag of North Rhine-Westphalia', 'country', 'Fuentelsaz de Soria']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Lamas_de_Olo . resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Fuentelsaz_de_Soria }
[]
political territorial entity
SYSTEM
NO
(Q17781726,P17,Q930988) (Q17781726,P17,Q833604)
action is_in
entity Q17781726
action intersection
action find_reverse
entity Q930988
relation P17
action find_reverse
entity Q833604
relation P17
[ANSWER]
['Q17781726', 'P17', 'Q930988'] ['Q17781726', 'P17', 'Q833604']
ASK WHERE { resource:Q17781726 property:P17 resource:Q930988 . resource:Q17781726 property:P17 resource:Q833604 }
No
action is_in
entity member of the Landtag of North Rhine-Westphalia
action intersection
action find_reverse
entity Lamas de Olo
relation country
action find_reverse
entity Fuentelsaz de Soria
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Lamas de Olo'] ['member of the Landtag of North Rhine-Westphalia', 'country', 'Fuentelsaz de Soria']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Lamas_de_Olo . resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Fuentelsaz_de_Soria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17781726
P361
Q1752346
USER
What is that occupation a part of ?
action filter_type
action find
entity Q17781726
relation P361
type Q1752346
SELECT DISTINCT ?d WHERE { resource:Q17781726 property:P361 ?d . ?d rdf:type ontology:Q1752346 }
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity member of the Landtag of North Rhine-Westphalia
relation part of
type assembly
SELECT DISTINCT ?d WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:part_of ?d . ?d rdf:type ontology:assembly }
[]
assembly
Q571436
SYSTEM
Landtag of North Rhine-Westphalia
Q571436
action filter_type
action find
entity Q17781726
relation P361
type Q1752346
That occupation a part of is the [ANSWER]
SELECT DISTINCT ?d WHERE { resource:Q17781726 property:P361 ?d . ?d rdf:type ontology:Q1752346 }
Landtag of North Rhine-Westphalia
That occupation a part of is the Landtag of North Rhine-Westphalia
Landtag of North Rhine-Westphalia
action filter_type
action find
entity member of the Landtag of North Rhine-Westphalia
relation part of
type assembly
SELECT DISTINCT ?d WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:part_of ?d . ?d rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q10585355 Q17781726
P361
Q1752346
USER
Or Committee on Environment and Agriculture?
OR((Q17781726,P361,c(Q1752346)), (Q10585355,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q17781726
relation P361
action find
entity Q10585355
relation P361
type Q1752346
{'OR': [['Q17781726', 'P361', {'concept': 'Q1752346'}], ['Q10585355', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q17781726 property:P361 ?p } UNION { resource:Q10585355 property:P361 ?p } } . ?p rdf:type ontology:Q1752346 }
Committee on Environment and Agriculture member of the Landtag of North Rhine-Westphalia
action filter_type
action union
action find
entity member of the Landtag of North Rhine-Westphalia
relation part of
action find
entity Committee on Environment and Agriculture
relation part of
type assembly
{'OR': [['member of the Landtag of North Rhine-Westphalia', 'part of', {'concept': 'assembly'}], ['Committee on Environment and Agriculture', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?p WHERE { { { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:part_of ?p } UNION { resource:Committee_on_Environment_and_Agriculture property:part_of ?p } } . ?p rdf:type ontology:assembly }
[]
assembly
Q272930 Q571436
SYSTEM
Parliament of Sweden, Landtag of North Rhine-Westphalia
Q272930 Q571436
OR((Q17781726,P361,c(Q1752346)), (Q10585355,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q17781726
relation P361
action find
entity Q10585355
relation P361
type Q1752346
[ANSWERS]
{'OR': [['Q17781726', 'P361', {'concept': 'Q1752346'}], ['Q10585355', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q17781726 property:P361 ?p } UNION { resource:Q10585355 property:P361 ?p } } . ?p rdf:type ontology:Q1752346 }
Parliament of Sweden Landtag of North Rhine-Westphalia
Parliament of Sweden Landtag of North Rhine-Westphalia
action filter_type
action union
action find
entity member of the Landtag of North Rhine-Westphalia
relation part of
action find
entity Committee on Environment and Agriculture
relation part of
type assembly
{'OR': [['member of the Landtag of North Rhine-Westphalia', 'part of', {'concept': 'assembly'}], ['Committee on Environment and Agriculture', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?p WHERE { { { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:part_of ?p } UNION { resource:Committee_on_Environment_and_Agriculture property:part_of ?p } } . ?p rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27055606 Q930988
P17
Q15617994
USER
Which administrative territories are Lamas de Olo or 1995 Icelandic Badminton Championships located in ?
OR((Q930988,P17,c(Q15617994)), (Q27055606,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930988
relation P17
action find
entity Q27055606
relation P17
type Q15617994
{'OR': [['Q930988', 'P17', {'concept': 'Q15617994'}], ['Q27055606', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q930988 property:P17 ?h } UNION { resource:Q27055606 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
1995 Icelandic Badminton Championships Lamas de Olo
action filter_type
action union
action find
entity Lamas de Olo
relation country
action find
entity 1995 Icelandic Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['Lamas de Olo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1995 Icelandic Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Lamas_de_Olo property:country ?h } UNION { resource:1995_Icelandic_Badminton_Championships property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45 Q189
SYSTEM
Portugal, Iceland
Q45 Q189
OR((Q930988,P17,c(Q15617994)), (Q27055606,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930988
relation P17
action find
entity Q27055606
relation P17
type Q15617994
Lamas de Olo or 1995 Icelandic Badminton Championships are located in [ANSWERS]
{'OR': [['Q930988', 'P17', {'concept': 'Q15617994'}], ['Q27055606', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q930988 property:P17 ?h } UNION { resource:Q27055606 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Portugal Iceland
Lamas de Olo or 1995 Icelandic Badminton Championships are located in Portugal and Iceland
Portugal Iceland
action filter_type
action union
action find
entity Lamas de Olo
relation country
action find
entity 1995 Icelandic Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['Lamas de Olo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1995 Icelandic Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Lamas_de_Olo property:country ?h } UNION { resource:1995_Icelandic_Badminton_Championships property:country ?h } } . ?h 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 diplomatic relationships with around 21 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?u ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?u = 21 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?u ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?u = 21 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[ANSWERS] have diplomatic relationships with around 21 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?u ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?u = 21 ) }
Israel Yemen France People's Republic of China Russia United States of America
United States of America, Russia and France have diplomatic relationships with around 21 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?u ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?u = 21 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q801
P530
Q15617994
USER
Do Israel have tactful political relations with those ones ?
(Q801,P530,Q30) (Q801,P530,Q159) (Q801,P530,Q142)
action is_in
entity prev_answer
action find
entity Q801
relation P530
['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q159'] ['Q801', 'P530', 'Q142']
ASK WHERE { resource:Q801 property:P530 ?k . VALUES ( ?k ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Israel
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Russia'] ['Israel', 'diplomatic relation', 'France']
ASK WHERE { resource:Israel property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q30) (Q801,P530,Q159) (Q801,P530,Q142)
action is_in
entity prev_answer
action find
entity Q801
relation P530
[ANSWER]
['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q159'] ['Q801', 'P530', 'Q142']
ASK WHERE { resource:Q801 property:P530 ?k . VALUES ( ?k ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Yes
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Russia'] ['Israel', 'diplomatic relation', 'France']
ASK WHERE { resource:Israel property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49766 Q1606710
P17
Q1048835
USER
Is Alliance '90/The Greens located in Bernuy-Zapardiel ?
(Q49766,P17,Q1606710)
action is_in
entity Q1606710
action find
entity Q49766
relation P17
['Q49766', 'P17', 'Q1606710']
ASK WHERE { resource:Q49766 property:P17 resource:Q1606710 }
Alliance '90/The Greens Bernuy-Zapardiel
action is_in
entity Bernuy-Zapardiel
action find
entity Alliance '90/The Greens
relation country
["Alliance '90/The Greens", 'country', 'Bernuy-Zapardiel']
ASK WHERE { resource:Alliance_'90/The_Greens property:country resource:Bernuy-Zapardiel }
[]
political territorial entity
SYSTEM
NO
(Q49766,P17,Q1606710)
action is_in
entity Q1606710
action find
entity Q49766
relation P17
[ANSWER]
['Q49766', 'P17', 'Q1606710']
ASK WHERE { resource:Q49766 property:P17 resource:Q1606710 }
No
action is_in
entity Bernuy-Zapardiel
action find
entity Alliance '90/The Greens
relation country
["Alliance '90/The Greens", 'country', 'Bernuy-Zapardiel']
ASK WHERE { resource:Alliance_'90/The_Greens property:country resource:Bernuy-Zapardiel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49766
P1142
Q1047113
USER
Which special field does that political party believe in ?
action filter_type
action find
entity Q49766
relation P1142
type Q1047113
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1047113 . resource:Q49766 property:P1142 ?a }
Alliance '90/The Greens
action filter_type
action find
entity Alliance '90/The Greens
relation political ideology
type special field
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:special_field . resource:Alliance_'90/The_Greens property:political_ideology ?a }
[]
special field
Q1661415
SYSTEM
green politics
Q1661415
action filter_type
action find
entity Q49766
relation P1142
type Q1047113
That political party believes in [ANSWER]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1047113 . resource:Q49766 property:P1142 ?a }
green politics
That political party believes in green politics
green politics
action filter_type
action find
entity Alliance '90/The Greens
relation political ideology
type special field
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:special_field . resource:Alliance_'90/The_Greens property:political_ideology ?a }
[]