Simple Question (Direct)
Simple Question
Q522261
P734
Q82799
USER
Who is associated with Franz Ignaz Beck ?
(Q522261,P734,c(Q82799))
action filter_type
action find
entity Q522261
relation P734
type Q82799
['Q522261', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q522261 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Franz Ignaz Beck
action filter_type
action find
entity Franz Ignaz Beck
relation family name
type name
['Franz Ignaz Beck', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Ignaz_Beck property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q2659856
SYSTEM
Beck
Q2659856
(Q522261,P734,c(Q82799))
action filter_type
action find
entity Q522261
relation P734
type Q82799
[ANSWER] is associated with Franz Ignaz [ANSWER]
['Q522261', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q522261 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Beck
Beck is associated with Franz Ignaz Beck
Beck
action filter_type
action find
entity Franz Ignaz Beck
relation family name
type name
['Franz Ignaz Beck', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Ignaz_Beck property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q522261
P21
Q290
USER
What is the sex of Franz Ignaz Beck ?
(Q522261,P21,c(Q290))
action filter_type
action find
entity Q522261
relation P21
type Q290
['Q522261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q522261 property:P21 ?v . ?v rdf:type ontology:Q290 }
Franz Ignaz Beck
action filter_type
action find
entity Franz Ignaz Beck
relation gender
type sex
['Franz Ignaz Beck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Franz_Ignaz_Beck property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q522261,P21,c(Q290))
action filter_type
action find
entity Q522261
relation P21
type Q290
The sex of Franz Ignaz Beck is the [ANSWER]
['Q522261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q522261 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Franz Ignaz Beck is the male
male
action filter_type
action find
entity Franz Ignaz Beck
relation gender
type sex
['Franz Ignaz Beck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Franz_Ignaz_Beck property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q522261
P1066
Q502895
USER
Which person is a student of Franz Ignaz Beck ?
(c(Q502895),P1066,Q522261)
action filter_type
action find_reverse
entity Q522261
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q522261']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1066 resource:Q522261 }
Franz Ignaz Beck
action filter_type
action find_reverse
entity Franz Ignaz Beck
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Franz Ignaz Beck']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:student_of resource:Franz_Ignaz_Beck }
[]
common name
Q578480
SYSTEM
Pierre-Jean Garat
Q578480
(c(Q502895),P1066,Q522261)
action filter_type
action find_reverse
entity Q522261
relation P1066
type Q502895
[ANSWER] is a student of Franz Ignaz Beck
[{'concept': 'Q502895'}, 'P1066', 'Q522261']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1066 resource:Q522261 }
Pierre-Jean Garat
Pierre-Jean Garat is a student of Franz Ignaz Beck
Pierre-Jean Garat
action filter_type
action find_reverse
entity Franz Ignaz Beck
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Franz Ignaz Beck']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:student_of resource:Franz_Ignaz_Beck }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q522261
P1303
Q34379
USER
Which musical instrument can Franz Ignaz Beck perform with ?
(Q522261,P1303,c(Q34379))
action filter_type
action find
entity Q522261
relation P1303
type Q34379
['Q522261', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q522261 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
Franz Ignaz Beck
action filter_type
action find
entity Franz Ignaz Beck
relation instrument
type musical instrument
['Franz Ignaz Beck', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Franz_Ignaz_Beck property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q522261,P1303,c(Q34379))
action filter_type
action find
entity Q522261
relation P1303
type Q34379
Franz Ignaz Beck can perform a [ANSWER]
['Q522261', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q522261 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
violin
Franz Ignaz Beck can perform a violin
violin
action filter_type
action find
entity Franz Ignaz Beck
relation instrument
type musical instrument
['Franz Ignaz Beck', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Franz_Ignaz_Beck property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q443519 Q522261
P1303
Q34379
USER
And also Wojciech Żywny
AND((Q522261,P1303,c(Q34379)), (Q443519,P1303,c(Q34379)))
action filter_type
action intersection
action find
entity Q522261
relation P1303
action find
entity Q443519
relation P1303
type Q34379
{'AND': [['Q522261', 'P1303', {'concept': 'Q34379'}], ['Q443519', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34379 . resource:Q443519 property:P1303 ?d . resource:Q522261 property:P1303 ?d }
Wojciech Żywny Franz Ignaz Beck
action filter_type
action intersection
action find
entity Franz Ignaz Beck
relation instrument
action find
entity Wojciech Żywny
relation instrument
type musical instrument
{'AND': [['Franz Ignaz Beck', 'instrument', {'concept': 'musical instrument'}], ['Wojciech Żywny', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:musical_instrument . resource:Wojciech_Żywny property:instrument ?d . resource:Franz_Ignaz_Beck property:instrument ?d }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
AND((Q522261,P1303,c(Q34379)), (Q443519,P1303,c(Q34379)))
action filter_type
action intersection
action find
entity Q522261
relation P1303
action find
entity Q443519
relation P1303
type Q34379
[ANSWER]
{'AND': [['Q522261', 'P1303', {'concept': 'Q34379'}], ['Q443519', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34379 . resource:Q443519 property:P1303 ?d . resource:Q522261 property:P1303 ?d }
violin
violin
action filter_type
action intersection
action find
entity Franz Ignaz Beck
relation instrument
action find
entity Wojciech Żywny
relation instrument
type musical instrument
{'AND': [['Franz Ignaz Beck', 'instrument', {'concept': 'musical instrument'}], ['Wojciech Żywny', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:musical_instrument . resource:Wojciech_Żywny property:instrument ?d . resource:Franz_Ignaz_Beck property:instrument ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1715927 Q522261
P27
Q1048835
USER
Which political territories are the countries of citizenship of Franz Ignaz Beck or Anna Elisabeth Jessen ?
OR((Q522261,P27,c(Q1048835)), (Q1715927,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q522261
relation P27
action find
entity Q1715927
relation P27
type Q1048835
{'OR': [['Q522261', 'P27', {'concept': 'Q1048835'}], ['Q1715927', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?x property:P27 ?d . VALUES ( ?x ) { ( resource:Q522261 ) ( resource:Q1715927 ) } } . ?d rdf:type ontology:Q1048835 }
Anna Elisabeth Jessen Franz Ignaz Beck
action filter_type
action union
action find
entity Franz Ignaz Beck
relation country of citizenship
action find
entity Anna Elisabeth Jessen
relation country of citizenship
type political territorial entity
{'OR': [['Franz Ignaz Beck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Anna Elisabeth Jessen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?x property:country_of_citizenship ?d . VALUES ( ?x ) { ( resource:Franz_Ignaz_Beck ) ( resource:Anna_Elisabeth_Jessen ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q522261,P27,c(Q1048835)), (Q1715927,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q522261
relation P27
action find
entity Q1715927
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Franz Ignaz Beck or Anna Elisabeth Jessen
{'OR': [['Q522261', 'P27', {'concept': 'Q1048835'}], ['Q1715927', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?x property:P27 ?d . VALUES ( ?x ) { ( resource:Q522261 ) ( resource:Q1715927 ) } } . ?d rdf:type ontology:Q1048835 }
Germany Denmark
Germany and Denmark are the countries of citizenship of Franz Ignaz Beck or Anna Elisabeth Jessen
Germany Denmark
action filter_type
action union
action find
entity Franz Ignaz Beck
relation country of citizenship
action find
entity Anna Elisabeth Jessen
relation country of citizenship
type political territorial entity
{'OR': [['Franz Ignaz Beck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Anna Elisabeth Jessen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?x property:country_of_citizenship ?d . VALUES ( ?x ) { ( resource:Franz_Ignaz_Beck ) ( resource:Anna_Elisabeth_Jessen ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q35
P35
Q502895
USER
Who are the heads of state of Germany and Denmark ?
(Q183,P35,c(Q502895)) (Q35,P35,c(Q502895))
action union
action filter_type
action find
entity Q183
relation P35
type Q502895
action filter_type
action find
entity Q35
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}] ['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?g ) { ( resource:Q183 ) ( resource:Q35 ) } . ?g property:P35 ?i }
Germany Denmark
action union
action filter_type
action find
entity Germany
relation head of state
type common name
action filter_type
action find
entity Denmark
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}] ['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?g ) { ( resource:Germany ) ( resource:Denmark ) } . ?g property:head_of_state ?i }
[]
common name
Q2567 Q102139 Q2571
SYSTEM
Richard von Weizsäcker, Margrethe II of Denmark, Walter Scheel
Q2569 Q2594 Q2538 Q2573 Q2563 Q2571 Q2567 Q2551 Q2542 Q2540 Q2582 Q151305 Q154041 Q161958 Q156187 Q157793 Q156572 Q157776 Q152756 Q154460 Q157812 Q151312 Q157789 Q153940 Q161059 Q157781 Q58056 Q102139 Q156617 Q155002 Q154998 Q94941 Q153586 Q154993
(Q183,P35,c(Q502895)) (Q35,P35,c(Q502895))
action union
action filter_type
action find
entity Q183
relation P35
type Q502895
action filter_type
action find
entity Q35
relation P35
type Q502895
The heads of state of Germany and Denmark are Baron [ANSWERS]
['Q183', 'P35', {'concept': 'Q502895'}] ['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?g ) { ( resource:Q183 ) ( resource:Q35 ) } . ?g property:P35 ?i }
Karl Carstens Theodor Heuss Joachim Gauck Gustav Heinemann Roman Herzog Walter Scheel Richard von Weizsäcker Johannes Rau Horst Köhler Christian Wulff Heinrich Lübke Christian IX of Denmark Frederick II of Denmark Eric of Pomerania Frederick V of Denmark Christian V of Denmark Christian VII of Denmark John, King of Denmark Frederick VIII of Denmark Christian II of Denmark Frederick III of Denmark Frederick IX of Denmark Frederick I of Denmark Christian I of Denmark Frederick IV of Denmark Christian VIII of Denmark Christopher of Bavaria Margrethe II of Denmark Christian X of Denmark Frederick VI of Denmark Christian III of Denmark Frederick VII of Denmark Christian IV of Denmark Christian VI of Denmark
The heads of state of Germany and Denmark are Baron Richard von Weizsäcker, Margrethe II of Denmark and Walter Scheel
Richard von Weizsäcker Margrethe II of Denmark Walter Scheel
action union
action filter_type
action find
entity Germany
relation head of state
type common name
action filter_type
action find
entity Denmark
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}] ['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?g ) { ( resource:Germany ) ( resource:Denmark ) } . ?g property:head_of_state ?i }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2567 Q102139 Q2571
P27
Q1048835
USER
Which political territories are those people an inhabitant of ?
(Q2567,P27,c(Q1048835)) (Q102139,P27,c(Q1048835)) (Q2571,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
['Q2567', 'P27', {'concept': 'Q1048835'}] ['Q102139', 'P27', {'concept': 'Q1048835'}] ['Q2571', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?u property:P27 ?x . VALUES ( ?u ) { ( resource:Q2569 ) ( resource:Q2594 ) ( resource:Q2538 ) } . ?x rdf:type ontology:Q1048835 }
Richard von Weizsäcker Margrethe II of Denmark Walter Scheel
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Richard von Weizsäcker', 'country of citizenship', {'concept': 'political territorial entity'}] ['Margrethe II of Denmark', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walter Scheel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?u property:country_of_citizenship ?x . VALUES ( ?u ) { ( resource:Karl_Carstens ) ( resource:Theodor_Heuss ) ( resource:Joachim_Gauck ) } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35 Q183
SYSTEM
Germany for 1st, 3rd, Denmark for 2nd
Q183 Q35 Q183
(Q2567,P27,c(Q1048835)) (Q102139,P27,c(Q1048835)) (Q2571,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
[ANSWERS]
['Q2567', 'P27', {'concept': 'Q1048835'}] ['Q102139', 'P27', {'concept': 'Q1048835'}] ['Q2571', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?u property:P27 ?x . VALUES ( ?u ) { ( resource:Q2569 ) ( resource:Q2594 ) ( resource:Q2538 ) } . ?x rdf:type ontology:Q1048835 }
Germany Denmark Germany
Germany, Denmark and Germany are those people an inhabitant of
Germany Denmark Germany
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Richard von Weizsäcker', 'country of citizenship', {'concept': 'political territorial entity'}] ['Margrethe II of Denmark', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walter Scheel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?u property:country_of_citizenship ?x . VALUES ( ?u ) { ( resource:Karl_Carstens ) ( resource:Theodor_Heuss ) ( resource:Joachim_Gauck ) } . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P138
Q6156156
USER
Which geochronological unit comes from Denmark ?
(c(Q6156156),P138,Q35)
action filter_type
action find_reverse
entity Q35
relation P138
type Q6156156
[{'concept': 'Q6156156'}, 'P138', 'Q35']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q35 . ?p rdf:type ontology:Q6156156 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation named after
type geochronological unit
[{'concept': 'geochronological unit'}, 'named after', 'Denmark']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Denmark . ?p rdf:type ontology:geochronological_unit }
[]
geochronological unit
Q502179
SYSTEM
Danian
Q502179
(c(Q6156156),P138,Q35)
action filter_type
action find_reverse
entity Q35
relation P138
type Q6156156
[ANSWER] comes from Denmark
[{'concept': 'Q6156156'}, 'P138', 'Q35']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q35 . ?p rdf:type ontology:Q6156156 }
Danian
Danian comes from Denmark
Danian
action filter_type
action find_reverse
entity Denmark
relation named after
type geochronological unit
[{'concept': 'geochronological unit'}, 'named after', 'Denmark']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Denmark . ?p rdf:type ontology:geochronological_unit }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q502179
P361
Q6156156
USER
What is that one a portion of ?
(Q502179,P361,c(Q6156156))
action filter_type
action find
entity Q502179
relation P361
type Q6156156
['Q502179', 'P361', {'concept': 'Q6156156'}]
SELECT DISTINCT ?r WHERE { resource:Q502179 property:P361 ?r . ?r rdf:type ontology:Q6156156 }
Danian
action filter_type
action find
entity Danian
relation part of
type geochronological unit
['Danian', 'part of', {'concept': 'geochronological unit'}]
SELECT DISTINCT ?r WHERE { resource:Danian property:part_of ?r . ?r rdf:type ontology:geochronological_unit }
[]
geochronological unit
Q76252
SYSTEM
Palaeocene
Q76252
(Q502179,P361,c(Q6156156))
action filter_type
action find
entity Q502179
relation P361
type Q6156156
That one a portion of is the [ANSWER]
['Q502179', 'P361', {'concept': 'Q6156156'}]
SELECT DISTINCT ?r WHERE { resource:Q502179 property:P361 ?r . ?r rdf:type ontology:Q6156156 }
Palaeocene
That one a portion of is the Palaeocene
Palaeocene
action filter_type
action find
entity Danian
relation part of
type geochronological unit
['Danian', 'part of', {'concept': 'geochronological unit'}]
SELECT DISTINCT ?r WHERE { resource:Danian property:part_of ?r . ?r rdf:type ontology:geochronological_unit }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q846
P463
Q484652
USER
How many international organizations had Denmark and Qatar as their member ?
(Q35,P463,c(Q484652)) (Q846,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q35
relation P463
type Q484652
action filter_type
action find
entity Q846
relation P463
type Q484652
['Q35', 'P463', {'concept': 'Q484652'}] ['Q846', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q484652 . resource:Q35 property:P463 ?w . resource:Q846 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Denmark Qatar
action count
action intersection
action filter_type
action find
entity Denmark
relation member of
type international organization
action filter_type
action find
entity Qatar
relation member of
type international organization
['Denmark', 'member of', {'concept': 'international organization'}] ['Qatar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:international_organization . resource:Denmark property:member_of ?w . resource:Qatar property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q35,P463,c(Q484652)) (Q846,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q35
relation P463
type Q484652
action filter_type
action find
entity Q846
relation P463
type Q484652
[ANSWER]
['Q35', 'P463', {'concept': 'Q484652'}] ['Q846', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q484652 . resource:Q35 property:P463 ?w . resource:Q846 property:P463 ?w . ?w rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Denmark
relation member of
type international organization
action filter_type
action find
entity Qatar
relation member of
type international organization
['Denmark', 'member of', {'concept': 'international organization'}] ['Qatar', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:international_organization . resource:Denmark property:member_of ?w . resource:Qatar property:member_of ?w . ?w rdf:type ontology:international_organization }
[]