Simple Question (Direct)
Simple Question
Q1912345
P166
Q618779
USER
What was won by Max Bürger ?
(Q1912345,P166,c(Q618779))
action filter_type
action find
entity Q1912345
relation P166
type Q618779
['Q1912345', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q1912345 property:P166 ?x }
Max Bürger
action filter_type
action find
entity Max Bürger
relation award received
type award
['Max Bürger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Max_Bürger property:award_received ?x }
[]
award
Q1614821
SYSTEM
Hervorragender Wissenschaftler des Volkes
Q1614821
(Q1912345,P166,c(Q618779))
action filter_type
action find
entity Q1912345
relation P166
type Q618779
The [ANSWER] was won by Max Bürger
['Q1912345', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q1912345 property:P166 ?x }
Hervorragender Wissenschaftler des Volkes
The Hervorragender Wissenschaftler des Volkes was won by Max Bürger
Hervorragender Wissenschaftler des Volkes
action filter_type
action find
entity Max Bürger
relation award received
type award
['Max Bürger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Max_Bürger property:award_received ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1912345
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1614821,P102,c(Q7210356))
action filter_type
action find
entity Q1912345
relation P102
type Q7210356
['Q1614821', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q1912345 property:P102 ?x }
Max Bürger
action filter_type
action find
entity Max Bürger
relation member of political party
type political organization
['Hervorragender Wissenschaftler des Volkes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Max_Bürger property:member_of_political_party ?x }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1614821,P102,c(Q7210356))
action filter_type
action find
entity Q1912345
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1614821', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q1912345 property:P102 ?x }
Nazi Party
That person is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity Max Bürger
relation member of political party
type political organization
['Hervorragender Wissenschaftler des Volkes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Max_Bürger property:member_of_political_party ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7320 Q11615826 Q18394396
P488
Q502895
USER
Is Hiraku Haga and Tim Collins a chairperson of Q7320 ?
(Q7320,P488,Q11615826) (Q7320,P488,Q18394396)
action is_in
entity Q7320
action intersection
action find_reverse
entity Q11615826
relation P488
action find_reverse
entity Q18394396
relation P488
['Q7320', 'P488', 'Q11615826'] ['Q7320', 'P488', 'Q18394396']
ASK WHERE { resource:Q7320 property:P488 resource:Q18394396 . resource:Q7320 property:P488 resource:Q11615826 }
Nazi Party Hiraku Haga Tim Collins
action is_in
entity Nazi Party
action intersection
action find_reverse
entity Hiraku Haga
relation chairperson
action find_reverse
entity Tim Collins
relation chairperson
['Nazi Party', 'chairperson', 'Hiraku Haga'] ['Nazi Party', 'chairperson', 'Tim Collins']
ASK WHERE { resource:Nazi_Party property:chairperson resource:Tim_Collins . resource:Nazi_Party property:chairperson resource:Hiraku_Haga }
[]
common name
SYSTEM
NO
(Q7320,P488,Q11615826) (Q7320,P488,Q18394396)
action is_in
entity Q7320
action intersection
action find_reverse
entity Q11615826
relation P488
action find_reverse
entity Q18394396
relation P488
[ANSWER]
['Q7320', 'P488', 'Q11615826'] ['Q7320', 'P488', 'Q18394396']
ASK WHERE { resource:Q7320 property:P488 resource:Q18394396 . resource:Q7320 property:P488 resource:Q11615826 }
No
action is_in
entity Nazi Party
action intersection
action find_reverse
entity Hiraku Haga
relation chairperson
action find_reverse
entity Tim Collins
relation chairperson
['Nazi Party', 'chairperson', 'Hiraku Haga'] ['Nazi Party', 'chairperson', 'Tim Collins']
ASK WHERE { resource:Nazi_Party property:chairperson resource:Tim_Collins . resource:Nazi_Party property:chairperson resource:Hiraku_Haga }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7320 Q5635801
P159
Q56061
USER
How many administrative territories are the headquarters of Nazi Party or HRL Laboratories located ?
(Q7320,P159,c(Q56061)) (Q5635801,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q7320
relation P159
type Q56061
action filter_type
action find
entity Q5635801
relation P159
type Q56061
['Q7320', 'P159', {'concept': 'Q56061'}] ['Q5635801', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?j ) { ( resource:Q7320 ) ( resource:Q5635801 ) } . ?j property:P159 ?v }
Nazi Party HRL Laboratories
action count
action union
action filter_type
action find
entity Nazi Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity HRL Laboratories
relation headquarters location
type administrative territorial entity
['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['HRL Laboratories', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?j ) { ( resource:Nazi_Party ) ( resource:HRL_Laboratories ) } . ?j property:headquarters_location ?v }
[]
administrative territorial entity
SYSTEM
2
Q1726 Q387047
(Q7320,P159,c(Q56061)) (Q5635801,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q7320
relation P159
type Q56061
action filter_type
action find
entity Q5635801
relation P159
type Q56061
[ANSWER]
['Q7320', 'P159', {'concept': 'Q56061'}] ['Q5635801', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?j ) { ( resource:Q7320 ) ( resource:Q5635801 ) } . ?j property:P159 ?v }
Munich Malibu
2
action count
action union
action filter_type
action find
entity Nazi Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity HRL Laboratories
relation headquarters location
type administrative territorial entity
['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['HRL Laboratories', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?j ) { ( resource:Nazi_Party ) ( resource:HRL_Laboratories ) } . ?j property:headquarters_location ?v }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2247999 Q18394396
P27 P17
Q1048835
USER
Which political territories do Tim Collins belong to or are Schnipperingen situated in ?
OR((Q18394396,P27,c(Q1048835)), (Q2247999,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18394396
relation P27
action find
entity Q2247999
relation P17
type Q1048835
{'OR': [['Q18394396', 'P27', {'concept': 'Q1048835'}], ['Q2247999', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2247999 property:P17 ?p } UNION { resource:Q18394396 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Schnipperingen Tim Collins
action filter_type
action union
action find
entity Tim Collins
relation country of citizenship
action find
entity Schnipperingen
relation country
type political territorial entity
{'OR': [['Tim Collins', 'country of citizenship', {'concept': 'political territorial entity'}], ['Schnipperingen', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Schnipperingen property:country ?p } UNION { resource:Tim_Collins property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q18394396,P27,c(Q1048835)), (Q2247999,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18394396
relation P27
action find
entity Q2247999
relation P17
type Q1048835
Tim Collins belong to both [ANSWERS] or Schnipperingen
{'OR': [['Q18394396', 'P27', {'concept': 'Q1048835'}], ['Q2247999', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2247999 property:P17 ?p } UNION { resource:Q18394396 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Australia Germany
Tim Collins belong to both Australia and Germany or Schnipperingen
Australia Germany
action filter_type
action union
action find
entity Tim Collins
relation country of citizenship
action find
entity Schnipperingen
relation country
type political territorial entity
{'OR': [['Tim Collins', 'country of citizenship', {'concept': 'political territorial entity'}], ['Schnipperingen', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Schnipperingen property:country ?p } UNION { resource:Tim_Collins property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q15617994 Q33506 Q618779
USER
Which awards are awarded by exactly 1 administrative territories or museums ?
(c(Q618779),P1027,c(Q15617994)|c(Q33506))
action equal
action union
action find_tuple_counts
relation P1027
type Q618779
type Q15617994
action find_tuple_counts
relation P1027
type Q618779
type Q33506
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q15617994'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { { ?n property:P1027 ?p . ?n rdf:type ontology:Q618779 . ?p rdf:type ontology:Q15617994 } UNION { ?n property:P1027 ?p . ?n rdf:type ontology:Q618779 . ?p rdf:type ontology:Q33506 } } GROUP BY ?n } . FILTER ( ?v = 1 ) }
action equal
action union
action find_tuple_counts
relation conferred by
type award
type designation for an administrative territorial entity
action find_tuple_counts
relation conferred by
type award
type museum
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'museum'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { { ?n property:conferred_by ?p . ?n rdf:type ontology:award . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:conferred_by ?p . ?n rdf:type ontology:award . ?p rdf:type ontology:museum } } GROUP BY ?n } . FILTER ( ?v = 1 ) }
[]
designation for an administrative territorial entity museum award
Q1342797 Q26706836 Q10700415
SYSTEM
Walter Bauer Award, sport merit order, Söderberg Prize
Q10700415 Q20505747 Q1342797 Q25052096 Q26706836 Q2376515 Q1045784 Q696246 Q3197371
(c(Q618779),P1027,c(Q15617994)|c(Q33506))
action equal
action union
action find_tuple_counts
relation P1027
type Q618779
type Q15617994
action find_tuple_counts
relation P1027
type Q618779
type Q33506
value 1
[ANSWERS] are awarded by exactly 1 administrative territories or museums
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q15617994'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { { ?n property:P1027 ?p . ?n rdf:type ontology:Q618779 . ?p rdf:type ontology:Q15617994 } UNION { ?n property:P1027 ?p . ?n rdf:type ontology:Q618779 . ?p rdf:type ontology:Q33506 } } GROUP BY ?n } . FILTER ( ?v = 1 ) }
Söderberg Prize Puh Award Walter Bauer Award Leidy Award sport merit order Medal "For Life Saving" Order of the Golden Eagle Order of the Chrysanthemum Finnish State Prize for Literature
Walter Bauer Award, sport merit order and Söderberg Prize are awarded by exactly 1 administrative territories or museums
Walter Bauer Award sport merit order Söderberg Prize
action equal
action union
action find_tuple_counts
relation conferred by
type award
type designation for an administrative territorial entity
action find_tuple_counts
relation conferred by
type award
type museum
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'museum'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { { ?n property:conferred_by ?p . ?n rdf:type ontology:award . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:conferred_by ?p . ?n rdf:type ontology:award . ?p rdf:type ontology:museum } } GROUP BY ?n } . FILTER ( ?v = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1342797 Q16467345
P1346
Q502895
USER
How many people were the winner of Walter Bauer Award or 2015 PDC World Darts Championship ?
(Q1342797,P1346,c(Q502895)) (Q16467345,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q1342797
relation P1346
type Q502895
action filter_type
action find
entity Q16467345
relation P1346
type Q502895
['Q1342797', 'P1346', {'concept': 'Q502895'}] ['Q16467345', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?t property:P1346 ?c . VALUES ( ?t ) { ( resource:Q16467345 ) ( resource:Q1342797 ) } }
Walter Bauer Award 2015 PDC World Darts Championship
action count
action union
action filter_type
action find
entity Walter Bauer Award
relation winner
type common name
action filter_type
action find
entity 2015 PDC World Darts Championship
relation winner
type common name
['Walter Bauer Award', 'winner', {'concept': 'common name'}] ['2015 PDC World Darts Championship', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?t property:winner ?c . VALUES ( ?t ) { ( resource:2015_PDC_World_Darts_Championship ) ( resource:Walter_Bauer_Award ) } }
[]
common name
SYSTEM
6
Q1287906 Q96266 Q973413 Q1222514 Q522699 Q66426
(Q1342797,P1346,c(Q502895)) (Q16467345,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q1342797
relation P1346
type Q502895
action filter_type
action find
entity Q16467345
relation P1346
type Q502895
[ANSWER]
['Q1342797', 'P1346', {'concept': 'Q502895'}] ['Q16467345', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?t property:P1346 ?c . VALUES ( ?t ) { ( resource:Q16467345 ) ( resource:Q1342797 ) } }
Kerstin Hensel Wulf Kirsten Gary Anderson Dieter Mucke André Schinkel Wolfgang Hilbig
6
action count
action union
action filter_type
action find
entity Walter Bauer Award
relation winner
type common name
action filter_type
action find
entity 2015 PDC World Darts Championship
relation winner
type common name
['Walter Bauer Award', 'winner', {'concept': 'common name'}] ['2015 PDC World Darts Championship', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?t property:winner ?c . VALUES ( ?t ) { ( resource:2015_PDC_World_Darts_Championship ) ( resource:Walter_Bauer_Award ) } }
[]