Simple Question (Direct)
Simple Question
Q1307393
P27
Q1048835
USER
Which political territory is the country of citizenship of Horst Rumpf ?
(Q1307393,P27,c(Q1048835))
action filter_type
action find
entity Q1307393
relation P27
type Q1048835
['Q1307393', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q1307393 property:P27 ?z }
Horst Rumpf
action filter_type
action find
entity Horst Rumpf
relation country of citizenship
type political territorial entity
['Horst Rumpf', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Horst_Rumpf property:country_of_citizenship ?z }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1307393,P27,c(Q1048835))
action filter_type
action find
entity Q1307393
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Horst Rumpf
['Q1307393', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q1307393 property:P27 ?z }
Germany
Germany is the country of citizenship of Horst Rumpf
Germany
action filter_type
action find
entity Horst Rumpf
relation country of citizenship
type political territorial entity
['Horst Rumpf', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:Horst_Rumpf property:country_of_citizenship ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P276
Q13365595
USER
What is located at that political territory ?
(c(Q13365595),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q13365595
[{'concept': 'Q13365595'}, 'P276', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q183 . ?k rdf:type ontology:Q13365595 }
Germany
action filter_type
action find_reverse
entity Germany
relation location
type proportional representation
[{'concept': 'proportional representation'}, 'location', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Germany . ?k rdf:type ontology:proportional_representation }
[]
proportional representation
Q555931
SYSTEM
German federal election, 2013
Q555931
(c(Q13365595),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q13365595
[ANSWER] is located at that political territory
[{'concept': 'Q13365595'}, 'P276', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q183 . ?k rdf:type ontology:Q13365595 }
German federal election, 2013
German federal election, 2013 is located at that political territory
German federal election, 2013
action filter_type
action find_reverse
entity Germany
relation location
type proportional representation
[{'concept': 'proportional representation'}, 'location', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Germany . ?k rdf:type ontology:proportional_representation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q555931
P991
Q502895
USER
Who was elected in that proportional representation ?
(Q555931,P991,c(Q502895))
action filter_type
action find
entity Q555931
relation P991
type Q502895
['Q555931', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q555931 property:P991 ?p . ?p rdf:type ontology:Q502895 }
German federal election, 2013
action filter_type
action find
entity German federal election, 2013
relation successful candidate
type common name
['German federal election, 2013', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:German_federal_election,_2013 property:successful_candidate ?p . ?p rdf:type ontology:common_name }
[]
common name
Q567
SYSTEM
Angela Merkel
Q567
(Q555931,P991,c(Q502895))
action filter_type
action find
entity Q555931
relation P991
type Q502895
Were [ANSWER] was elected in that proportional representation
['Q555931', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q555931 property:P991 ?p . ?p rdf:type ontology:Q502895 }
Angela Merkel
Were Angela Merkel was elected in that proportional representation
Angela Merkel
action filter_type
action find
entity German federal election, 2013
relation successful candidate
type common name
['German federal election, 2013', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:German_federal_election,_2013 property:successful_candidate ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q567 Q183
P6
Q1048835
USER
Does Germany have a government lead by that person ?
(Q183,P6,Q567)
action is_in
entity Q567
action find
entity Q183
relation P6
['Q183', 'P6', 'Q567']
ASK WHERE { resource:Q183 property:P6 resource:Q567 }
Angela Merkel Germany
action is_in
entity Angela Merkel
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Angela Merkel']
ASK WHERE { resource:Germany property:head_of_government resource:Angela_Merkel }
[]
political territorial entity
SYSTEM
YES
(Q183,P6,Q567)
action is_in
entity Q567
action find
entity Q183
relation P6
[ANSWER]
['Q183', 'P6', 'Q567']
ASK WHERE { resource:Q183 property:P6 resource:Q567 }
Yes
action is_in
entity Angela Merkel
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Angela Merkel']
ASK WHERE { resource:Germany property:head_of_government resource:Angela_Merkel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1307393 Q2973
P19
Q515
USER
Was Darmstadt Horst Rumpf born ?
(Q1307393,P19,Q2973)
action is_in
entity Q2973
action find
entity Q1307393
relation P19
['Q1307393', 'P19', 'Q2973']
ASK WHERE { resource:Q1307393 property:P19 resource:Q2973 }
Horst Rumpf Darmstadt
action is_in
entity Darmstadt
action find
entity Horst Rumpf
relation place of birth
['Horst Rumpf', 'place of birth', 'Darmstadt']
ASK WHERE { resource:Horst_Rumpf property:place_of_birth resource:Darmstadt }
[]
city
SYSTEM
YES
(Q1307393,P19,Q2973)
action is_in
entity Q2973
action find
entity Q1307393
relation P19
[ANSWER]
['Q1307393', 'P19', 'Q2973']
ASK WHERE { resource:Q1307393 property:P19 resource:Q2973 }
Yes
action is_in
entity Darmstadt
action find
entity Horst Rumpf
relation place of birth
['Horst Rumpf', 'place of birth', 'Darmstadt']
ASK WHERE { resource:Horst_Rumpf property:place_of_birth resource:Darmstadt }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q555931 Q1995493
P17
Q1048835
USER
Is German federal election, 2013 located in Nogueira ?
(Q555931,P17,Q1995493)
action is_in
entity Q1995493
action find
entity Q555931
relation P17
['Q555931', 'P17', 'Q1995493']
ASK WHERE { resource:Q555931 property:P17 resource:Q1995493 }
German federal election, 2013 Nogueira
action is_in
entity Nogueira
action find
entity German federal election, 2013
relation country
['German federal election, 2013', 'country', 'Nogueira']
ASK WHERE { resource:German_federal_election,_2013 property:country resource:Nogueira }
[]
political territorial entity
SYSTEM
NO
(Q555931,P17,Q1995493)
action is_in
entity Q1995493
action find
entity Q555931
relation P17
[ANSWER]
['Q555931', 'P17', 'Q1995493']
ASK WHERE { resource:Q555931 property:P17 resource:Q1995493 }
No
action is_in
entity Nogueira
action find
entity German federal election, 2013
relation country
['German federal election, 2013', 'country', 'Nogueira']
ASK WHERE { resource:German_federal_election,_2013 property:country resource:Nogueira }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1307393 Q633935 Q2973
P19
Q515
USER
Does Horst Rumpf have location of birth at Oga and Darmstadt ?
(Q1307393,P19,Q633935) (Q1307393,P19,Q2973)
action is_in
entity Q1307393
action intersection
action find_reverse
entity Q633935
relation P19
action find_reverse
entity Q2973
relation P19
['Q1307393', 'P19', 'Q633935'] ['Q1307393', 'P19', 'Q2973']
ASK WHERE { resource:Q1307393 property:P19 resource:Q633935 . resource:Q1307393 property:P19 resource:Q2973 }
Horst Rumpf Oga Darmstadt
action is_in
entity Horst Rumpf
action intersection
action find_reverse
entity Oga
relation place of birth
action find_reverse
entity Darmstadt
relation place of birth
['Horst Rumpf', 'place of birth', 'Oga'] ['Horst Rumpf', 'place of birth', 'Darmstadt']
ASK WHERE { resource:Horst_Rumpf property:place_of_birth resource:Oga . resource:Horst_Rumpf property:place_of_birth resource:Darmstadt }
[]
city
SYSTEM
NO and YES respectively
(Q1307393,P19,Q633935) (Q1307393,P19,Q2973)
action is_in
entity Q1307393
action intersection
action find_reverse
entity Q633935
relation P19
action find_reverse
entity Q2973
relation P19
[ANSWER]
['Q1307393', 'P19', 'Q633935'] ['Q1307393', 'P19', 'Q2973']
ASK WHERE { resource:Q1307393 property:P19 resource:Q633935 . resource:Q1307393 property:P19 resource:Q2973 }
NO and YES respectively
action is_in
entity Horst Rumpf
action intersection
action find_reverse
entity Oga
relation place of birth
action find_reverse
entity Darmstadt
relation place of birth
['Horst Rumpf', 'place of birth', 'Oga'] ['Horst Rumpf', 'place of birth', 'Darmstadt']
ASK WHERE { resource:Horst_Rumpf property:place_of_birth resource:Oga . resource:Horst_Rumpf property:place_of_birth resource:Darmstadt }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q151885 Q22676587 Q1048835
USER
Which political territories have min number of concepts or monarchic systems as the form of government ?
(c(Q1048835),P122,c(Q151885)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q151885
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q151885'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?b ) WHERE { { ?c property:P122 ?l . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q151885 } UNION { ?c property:P122 ?l . ?l rdf:type ontology:Q22676587 . ?c rdf:type ontology:Q1048835 } } GROUP BY ?c } } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?r ) WHERE { { ?k property:P122 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q151885 } UNION { ?k property:P122 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q22676587 } } GROUP BY ?k } }
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type concept
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'concept'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?b ) WHERE { { ?c property:basic_form_of_government ?l . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:concept } UNION { ?c property:basic_form_of_government ?l . ?l rdf:type ontology:monarchic_system . ?c rdf:type ontology:political_territorial_entity } } GROUP BY ?c } } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?r ) WHERE { { ?k property:basic_form_of_government ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:concept } UNION { ?k property:basic_form_of_government ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:monarchic_system } } GROUP BY ?k } }
[]
concept monarchic system political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q601252 Q193619 Q1059046 Q664 Q641138 Q785 Q178084 Q16 Q35 Q38610 Q79965 Q223793 Q2594990 Q408 Q757 Q468378 Q40 Q1250464 Q151938 Q31747 Q129286
(c(Q1048835),P122,c(Q151885)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q151885
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
[ANSWERS] have min number of concepts or monarchic systems as the form of government
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q151885'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?b ) WHERE { { ?c property:P122 ?l . ?c rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q151885 } UNION { ?c property:P122 ?l . ?l rdf:type ontology:Q22676587 . ?c rdf:type ontology:Q1048835 } } GROUP BY ?c } } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?r ) WHERE { { ?k property:P122 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q151885 } UNION { ?k property:P122 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q22676587 } } GROUP BY ?k } }
Germany Banovina of Croatia Union of South Africa Merkit people New Zealand Duchy of Cleves Jersey Ilkhanate Canada Denmark Dominion of Newfoundland Golden Horde Kingdom of Etruria Dominion of New Zealand Australia Saint Vincent and the Grenadines County of Hoya Austria realm Neutral Moresnet Irish Free State British Raj
Germany, Australia and Denmark have min number of concepts or monarchic systems as the form of government
Germany Australia Denmark
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type concept
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'concept'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?b ) WHERE { { ?c property:basic_form_of_government ?l . ?c rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:concept } UNION { ?c property:basic_form_of_government ?l . ?l rdf:type ontology:monarchic_system . ?c rdf:type ontology:political_territorial_entity } } GROUP BY ?c } } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?r ) WHERE { { ?k property:basic_form_of_government ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:concept } UNION { ?k property:basic_form_of_government ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:monarchic_system } } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q35
P163
Q14660
USER
Which flags are associated with those political territories ?
(Q183,P163,c(Q14660)) (Q408,P163,c(Q14660)) (Q35,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q183', 'P163', {'concept': 'Q14660'}] ['Q408', 'P163', {'concept': 'Q14660'}] ['Q35', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { ?f property:P163 ?o . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } . ?o rdf:type ontology:Q14660 }
Germany Australia Denmark
action filter_type
action find
entity prev_answer
relation flag
type flag
['Germany', 'flag', {'concept': 'flag'}] ['Australia', 'flag', {'concept': 'flag'}] ['Denmark', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { ?f property:flag ?o . VALUES ( ?f ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } . ?o rdf:type ontology:flag }
[]
flag
Q48160 Q81676 Q60149
SYSTEM
flag of Germany, flag of Australia, Flag of Denmark
Q48160 Q81676 Q60149
(Q183,P163,c(Q14660)) (Q408,P163,c(Q14660)) (Q35,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS] are associated with those political territories
['Q183', 'P163', {'concept': 'Q14660'}] ['Q408', 'P163', {'concept': 'Q14660'}] ['Q35', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { ?f property:P163 ?o . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } . ?o rdf:type ontology:Q14660 }
flag of Germany flag of Australia Flag of Denmark
Flag of Germany, flag of Australia and Flag of Denmark are associated with those political territories
flag of Germany flag of Australia Flag of Denmark
action filter_type
action find
entity prev_answer
relation flag
type flag
['Germany', 'flag', {'concept': 'flag'}] ['Australia', 'flag', {'concept': 'flag'}] ['Denmark', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { ?f property:flag ?o . VALUES ( ?f ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } . ?o rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q48160 Q81676 Q60149
P163
Q1048835
USER
Which political territories have their flag named flag of Germany, flag of Australia and Flag of Denmark ?
(c(Q1048835),P163,Q48160) (c(Q1048835),P163,Q81676) (c(Q1048835),P163,Q60149)
action union
action filter_type
action find_reverse
entity Q48160
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q81676
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q60149
relation P163
type Q1048835
[{'concept': 'Q1048835'}, 'P163', 'Q48160'] [{'concept': 'Q1048835'}, 'P163', 'Q81676'] [{'concept': 'Q1048835'}, 'P163', 'Q60149']
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:Q81676 ) ( resource:Q48160 ) } . ?i property:P163 ?q }
flag of Germany flag of Australia Flag of Denmark
action union
action filter_type
action find_reverse
entity flag of Germany
relation flag
type political territorial entity
action filter_type
action find_reverse
entity flag of Australia
relation flag
type political territorial entity
action filter_type
action find_reverse
entity Flag of Denmark
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Germany'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Australia'] [{'concept': 'political territorial entity'}, 'flag', 'Flag of Denmark']
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:flag_of_Australia ) ( resource:flag_of_Germany ) } . ?i property:flag ?q }
[]
political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q408 Q35
(c(Q1048835),P163,Q48160) (c(Q1048835),P163,Q81676) (c(Q1048835),P163,Q60149)
action union
action filter_type
action find_reverse
entity Q48160
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q81676
relation P163
type Q1048835
action filter_type
action find_reverse
entity Q60149
relation P163
type Q1048835
[ANSWERS] have their flag named flag of Germany, flag of Australia and Flag of Denmark
[{'concept': 'Q1048835'}, 'P163', 'Q48160'] [{'concept': 'Q1048835'}, 'P163', 'Q81676'] [{'concept': 'Q1048835'}, 'P163', 'Q60149']
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:Q81676 ) ( resource:Q48160 ) } . ?i property:P163 ?q }
Germany Australia Denmark
Germany, Australia and Denmark have their flag named flag of Germany, flag of Australia and Flag of Denmark
Germany Australia Denmark
action union
action filter_type
action find_reverse
entity flag of Germany
relation flag
type political territorial entity
action filter_type
action find_reverse
entity flag of Australia
relation flag
type political territorial entity
action filter_type
action find_reverse
entity Flag of Denmark
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Germany'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Australia'] [{'concept': 'political territorial entity'}, 'flag', 'Flag of Denmark']
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:flag_of_Australia ) ( resource:flag_of_Germany ) } . ?i property:flag ?q }
[]