Simple Question (Direct)
Simple Question
Q1506244
P26
Q502895
USER
Who is the spouse of Georg Ulrich Handke ?
(Q1506244,P26,c(Q502895))
action filter_type
action find
entity Q1506244
relation P26
type Q502895
['Q1506244', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1506244 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Georg Ulrich Handke
action filter_type
action find
entity Georg Ulrich Handke
relation spouse
type common name
['Georg Ulrich Handke', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Georg_Ulrich_Handke property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1338748
SYSTEM
Emmi Handke
Q1338748
(Q1506244,P26,c(Q502895))
action filter_type
action find
entity Q1506244
relation P26
type Q502895
The spouse of Georg Ulrich Handke is the [ANSWER]
['Q1506244', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1506244 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Emmi Handke
The spouse of Georg Ulrich Handke is the Emmi Handke
Emmi Handke
action filter_type
action find
entity Georg Ulrich Handke
relation spouse
type common name
['Georg Ulrich Handke', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Georg_Ulrich_Handke property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1338748 Q7853049
P27
Q1048835
USER
Is Emmi Handke a civilian of Tungkong Mangga ?
(Q1338748,P27,Q7853049)
action is_in
entity Q7853049
action find
entity Q1338748
relation P27
['Q1338748', 'P27', 'Q7853049']
ASK WHERE { resource:Q1338748 property:P27 resource:Q7853049 }
Emmi Handke Tungkong Mangga
action is_in
entity Tungkong Mangga
action find
entity Emmi Handke
relation country of citizenship
['Emmi Handke', 'country of citizenship', 'Tungkong Mangga']
ASK WHERE { resource:Emmi_Handke property:country_of_citizenship resource:Tungkong_Mangga }
[]
political territorial entity
SYSTEM
NO
(Q1338748,P27,Q7853049)
action is_in
entity Q7853049
action find
entity Q1338748
relation P27
[ANSWER]
['Q1338748', 'P27', 'Q7853049']
ASK WHERE { resource:Q1338748 property:P27 resource:Q7853049 }
No
action is_in
entity Tungkong Mangga
action find
entity Emmi Handke
relation country of citizenship
['Emmi Handke', 'country of citizenship', 'Tungkong Mangga']
ASK WHERE { resource:Emmi_Handke property:country_of_citizenship resource:Tungkong_Mangga }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1338748
P27
Q1048835
USER
How many political territories are Emmi Handke an inhabitant of ?
(Q1338748,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1338748
relation P27
type Q1048835
['Q1338748', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q1338748 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Emmi Handke
action count
action filter_type
action find
entity Emmi Handke
relation country of citizenship
type political territorial entity
['Emmi Handke', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Emmi_Handke property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1338748,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1338748
relation P27
type Q1048835
[ANSWER]
['Q1338748', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q1338748 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Emmi Handke
relation country of citizenship
type political territorial entity
['Emmi Handke', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Emmi_Handke property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1788706
Q1048835
USER
And what about Arne Jessen?
(Q1788706,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1788706
relation P27
type Q1048835
['Q1788706', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q1788706 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Arne Jessen
action count
action filter_type
action find
entity Arne Jessen
relation country of citizenship
type political territorial entity
['Arne Jessen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Arne_Jessen property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q1788706,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1788706
relation P27
type Q1048835
[ANSWER]
['Q1788706', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q1788706 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Arne Jessen
relation country of citizenship
type political territorial entity
['Arne Jessen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Arne_Jessen property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works have been dubbed by exactly 11 people ?
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 11
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?c ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?c = 11 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 11
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?c ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?c = 11 ) }
[]
common name work
SYSTEM
5
Q26987217 Q26701981 Q26390366 Q26299860 Q26457246
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 11
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?c ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?c = 11 ) }
Hércules y la visita de Zeus Hércules y el grifo Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta
5
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 11
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?c ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?c = 11 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1338748
P106
Q12737077
USER
Which occupation is the profession of Emmi Handke ?
(Q1338748,P106,c(Q12737077))
action filter_type
action find
entity Q1338748
relation P106
type Q12737077
['Q1338748', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1338748 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Emmi Handke
action filter_type
action find
entity Emmi Handke
relation occupation
type occupation
['Emmi Handke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Emmi_Handke property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1338748,P106,c(Q12737077))
action filter_type
action find
entity Q1338748
relation P106
type Q12737077
So [ANSWER] is the profession of Emmi Handke
['Q1338748', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1338748 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
So politician is the profession of Emmi Handke
politician
action filter_type
action find
entity Emmi Handke
relation occupation
type occupation
['Emmi Handke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Emmi_Handke property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1338748
P166
Q618779
USER
What was awarded to Emmi Handke ?
(Q1338748,P166,c(Q618779))
action filter_type
action find
entity Q1338748
relation P166
type Q618779
['Q1338748', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1338748 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Emmi Handke
action filter_type
action find
entity Emmi Handke
relation award received
type award
['Emmi Handke', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Emmi_Handke property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q694401
SYSTEM
Order of Karl Marx
Q694401
(Q1338748,P166,c(Q618779))
action filter_type
action find
entity Q1338748
relation P166
type Q618779
The [ANSWER] was awarded to Emmi Handke
['Q1338748', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1338748 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Order of Karl Marx
The Order of Karl Marx was awarded to Emmi Handke
Order of Karl Marx
action filter_type
action find
entity Emmi Handke
relation award received
type award
['Emmi Handke', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Emmi_Handke property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q694401 Q12671192 Q2439758
P138
Q502895
USER
Does that award have Remigijus Zolubas and Tom Keating as its toponym ?
(Q694401,P138,Q12671192) (Q694401,P138,Q2439758)
action is_in
entity Q694401
action intersection
action find_reverse
entity Q12671192
relation P138
action find_reverse
entity Q2439758
relation P138
['Q694401', 'P138', 'Q12671192'] ['Q694401', 'P138', 'Q2439758']
ASK WHERE { resource:Q694401 property:P138 resource:Q12671192 . resource:Q694401 property:P138 resource:Q2439758 }
Order of Karl Marx Remigijus Zolubas Tom Keating
action is_in
entity Order of Karl Marx
action intersection
action find_reverse
entity Remigijus Zolubas
relation named after
action find_reverse
entity Tom Keating
relation named after
['Order of Karl Marx', 'named after', 'Remigijus Zolubas'] ['Order of Karl Marx', 'named after', 'Tom Keating']
ASK WHERE { resource:Order_of_Karl_Marx property:named_after resource:Remigijus_Zolubas . resource:Order_of_Karl_Marx property:named_after resource:Tom_Keating }
[]
common name
SYSTEM
NO
(Q694401,P138,Q12671192) (Q694401,P138,Q2439758)
action is_in
entity Q694401
action intersection
action find_reverse
entity Q12671192
relation P138
action find_reverse
entity Q2439758
relation P138
[ANSWER]
['Q694401', 'P138', 'Q12671192'] ['Q694401', 'P138', 'Q2439758']
ASK WHERE { resource:Q694401 property:P138 resource:Q12671192 . resource:Q694401 property:P138 resource:Q2439758 }
No
action is_in
entity Order of Karl Marx
action intersection
action find_reverse
entity Remigijus Zolubas
relation named after
action find_reverse
entity Tom Keating
relation named after
['Order of Karl Marx', 'named after', 'Remigijus Zolubas'] ['Order of Karl Marx', 'named after', 'Tom Keating']
ASK WHERE { resource:Order_of_Karl_Marx property:named_after resource:Remigijus_Zolubas . resource:Order_of_Karl_Marx property:named_after resource:Tom_Keating }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q1792379 Q15709879
USER
Which occupations are depicted in exactly 1 art genres and artwork series ?
(c(Q1792379)|c(Q15709879),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } UNION { ?r rdf:type ontology:Q15709879 . ?j rdf:type ontology:Q12737077 . ?r property:P180 ?j } } GROUP BY ?j } }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } UNION { ?r rdf:type ontology:artwork_series . ?j rdf:type ontology:occupation . ?r property:depicts ?j } } GROUP BY ?j } }
[]
occupation art genre artwork series
Q4991371 Q47064 Q805221
SYSTEM
soldier, military personnel, ballet dancer
Q2079936 Q47064 Q805221 Q12059906 Q622630 Q4991371 Q2730732 Q39631
(c(Q1792379)|c(Q15709879),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
The [ANSWERS] are depicted in exactly 1 art genres and artwork series
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } UNION { ?r rdf:type ontology:Q15709879 . ?j rdf:type ontology:Q12737077 . ?r property:P180 ?j } } GROUP BY ?j } }
king of marksmen military personnel ballet dancer herder odalisque soldier equestrian physician
The soldier, military personnel and ballet dancer are depicted in exactly 1 art genres and artwork series
soldier military personnel ballet dancer
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } UNION { ?r rdf:type ontology:artwork_series . ?j rdf:type ontology:occupation . ?r property:depicts ?j } } GROUP BY ?j } }
[]