Simple Question (Direct)
Simple Question
Q2039803
P21
Q290
USER
Which sex does Otto Lobach belong to ?
(Q2039803,P21,c(Q290))
action filter_type
action find
entity Q2039803
relation P21
type Q290
['Q2039803', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2039803 property:P21 ?j . ?j rdf:type ontology:Q290 }
Otto Lobach
action filter_type
action find
entity Otto Lobach
relation gender
type sex
['Otto Lobach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Otto_Lobach property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2039803,P21,c(Q290))
action filter_type
action find
entity Q2039803
relation P21
type Q290
Otto Lobach belongs to [ANSWER]
['Q2039803', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2039803 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Otto Lobach belongs to male
male
action filter_type
action find
entity Otto Lobach
relation gender
type sex
['Otto Lobach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Otto_Lobach property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2039803
P39
Q12737077
USER
What was the position for which Otto Lobach was appointed ?
(Q2039803,P39,c(Q12737077))
action filter_type
action find
entity Q2039803
relation P39
type Q12737077
['Q2039803', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q2039803 property:P39 ?e }
Otto Lobach
action filter_type
action find
entity Otto Lobach
relation position held
type occupation
['Otto Lobach', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Otto_Lobach property:position_held ?e }
[]
occupation
Q17854096
SYSTEM
member of the Reichstag of the German Empire
Q17854096
(Q2039803,P39,c(Q12737077))
action filter_type
action find
entity Q2039803
relation P39
type Q12737077
Of [ANSWER]
['Q2039803', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q2039803 property:P39 ?e }
member of the Reichstag of the German Empire
Of member of the Reichstag of the German Empire
member of the Reichstag of the German Empire
action filter_type
action find
entity Otto Lobach
relation position held
type occupation
['Otto Lobach', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Otto_Lobach property:position_held ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17854096 Q160208
P361
Q1752346
USER
Is member of the Reichstag of the German Empire a component of Reichstag ?
(Q17854096,P361,Q160208)
action is_in
entity Q160208
action find
entity Q17854096
relation P361
['Q17854096', 'P361', 'Q160208']
ASK WHERE { resource:Q17854096 property:P361 resource:Q160208 }
member of the Reichstag of the German Empire Reichstag
action is_in
entity Reichstag
action find
entity member of the Reichstag of the German Empire
relation part of
['member of the Reichstag of the German Empire', 'part of', 'Reichstag']
ASK WHERE { resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Reichstag }
[]
assembly
SYSTEM
YES
(Q17854096,P361,Q160208)
action is_in
entity Q160208
action find
entity Q17854096
relation P361
[ANSWER]
['Q17854096', 'P361', 'Q160208']
ASK WHERE { resource:Q17854096 property:P361 resource:Q160208 }
Yes
action is_in
entity Reichstag
action find
entity member of the Reichstag of the German Empire
relation part of
['member of the Reichstag of the German Empire', 'part of', 'Reichstag']
ASK WHERE { resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Reichstag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17854096
P1001
Q3024240
USER
Which former country comes under the jurisdiction of that occupation ?
action filter_type
action find
entity Q17854096
relation P1001
type Q3024240
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3024240 . resource:Q17854096 property:P1001 ?o }
member of the Reichstag of the German Empire
action filter_type
action find
entity member of the Reichstag of the German Empire
relation applies to jurisdiction
type former country
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:former_country . resource:member_of_the_Reichstag_of_the_German_Empire property:applies_to_jurisdiction ?o }
[]
former country
Q43287
SYSTEM
German Empire
Q43287
action filter_type
action find
entity Q17854096
relation P1001
type Q3024240
The [ANSWER] comes under the jurisdiction of that occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3024240 . resource:Q17854096 property:P1001 ?o }
German Empire
The German Empire comes under the jurisdiction of that occupation
German Empire
action filter_type
action find
entity member of the Reichstag of the German Empire
relation applies to jurisdiction
type former country
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:former_country . resource:member_of_the_Reichstag_of_the_German_Empire property:applies_to_jurisdiction ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P122
Q22676587 Q3024240
USER
How many monarchic systems describes the types of government of approximately 1 former country ?
(c(Q3024240),P122,c(Q22676587))
action count
action approx
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
value 1
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P122 ?n . ?n rdf:type ontology:Q22676587 . ?m rdf:type ontology:Q3024240 } GROUP BY ?n } }
action count
action approx
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
value 1
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:basic_form_of_government ?n . ?n rdf:type ontology:monarchic_system . ?m rdf:type ontology:former_country } GROUP BY ?n } }
[]
monarchic system former country
SYSTEM
2
Q3208952 Q2994894
(c(Q3024240),P122,c(Q22676587))
action count
action approx
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
value 1
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P122 ?n . ?n rdf:type ontology:Q22676587 . ?m rdf:type ontology:Q3024240 } GROUP BY ?n } }
federal monarchy dual monarchy
2
action count
action approx
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
value 1
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:basic_form_of_government ?n . ?n rdf:type ontology:monarchic_system . ?m rdf:type ontology:former_country } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q83958
P122
Q22676587 Q28108 Q3024240
USER
How many former countries have less number of monarchic systems and political systems as the type of government than Macedonian kingdom ?
(c(Q3024240),P122,c(Q22676587)|c(Q28108))
action count
action less
action union
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q83958
relation P122
type Q22676587
type Q28108
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { { ?l rdf:type ontology:Q22676587 } UNION { ?l rdf:type ontology:Q28108 } } . resource:Q83958 property:P122 ?l } } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q28108 ) } } GROUP BY ?g } }
Macedonian kingdom
action count
action less
action union
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Macedonian kingdom
relation basic form of government
type monarchic system
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'political system'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { { ?l rdf:type ontology:monarchic_system } UNION { ?l rdf:type ontology:political_system } } . resource:Macedonian_kingdom property:basic_form_of_government ?l } } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:political_system ) } } GROUP BY ?g } }
[]
monarchic system political system former country
SYSTEM
10
Q34756 Q28513 Q912052 Q201705 Q12560 Q62943 Q484195 Q188712 Q5406 Q837855
(c(Q3024240),P122,c(Q22676587)|c(Q28108))
action count
action less
action union
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q83958
relation P122
type Q22676587
type Q28108
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { { ?l rdf:type ontology:Q22676587 } UNION { ?l rdf:type ontology:Q28108 } } . resource:Q83958 property:P122 ?l } } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q28108 ) } } GROUP BY ?g } }
Qin Austria-Hungary Wei Khmer Empire Ottoman Empire Maurya Empire Timurid Empire Empire of Japan Hittites Qi
10
action count
action less
action union
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Macedonian kingdom
relation basic form of government
type monarchic system
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'political system'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { { ?l rdf:type ontology:monarchic_system } UNION { ?l rdf:type ontology:political_system } } . resource:Macedonian_kingdom property:basic_form_of_government ?l } } . FILTER ( ?s < ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:political_system ) } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q34266
P122
Q22676587 Q28108 Q3024240
USER
And what about Russian Empire?
(c(Q3024240),P122,c(Q22676587)|c(Q28108))
action count
action less
action union
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q34266
relation P122
type Q22676587
type Q28108
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q28108 ) ( ontology:Q22676587 ) } . ?x rdf:type ?l } GROUP BY ?j } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q34266 property:P122 ?q . { { ?q rdf:type ontology:Q22676587 } UNION { ?q rdf:type ontology:Q28108 } } } } }
Russian Empire
action count
action less
action union
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Russian Empire
relation basic form of government
type monarchic system
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'political system'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:political_system ) ( ontology:monarchic_system ) } . ?x rdf:type ?l } GROUP BY ?j } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Russian_Empire property:basic_form_of_government ?q . { { ?q rdf:type ontology:monarchic_system } UNION { ?q rdf:type ontology:political_system } } } } }
[]
monarchic system political system former country
SYSTEM
10
Q34756 Q28513 Q912052 Q201705 Q12560 Q62943 Q484195 Q188712 Q5406 Q837855
(c(Q3024240),P122,c(Q22676587)|c(Q28108))
action count
action less
action union
action find_tuple_counts
relation P122
type Q3024240
type Q22676587
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q34266
relation P122
type Q22676587
type Q28108
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:Q28108 ) ( ontology:Q22676587 ) } . ?x rdf:type ?l } GROUP BY ?j } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q34266 property:P122 ?q . { { ?q rdf:type ontology:Q22676587 } UNION { ?q rdf:type ontology:Q28108 } } } } }
Qin Austria-Hungary Wei Khmer Empire Ottoman Empire Maurya Empire Timurid Empire Empire of Japan Hittites Qi
10
action count
action less
action union
action find_tuple_counts
relation basic form of government
type former country
type monarchic system
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Russian Empire
relation basic form of government
type monarchic system
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'political system'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { VALUES ( ?l ) { ( ontology:political_system ) ( ontology:monarchic_system ) } . ?x rdf:type ?l } GROUP BY ?j } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Russian_Empire property:basic_form_of_government ?q . { { ?q rdf:type ontology:monarchic_system } UNION { ?q rdf:type ontology:political_system } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P122
Q22676587 Q3024240
USER
Which monarchic systems best describe the government of max number of former countries ?
(c(Q3024240),P122,Q2994894)
action argmax
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
[{'concept': 'Q3024240'}, 'P122', 'Q2994894']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P122 ?n . ?n rdf:type ontology:Q22676587 . ?m rdf:type ontology:Q3024240 } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?z ) WHERE { ?w rdf:type ontology:Q22676587 . ?k rdf:type ontology:Q3024240 . ?k property:P122 ?w } GROUP BY ?w } . FILTER ( ?z = ?u ) }
action argmax
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
[{'concept': 'former country'}, 'basic form of government', 'dual monarchy']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:basic_form_of_government ?n . ?n rdf:type ontology:monarchic_system . ?m rdf:type ontology:former_country } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?z ) WHERE { ?w rdf:type ontology:monarchic_system . ?k rdf:type ontology:former_country . ?k property:basic_form_of_government ?w } GROUP BY ?w } . FILTER ( ?z = ?u ) }
[]
monarchic system former country
Q3208952 Q2994894
SYSTEM
federal monarchy, dual monarchy
Q3208952 Q2994894
(c(Q3024240),P122,Q2994894)
action argmax
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
[ANSWERS] best describe the government of max number of former countries
[{'concept': 'Q3024240'}, 'P122', 'Q2994894']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P122 ?n . ?n rdf:type ontology:Q22676587 . ?m rdf:type ontology:Q3024240 } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?z ) WHERE { ?w rdf:type ontology:Q22676587 . ?k rdf:type ontology:Q3024240 . ?k property:P122 ?w } GROUP BY ?w } . FILTER ( ?z = ?u ) }
federal monarchy dual monarchy
Federal monarchy and dual monarchy best describe the government of max number of former countries
federal monarchy dual monarchy
action argmax
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
[{'concept': 'former country'}, 'basic form of government', 'dual monarchy']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:basic_form_of_government ?n . ?n rdf:type ontology:monarchic_system . ?m rdf:type ontology:former_country } GROUP BY ?n } } . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?z ) WHERE { ?w rdf:type ontology:monarchic_system . ?k rdf:type ontology:former_country . ?k property:basic_form_of_government ?w } GROUP BY ?w } . FILTER ( ?z = ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q378923 Q2039803
P19 P937
Q56061
USER
Which administrative territories are the work locations of Otto Lobach or are the places of birth of Memo Benassi ?
OR((Q2039803,P937,c(Q56061)), (Q378923,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2039803
relation P937
action find
entity Q378923
relation P19
type Q56061
{'OR': [['Q2039803', 'P937', {'concept': 'Q56061'}], ['Q378923', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q378923 property:P19 ?q } UNION { resource:Q2039803 property:P937 ?q } } . ?q rdf:type ontology:Q56061 }
Memo Benassi Otto Lobach
action filter_type
action union
action find
entity Otto Lobach
relation work location
action find
entity Memo Benassi
relation place of birth
type administrative territorial entity
{'OR': [['Otto Lobach', 'work location', {'concept': 'administrative territorial entity'}], ['Memo Benassi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Memo_Benassi property:place_of_birth ?q } UNION { resource:Otto_Lobach property:work_location ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q100943
SYSTEM
Berlin, Sorbolo
Q64 Q100943
OR((Q2039803,P937,c(Q56061)), (Q378923,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2039803
relation P937
action find
entity Q378923
relation P19
type Q56061
[ANSWERS] are the work locations of Otto Lobach or are the places of birth of Memo Benassi
{'OR': [['Q2039803', 'P937', {'concept': 'Q56061'}], ['Q378923', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q378923 property:P19 ?q } UNION { resource:Q2039803 property:P937 ?q } } . ?q rdf:type ontology:Q56061 }
Berlin Sorbolo
Berlin and Sorbolo are the work locations of Otto Lobach or are the places of birth of Memo Benassi
Berlin Sorbolo
action filter_type
action union
action find
entity Otto Lobach
relation work location
action find
entity Memo Benassi
relation place of birth
type administrative territorial entity
{'OR': [['Otto Lobach', 'work location', {'concept': 'administrative territorial entity'}], ['Memo Benassi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Memo_Benassi property:place_of_birth ?q } UNION { resource:Otto_Lobach property:work_location ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q378923 Q99779
P20
Q56061
USER
How many administrative territories did the demise of Memo Benassi or Karl Pouva occur ?
(Q378923,P20,c(Q56061)) (Q99779,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q378923
relation P20
type Q56061
action filter_type
action find
entity Q99779
relation P20
type Q56061
['Q378923', 'P20', {'concept': 'Q56061'}] ['Q99779', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { resource:Q378923 property:P20 ?l . ?l rdf:type ontology:Q56061 } UNION { resource:Q99779 property:P20 ?l . ?l rdf:type ontology:Q56061 } }
Memo Benassi Karl Pouva
action count
action union
action filter_type
action find
entity Memo Benassi
relation place of death
type administrative territorial entity
action filter_type
action find
entity Karl Pouva
relation place of death
type administrative territorial entity
['Memo Benassi', 'place of death', {'concept': 'administrative territorial entity'}] ['Karl Pouva', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { resource:Memo_Benassi property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity } UNION { resource:Karl_Pouva property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q1891 Q6358
(Q378923,P20,c(Q56061)) (Q99779,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q378923
relation P20
type Q56061
action filter_type
action find
entity Q99779
relation P20
type Q56061
[ANSWER]
['Q378923', 'P20', {'concept': 'Q56061'}] ['Q99779', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { resource:Q378923 property:P20 ?l . ?l rdf:type ontology:Q56061 } UNION { resource:Q99779 property:P20 ?l . ?l rdf:type ontology:Q56061 } }
Bologna Deuben
2
action count
action union
action filter_type
action find
entity Memo Benassi
relation place of death
type administrative territorial entity
action filter_type
action find
entity Karl Pouva
relation place of death
type administrative territorial entity
['Memo Benassi', 'place of death', {'concept': 'administrative territorial entity'}] ['Karl Pouva', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { resource:Memo_Benassi property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity } UNION { resource:Karl_Pouva property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P1427
Q18608583
USER
Which recurring sporting event has its origin at Berlin ?
(c(Q18608583),P1427,Q64)
action filter_type
action find_reverse
entity Q64
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q64']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q18608583 . ?v property:P1427 resource:Q64 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Berlin']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:recurring_sporting_event . ?v property:start_point resource:Berlin }
[]
recurring sporting event
Q20962750
SYSTEM
Velothon Berlin 2015
Q20962750
(c(Q18608583),P1427,Q64)
action filter_type
action find_reverse
entity Q64
relation P1427
type Q18608583
[ANSWER] has its origin at Berlin
[{'concept': 'Q18608583'}, 'P1427', 'Q64']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q18608583 . ?v property:P1427 resource:Q64 }
Velothon Berlin 2015
Velothon Berlin 2015 has its origin at Berlin
Velothon Berlin 2015
action filter_type
action find_reverse
entity Berlin
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Berlin']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:recurring_sporting_event . ?v property:start_point resource:Berlin }
[]