Simple Question (Direct)
Simple Question
Q3611523
P641
Q349
USER
Which sport was Alfredo Welby a part of ?
(Q3611523,P641,c(Q349))
action filter_type
action find
entity Q3611523
relation P641
type Q349
['Q3611523', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3611523 property:P641 ?d }
Alfredo Welby
action filter_type
action find
entity Alfredo Welby
relation sport
type sport
['Alfredo Welby', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Alfredo_Welby property:sport ?d }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3611523,P641,c(Q349))
action filter_type
action find
entity Q3611523
relation P641
type Q349
Which sport was Alfredo Welby a part of
['Q3611523', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3611523 property:P641 ?d }
association football
Which sport was Alfredo Welby a part of
association football
action filter_type
action find
entity Alfredo Welby
relation sport
type sport
['Alfredo Welby', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Alfredo_Welby property:sport ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3611523
P19
Q56061
USER
Which administrative territory was Alfredo Welby born at ?
(Q3611523,P19,c(Q56061))
action filter_type
action find
entity Q3611523
relation P19
type Q56061
['Q3611523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q3611523 property:P19 ?k }
Alfredo Welby
action filter_type
action find
entity Alfredo Welby
relation place of birth
type administrative territorial entity
['Alfredo Welby', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Alfredo_Welby property:place_of_birth ?k }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3611523,P19,c(Q56061))
action filter_type
action find
entity Q3611523
relation P19
type Q56061
Alfredo Welby was born in [ANSWER]
['Q3611523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q3611523 property:P19 ?k }
Rome
Alfredo Welby was born in Rome
Rome
action filter_type
action find
entity Alfredo Welby
relation place of birth
type administrative territorial entity
['Alfredo Welby', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Alfredo_Welby property:place_of_birth ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18643331
Q56061
USER
And also tell me about Heinrich Ludwig Planck?
(Q18643331,P19,c(Q56061))
action filter_type
action find
entity Q18643331
relation P19
type Q56061
['Q18643331', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q18643331 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Heinrich Ludwig Planck
action filter_type
action find
entity Heinrich Ludwig Planck
relation place of birth
type administrative territorial entity
['Heinrich Ludwig Planck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinrich_Ludwig_Planck property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3033
SYSTEM
Göttingen
Q3033
(Q18643331,P19,c(Q56061))
action filter_type
action find
entity Q18643331
relation P19
type Q56061
[ANSWER]
['Q18643331', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q18643331 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Göttingen
Göttingen
action filter_type
action find
entity Heinrich Ludwig Planck
relation place of birth
type administrative territorial entity
['Heinrich Ludwig Planck', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heinrich_Ludwig_Planck property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3033 Q9284963
P19
Q502895
USER
Does Hagen Pohle have birthplace at that administrative territory ?
(Q9284963,P19,Q3033)
action is_in
entity Q9284963
action find
entity Q3033
relation P19
['Q9284963', 'P19', 'Q3033']
ASK WHERE { resource:Q3033 property:P19 resource:Q9284963 }
Göttingen Hagen Pohle
action is_in
entity Hagen Pohle
action find
entity Göttingen
relation place of birth
['Hagen Pohle', 'place of birth', 'Göttingen']
ASK WHERE { resource:Göttingen property:place_of_birth resource:Hagen_Pohle }
[]
common name
SYSTEM
NO
(Q9284963,P19,Q3033)
action is_in
entity Q9284963
action find
entity Q3033
relation P19
[ANSWER]
['Q9284963', 'P19', 'Q3033']
ASK WHERE { resource:Q3033 property:P19 resource:Q9284963 }
No
action is_in
entity Hagen Pohle
action find
entity Göttingen
relation place of birth
['Hagen Pohle', 'place of birth', 'Göttingen']
ASK WHERE { resource:Göttingen property:place_of_birth resource:Hagen_Pohle }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8541 Q3033
P47 P17
Q1048835
USER
Which political territories are Göttingen a part of or have a shared border with Ludwigsburg ?
OR((Q3033,P17,c(Q1048835)), (Q8541,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3033
relation P17
action find
entity Q8541
relation P47
type Q1048835
{'OR': [['Q3033', 'P17', {'concept': 'Q1048835'}], ['Q8541', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3033 property:P17 ?l } UNION { resource:Q8541 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Ludwigsburg Göttingen
action filter_type
action union
action find
entity Göttingen
relation country
action find
entity Ludwigsburg
relation shares border with
type political territorial entity
{'OR': [['Göttingen', 'country', {'concept': 'political territorial entity'}], ['Ludwigsburg', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Göttingen property:country ?l } UNION { resource:Ludwigsburg property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q7166 Q8184 Q183 Q8536 Q8528
SYSTEM
Heilbronn, Enz, Germany, Böblingen, Rems-Murr
Q7166 Q8184 Q183 Q8536 Q8528
OR((Q3033,P17,c(Q1048835)), (Q8541,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3033
relation P17
action find
entity Q8541
relation P47
type Q1048835
[ANSWERS] are Göttingen a part of or have a shared border with Ludwigsburg
{'OR': [['Q3033', 'P17', {'concept': 'Q1048835'}], ['Q8541', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3033 property:P17 ?l } UNION { resource:Q8541 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Heilbronn Enz Germany Böblingen Rems-Murr
Heilbronn, Enz, Germany, Böblingen and Rems-Murr are Göttingen a part of or have a shared border with Ludwigsburg
Heilbronn Enz Germany Böblingen Rems-Murr
action filter_type
action union
action find
entity Göttingen
relation country
action find
entity Ludwigsburg
relation shares border with
type political territorial entity
{'OR': [['Göttingen', 'country', {'concept': 'political territorial entity'}], ['Ludwigsburg', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Göttingen property:country ?l } UNION { resource:Ludwigsburg property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { { ?p property:P530 ?w . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } UNION { ?p property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?o WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?o } . FILTER ( ?k = ?e ) }
action argmin
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { { ?p property:diplomatic_relation ?w . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } UNION { ?p property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?o WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?k = ?e ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { { ?p property:P530 ?w . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } UNION { ?p property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?o WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?o } . FILTER ( ?k = ?e ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of political territories or administrative territories
Solomon Islands Papua New Guinea
action argmin
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?w WHERE { { ?p property:diplomatic_relation ?w . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } UNION { ?p property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?o WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?k = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q685 Q691
P463
Q43229
USER
Which organizations were those political territories a member of ?
(Q685,P463,c(Q43229)) (Q691,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q685', 'P463', {'concept': 'Q43229'}] ['Q691', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . VALUES ( ?x ) { ( resource:Q685 ) ( resource:Q691 ) } . ?x property:P463 ?l }
Solomon Islands Papua New Guinea
action filter_type
action find
entity prev_answer
relation member of
type organization
['Solomon Islands', 'member of', {'concept': 'organization'}] ['Papua New Guinea', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . VALUES ( ?x ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . ?x property:member_of ?l }
[]
organization
Q7825 Q7825 Q191384
SYSTEM
World Trade Organization for 1st, 2nd, International Bank for Reconstruction and Development for 3rd
Q191384 Q899770 Q656801 Q7825 Q827525 Q191384 Q899770 Q656801 Q7825 Q170481 Q827525
(Q685,P463,c(Q43229)) (Q691,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q685', 'P463', {'concept': 'Q43229'}] ['Q691', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . VALUES ( ?x ) { ( resource:Q685 ) ( resource:Q691 ) } . ?x property:P463 ?l }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
World Trade Organization, World Trade Organization and International Bank for Reconstruction and Development were those political territories a member of
World Trade Organization World Trade Organization International Bank for Reconstruction and Development
action filter_type
action find
entity prev_answer
relation member of
type organization
['Solomon Islands', 'member of', {'concept': 'organization'}] ['Papua New Guinea', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . VALUES ( ?x ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } . ?x property:member_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3033
P69
Q502895
USER
Who studied at Göttingen ?
(c(Q502895),P69,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q3033']
SELECT DISTINCT ?t WHERE { ?t property:P69 resource:Q3033 . ?t rdf:type ontology:Q502895 }
Göttingen
action filter_type
action find_reverse
entity Göttingen
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Göttingen']
SELECT DISTINCT ?t WHERE { ?t property:educated_at resource:Göttingen . ?t rdf:type ontology:common_name }
[]
common name
Q75503
SYSTEM
Moritz Schiff
Q75503
(c(Q502895),P69,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P69
type Q502895
Der [ANSWER] studied at Göttingen
[{'concept': 'Q502895'}, 'P69', 'Q3033']
SELECT DISTINCT ?t WHERE { ?t property:P69 resource:Q3033 . ?t rdf:type ontology:Q502895 }
Moritz Schiff
Der Moritz Schiff studied at Göttingen
Moritz Schiff
action filter_type
action find_reverse
entity Göttingen
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Göttingen']
SELECT DISTINCT ?t WHERE { ?t property:educated_at resource:Göttingen . ?t rdf:type ontology:common_name }
[]