Simple Question (Direct)
Simple Question
Q956626
P19
Q1496967
USER
Which territory was Imme Dros born in ?
(Q956626,P19,c(Q1496967))
action filter_type
action find
entity Q956626
relation P19
type Q1496967
['Q956626', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1496967 . resource:Q956626 property:P19 ?c }
Imme Dros
action filter_type
action find
entity Imme Dros
relation place of birth
type territorial entity
['Imme Dros', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:territorial_entity . resource:Imme_Dros property:place_of_birth ?c }
[]
territorial entity
Q1012380
SYSTEM
Oudeschild
Q1012380
(Q956626,P19,c(Q1496967))
action filter_type
action find
entity Q956626
relation P19
type Q1496967
Imme Dros was born in [ANSWER]
['Q956626', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1496967 . resource:Q956626 property:P19 ?c }
Oudeschild
Imme Dros was born in Oudeschild
Oudeschild
action filter_type
action find
entity Imme Dros
relation place of birth
type territorial entity
['Imme Dros', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:territorial_entity . resource:Imme_Dros property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1012380
P206
Q473972
USER
Which protected area is situated close to that territory ?
(Q1012380,P206,c(Q473972))
action filter_type
action find
entity Q1012380
relation P206
type Q473972
['Q1012380', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?v WHERE { resource:Q1012380 property:P206 ?v . ?v rdf:type ontology:Q473972 }
Oudeschild
action filter_type
action find
entity Oudeschild
relation located next to body of water
type protected area
['Oudeschild', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?v WHERE { resource:Oudeschild property:located_next_to_body_of_water ?v . ?v rdf:type ontology:protected_area }
[]
protected area
Q26080
SYSTEM
Wadden Sea (North Sea)
Q26080
(Q1012380,P206,c(Q473972))
action filter_type
action find
entity Q1012380
relation P206
type Q473972
[ANSWER] is situated close to that territory
['Q1012380', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?v WHERE { resource:Q1012380 property:P206 ?v . ?v rdf:type ontology:Q473972 }
Wadden Sea (North Sea)
Wadden Sea (North Sea) is situated close to that territory
Wadden Sea (North Sea)
action filter_type
action find
entity Oudeschild
relation located next to body of water
type protected area
['Oudeschild', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?v WHERE { resource:Oudeschild property:located_next_to_body_of_water ?v . ?v rdf:type ontology:protected_area }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26080 Q1647639 Q183
P17
Q1048835
USER
Is that protected area located in Bergasa and Germany ?
(Q26080,P17,Q1647639) (Q26080,P17,Q183)
action is_in
entity Q26080
action intersection
action find_reverse
entity Q1647639
relation P17
action find_reverse
entity Q183
relation P17
['Q26080', 'P17', 'Q1647639'] ['Q26080', 'P17', 'Q183']
ASK WHERE { resource:Q26080 property:P17 resource:Q183 . resource:Q26080 property:P17 resource:Q1647639 }
Wadden Sea (North Sea) Bergasa Germany
action is_in
entity Wadden Sea (North Sea)
action intersection
action find_reverse
entity Bergasa
relation country
action find_reverse
entity Germany
relation country
['Wadden Sea (North Sea)', 'country', 'Bergasa'] ['Wadden Sea (North Sea)', 'country', 'Germany']
ASK WHERE { resource:Wadden_Sea_(North_Sea) property:country resource:Germany . resource:Wadden_Sea_(North_Sea) property:country resource:Bergasa }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q26080,P17,Q1647639) (Q26080,P17,Q183)
action is_in
entity Q26080
action intersection
action find_reverse
entity Q1647639
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q26080', 'P17', 'Q1647639'] ['Q26080', 'P17', 'Q183']
ASK WHERE { resource:Q26080 property:P17 resource:Q183 . resource:Q26080 property:P17 resource:Q1647639 }
NO and YES respectively
action is_in
entity Wadden Sea (North Sea)
action intersection
action find_reverse
entity Bergasa
relation country
action find_reverse
entity Germany
relation country
['Wadden Sea (North Sea)', 'country', 'Bergasa'] ['Wadden Sea (North Sea)', 'country', 'Germany']
ASK WHERE { resource:Wadden_Sea_(North_Sea) property:country resource:Germany . resource:Wadden_Sea_(North_Sea) property:country resource:Bergasa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q956626 Q5003145
P27
Q15617994
USER
Does Imme Dros belong to Buttsbear Cross ?
(Q956626,P27,Q5003145)
action is_in
entity Q5003145
action find
entity Q956626
relation P27
['Q956626', 'P27', 'Q5003145']
ASK WHERE { resource:Q956626 property:P27 resource:Q5003145 }
Imme Dros Buttsbear Cross
action is_in
entity Buttsbear Cross
action find
entity Imme Dros
relation country of citizenship
['Imme Dros', 'country of citizenship', 'Buttsbear Cross']
ASK WHERE { resource:Imme_Dros property:country_of_citizenship resource:Buttsbear_Cross }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q956626,P27,Q5003145)
action is_in
entity Q5003145
action find
entity Q956626
relation P27
[ANSWER]
['Q956626', 'P27', 'Q5003145']
ASK WHERE { resource:Q956626 property:P27 resource:Q5003145 }
No
action is_in
entity Buttsbear Cross
action find
entity Imme Dros
relation country of citizenship
['Imme Dros', 'country of citizenship', 'Buttsbear Cross']
ASK WHERE { resource:Imme_Dros property:country_of_citizenship resource:Buttsbear_Cross }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1012380 Q73206 Q638901
P17
Q15617994
USER
Is Oudeschild situated in Möhrendorf and Nesow ?
(Q1012380,P17,Q73206) (Q1012380,P17,Q638901)
action is_in
entity Q1012380
action intersection
action find_reverse
entity Q73206
relation P17
action find_reverse
entity Q638901
relation P17
['Q1012380', 'P17', 'Q73206'] ['Q1012380', 'P17', 'Q638901']
ASK WHERE { resource:Q1012380 property:P17 resource:Q73206 . resource:Q1012380 property:P17 resource:Q638901 }
Oudeschild Möhrendorf Nesow
action is_in
entity Oudeschild
action intersection
action find_reverse
entity Möhrendorf
relation country
action find_reverse
entity Nesow
relation country
['Oudeschild', 'country', 'Möhrendorf'] ['Oudeschild', 'country', 'Nesow']
ASK WHERE { resource:Oudeschild property:country resource:Möhrendorf . resource:Oudeschild property:country resource:Nesow }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1012380,P17,Q73206) (Q1012380,P17,Q638901)
action is_in
entity Q1012380
action intersection
action find_reverse
entity Q73206
relation P17
action find_reverse
entity Q638901
relation P17
[ANSWER]
['Q1012380', 'P17', 'Q73206'] ['Q1012380', 'P17', 'Q638901']
ASK WHERE { resource:Q1012380 property:P17 resource:Q73206 . resource:Q1012380 property:P17 resource:Q638901 }
No
action is_in
entity Oudeschild
action intersection
action find_reverse
entity Möhrendorf
relation country
action find_reverse
entity Nesow
relation country
['Oudeschild', 'country', 'Möhrendorf'] ['Oudeschild', 'country', 'Nesow']
ASK WHERE { resource:Oudeschild property:country resource:Möhrendorf . resource:Oudeschild property:country resource:Nesow }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q956626 Q2001966
P27
Q15617994
USER
Does Imme Dros belong to Company rule in India ?
(Q956626,P27,Q2001966)
action is_in
entity Q2001966
action find
entity Q956626
relation P27
['Q956626', 'P27', 'Q2001966']
ASK WHERE { resource:Q956626 property:P27 resource:Q2001966 }
Imme Dros Company rule in India
action is_in
entity Company rule in India
action find
entity Imme Dros
relation country of citizenship
['Imme Dros', 'country of citizenship', 'Company rule in India']
ASK WHERE { resource:Imme_Dros property:country_of_citizenship resource:Company_rule_in_India }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q956626,P27,Q2001966)
action is_in
entity Q2001966
action find
entity Q956626
relation P27
[ANSWER]
['Q956626', 'P27', 'Q2001966']
ASK WHERE { resource:Q956626 property:P27 resource:Q2001966 }
No
action is_in
entity Company rule in India
action find
entity Imme Dros
relation country of citizenship
['Imme Dros', 'country of citizenship', 'Company rule in India']
ASK WHERE { resource:Imme_Dros property:country_of_citizenship resource:Company_rule_in_India }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q726306
P1303
Q34379 Q502895
USER
Which musical instruments can more number of people perform with than erhu ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Q726306 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?a > ?u ) }
erhu
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:erhu property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?a > ?u ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[ANSWERS] can more number of people perform with than erhu
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:Q726306 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?a > ?u ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla viola d'amore organ marimba drum kit electronic keyboard drum
Piano, harpsichord and viola can more number of people perform with than erhu
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { resource:erhu property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?a > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q713298
P1303
Q34379 Q502895
USER
And how about geomungo?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?p > ?b ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q713298 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } }
geomungo
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?p > ?b ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:geomungo property:instrument ?c . ?c rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?p > ?b ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q713298 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?p > ?b ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:geomungo property:instrument ?c . ?c rdf:type ontology:musical_instrument } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q956626
P26 P21
Q502895
USER
Which people are married to Imme Dros and are a male ?
AND((c(Q502895),P26,Q956626), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q956626
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q956626'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P26 resource:Q956626 . ?v property:P21 resource:Q6581097 }
male Imme Dros
action filter_type
action intersection
action find_reverse
entity Imme Dros
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Imme Dros'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:spouse resource:Imme_Dros . ?v property:gender resource:male }
[]
common name
Q336607
SYSTEM
Harrie Geelen
Q336607
AND((c(Q502895),P26,Q956626), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q956626
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is married to Imme Dros and is a male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q956626'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P26 resource:Q956626 . ?v property:P21 resource:Q6581097 }
Harrie Geelen
Harrie Geelen is married to Imme Dros and is a male
Harrie Geelen
action filter_type
action intersection
action find_reverse
entity Imme Dros
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Imme Dros'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:spouse resource:Imme_Dros . ?v property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P425
Q12737077
USER
Who is associated with the field of occupation harpsichord ?
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q81982 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:harpsichord property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q5371902
SYSTEM
harpsichordist
Q5371902
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
[ANSWER] is associated with the field of occupation harpsichord
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q81982 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
harpsichordist
Harpsichordist is associated with the field of occupation harpsichord
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:harpsichord property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21505859
Q12737077
USER
And also tell me about ancient Greek potter?
(Q21505859,P425,c(Q12737077))
action filter_type
action find
entity Q21505859
relation P425
type Q12737077
['Q21505859', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q21505859 property:P425 ?s . ?s rdf:type ontology:Q12737077 }
ancient Greek potter
action filter_type
action find
entity ancient Greek potter
relation field of this occupation
type occupation
['ancient Greek potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:ancient_Greek_potter property:field_of_this_occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q11642
SYSTEM
pottery
Q11642
(Q21505859,P425,c(Q12737077))
action filter_type
action find
entity Q21505859
relation P425
type Q12737077
[ANSWER]
['Q21505859', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q21505859 property:P425 ?s . ?s rdf:type ontology:Q12737077 }
pottery
pottery
action filter_type
action find
entity ancient Greek potter
relation field of this occupation
type occupation
['ancient Greek potter', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:ancient_Greek_potter property:field_of_this_occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q336607
P735
Q82799
USER
What the name that Harrie Geelen is known by ?
(Q336607,P735,c(Q82799))
action filter_type
action find
entity Q336607
relation P735
type Q82799
['Q336607', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q336607 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Harrie Geelen
action filter_type
action find
entity Harrie Geelen
relation given name
type name
['Harrie Geelen', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Harrie_Geelen property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q5663963
SYSTEM
Harrie
Q5663963
(Q336607,P735,c(Q82799))
action filter_type
action find
entity Q336607
relation P735
type Q82799
Known John [ANSWER]
['Q336607', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q336607 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Harrie
Known John Harrie
Harrie
action filter_type
action find
entity Harrie Geelen
relation given name
type name
['Harrie Geelen', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Harrie_Geelen property:given_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are around 144 names composed in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 144
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 . ?u property:P407 ?v } GROUP BY ?v } . FILTER ( ?h = 144 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 144
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v rdf:type ontology:language . ?u rdf:type ontology:name . ?u property:language_of_work_or_name ?v } GROUP BY ?v } . FILTER ( ?h = 144 ) }
[]
language name
Q1321 Q652
SYSTEM
Spanish, Italian
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 144
[ANSWERS] are around 144 names composed in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 . ?u property:P407 ?v } GROUP BY ?v } . FILTER ( ?h = 144 ) }
Spanish Italian
Spanish and Italian are around 144 names composed in
Spanish Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 144
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v rdf:type ontology:language . ?u rdf:type ontology:name . ?u property:language_of_work_or_name ?v } GROUP BY ?v } . FILTER ( ?h = 144 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q336607
P676
Q7725634
USER
Which literary work has Harrie Geelen as its lyricist ?
(c(Q7725634),P676,Q336607)
action filter_type
action find_reverse
entity Q336607
relation P676
type Q7725634
[{'concept': 'Q7725634'}, 'P676', 'Q336607']
SELECT DISTINCT ?x WHERE { ?x property:P676 resource:Q336607 . ?x rdf:type ontology:Q7725634 }
Harrie Geelen
action filter_type
action find_reverse
entity Harrie Geelen
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Harrie Geelen']
SELECT DISTINCT ?x WHERE { ?x property:lyrics_by resource:Harrie_Geelen . ?x rdf:type ontology:literary_work }
[]
literary work
Q19966852
SYSTEM
Als mijn moeder huilt
Q19966852
(c(Q7725634),P676,Q336607)
action filter_type
action find_reverse
entity Q336607
relation P676
type Q7725634
[ANSWER] has Harrie Geelen as its lyricist
[{'concept': 'Q7725634'}, 'P676', 'Q336607']
SELECT DISTINCT ?x WHERE { ?x property:P676 resource:Q336607 . ?x rdf:type ontology:Q7725634 }
Als mijn moeder huilt
Als mijn moeder huilt has Harrie Geelen as its lyricist
Als mijn moeder huilt
action filter_type
action find_reverse
entity Harrie Geelen
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Harrie Geelen']
SELECT DISTINCT ?x WHERE { ?x property:lyrics_by resource:Harrie_Geelen . ?x rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19966852
P86
Q502895
USER
Which person composed that literary work ?
(Q19966852,P86,c(Q502895))
action filter_type
action find
entity Q19966852
relation P86
type Q502895
['Q19966852', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q19966852 property:P86 ?n }
Als mijn moeder huilt
action filter_type
action find
entity Als mijn moeder huilt
relation composer
type common name
['Als mijn moeder huilt', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Als_mijn_moeder_huilt property:composer ?n }
[]
common name
Q24917
SYSTEM
Joop Stokkermans
Q24917
(Q19966852,P86,c(Q502895))
action filter_type
action find
entity Q19966852
relation P86
type Q502895
[ANSWER] composed that literary work
['Q19966852', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q19966852 property:P86 ?n }
Joop Stokkermans
Joop Stokkermans composed that literary work
Joop Stokkermans
action filter_type
action find
entity Als mijn moeder huilt
relation composer
type common name
['Als mijn moeder huilt', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Als_mijn_moeder_huilt property:composer ?n }
[]