Simple Question (Direct)
Simple Question
Q1928784
P54
Q12973014
USER
Which sports team is Michael Oscislawski a member of ?
(Q1928784,P54,c(Q12973014))
action filter_type
action find
entity Q1928784
relation P54
type Q12973014
['Q1928784', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q1928784 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Michael Oscislawski
action filter_type
action find
entity Michael Oscislawski
relation member of sports team
type sports team
['Michael Oscislawski', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Michael_Oscislawski property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
sports team
Q319699
SYSTEM
Germany national under-17 football team
Q319699
(Q1928784,P54,c(Q12973014))
action filter_type
action find
entity Q1928784
relation P54
type Q12973014
The [ANSWER] is Michael Oscislawski a member of
['Q1928784', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q1928784 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Germany national under-17 football team
The Germany national under-17 football team is Michael Oscislawski a member of
Germany national under-17 football team
action filter_type
action find
entity Michael Oscislawski
relation member of sports team
type sports team
['Michael Oscislawski', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Michael_Oscislawski property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1928784
P27
Q1048835
USER
Which political territory is Michael Oscislawski an inhabitant of ?
(Q1928784,P27,c(Q1048835))
action filter_type
action find
entity Q1928784
relation P27
type Q1048835
['Q1928784', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1928784 property:P27 ?k }
Michael Oscislawski
action filter_type
action find
entity Michael Oscislawski
relation country of citizenship
type political territorial entity
['Michael Oscislawski', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Michael_Oscislawski property:country_of_citizenship ?k }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1928784,P27,c(Q1048835))
action filter_type
action find
entity Q1928784
relation P27
type Q1048835
[ANSWER] is Michael Oscislawski an inhabitant of
['Q1928784', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1928784 property:P27 ?k }
Germany
Germany is Michael Oscislawski an inhabitant of
Germany
action filter_type
action find
entity Michael Oscislawski
relation country of citizenship
type political territorial entity
['Michael Oscislawski', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Michael_Oscislawski property:country_of_citizenship ?k }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1928784
Q15617994
USER
And which administrative territory?
(Q1928784,P27,c(Q15617994))
action filter_type
action find
entity Q1928784
relation P27
type Q15617994
['Q1928784', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1928784 property:P27 ?n }
Michael Oscislawski
action filter_type
action find
entity Michael Oscislawski
relation country of citizenship
type designation for an administrative territorial entity
['Michael Oscislawski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Michael_Oscislawski property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q1928784,P27,c(Q15617994))
action filter_type
action find
entity Q1928784
relation P27
type Q15617994
[ANSWER]
['Q1928784', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1928784 property:P27 ?n }
Poland
Poland
action filter_type
action find
entity Michael Oscislawski
relation country of citizenship
type designation for an administrative territorial entity
['Michael Oscislawski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Michael_Oscislawski property:country_of_citizenship ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36 Q38
P530
Q15617994
USER
Does Italy have diplomatic relationships with that one ?
(Q36,P530,Q38)
action is_in
entity Q38
action find
entity Q36
relation P530
['Q36', 'P530', 'Q38']
ASK WHERE { resource:Q36 property:P530 resource:Q38 }
Poland Italy
action is_in
entity Italy
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q36,P530,Q38)
action is_in
entity Q38
action find
entity Q36
relation P530
[ANSWER]
['Q36', 'P530', 'Q38']
ASK WHERE { resource:Q36 property:P530 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Italy }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have diplomatic relations with approximately 116 administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 116
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?a WHERE { { ?m property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } } GROUP BY ?a } . FILTER ( ?l = 116 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 116
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?a WHERE { { ?m property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } } GROUP BY ?a } . FILTER ( ?l = 116 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 116
[ANSWERS] have diplomatic relations with approximately 116 administrative territories and political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?a WHERE { { ?m property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P530 ?a . ?a rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } } GROUP BY ?a } . FILTER ( ?l = 116 ) }
Germany Australia
Germany and Australia have diplomatic relations with approximately 116 administrative territories and political territories
Germany Australia
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 116
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?a WHERE { { ?m property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } } GROUP BY ?a } . FILTER ( ?l = 116 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with atleast 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?h ) WHERE { ?t property:P530 ?e . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?h >= 6 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?h ) WHERE { ?t property:diplomatic_relation ?e . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?h >= 6 ) }
[]
political territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] hold diplomatic relationship with atleast 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?h ) WHERE { ?t property:P530 ?e . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?h >= 6 ) }
Germany Australia
Germany and Australia hold diplomatic relationship with atleast 6 political territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?h ) WHERE { ?t property:diplomatic_relation ?e . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?h >= 6 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1340007
P530
Q15617994
USER
Are Nanming District known to have diplomatic connections with those political territories ?
(Q1340007,P530,Q183) (Q1340007,P530,Q408)
action is_in
entity prev_answer
action find
entity Q1340007
relation P530
['Q1340007', 'P530', 'Q183'] ['Q1340007', 'P530', 'Q408']
ASK WHERE { resource:Q1340007 property:P530 ?f . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q408 ) } }
Nanming District
action is_in
entity prev_answer
action find
entity Nanming District
relation diplomatic relation
['Nanming District', 'diplomatic relation', 'Germany'] ['Nanming District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Nanming_District property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1340007,P530,Q183) (Q1340007,P530,Q408)
action is_in
entity prev_answer
action find
entity Q1340007
relation P530
[ANSWER]
['Q1340007', 'P530', 'Q183'] ['Q1340007', 'P530', 'Q408']
ASK WHERE { resource:Q1340007 property:P530 ?f . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Nanming District
relation diplomatic relation
['Nanming District', 'diplomatic relation', 'Germany'] ['Nanming District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Nanming_District property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q408 Q2529123 Q152666
P6
Q502895
USER
Does Australia have Vivienne Olive and Billy Hughes as its administrative leader ?
(Q408,P6,Q2529123) (Q408,P6,Q152666)
action is_in
entity Q408
action intersection
action find_reverse
entity Q2529123
relation P6
action find_reverse
entity Q152666
relation P6
['Q408', 'P6', 'Q2529123'] ['Q408', 'P6', 'Q152666']
ASK WHERE { resource:Q408 property:P6 resource:Q2529123 . resource:Q408 property:P6 resource:Q152666 }
Australia Vivienne Olive Billy Hughes
action is_in
entity Australia
action intersection
action find_reverse
entity Vivienne Olive
relation head of government
action find_reverse
entity Billy Hughes
relation head of government
['Australia', 'head of government', 'Vivienne Olive'] ['Australia', 'head of government', 'Billy Hughes']
ASK WHERE { resource:Australia property:head_of_government resource:Vivienne_Olive . resource:Australia property:head_of_government resource:Billy_Hughes }
[]
common name
SYSTEM
NO and YES respectively
(Q408,P6,Q2529123) (Q408,P6,Q152666)
action is_in
entity Q408
action intersection
action find_reverse
entity Q2529123
relation P6
action find_reverse
entity Q152666
relation P6
[ANSWER]
['Q408', 'P6', 'Q2529123'] ['Q408', 'P6', 'Q152666']
ASK WHERE { resource:Q408 property:P6 resource:Q2529123 . resource:Q408 property:P6 resource:Q152666 }
NO and YES respectively
action is_in
entity Australia
action intersection
action find_reverse
entity Vivienne Olive
relation head of government
action find_reverse
entity Billy Hughes
relation head of government
['Australia', 'head of government', 'Vivienne Olive'] ['Australia', 'head of government', 'Billy Hughes']
ASK WHERE { resource:Australia property:head_of_government resource:Vivienne_Olive . resource:Australia property:head_of_government resource:Billy_Hughes }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P30
Q2221906
USER
Where is Germany situated ?
(Q183,P30,c(Q2221906))
action filter_type
action find
entity Q183
relation P30
type Q2221906
['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q183 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Germany
action filter_type
action find
entity Germany
relation continent
type geographic location
['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Germany property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q183,P30,c(Q2221906))
action filter_type
action find
entity Q183
relation P30
type Q2221906
Germany is situated in [ANSWER]
['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q183 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Europe
Germany is situated in Europe
Europe
action filter_type
action find
entity Germany
relation continent
type geographic location
['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Germany property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q1964857 Q183
P30
Q2221906
USER
And also Napfspitze
AND((Q183,P30,c(Q2221906)), (Q1964857,P30,c(Q2221906)))
action filter_type
action intersection
action find
entity Q183
relation P30
action find
entity Q1964857
relation P30
type Q2221906
{'AND': [['Q183', 'P30', {'concept': 'Q2221906'}], ['Q1964857', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?s WHERE { resource:Q183 property:P30 ?s . resource:Q1964857 property:P30 ?s . ?s rdf:type ontology:Q2221906 }
Napfspitze Germany
action filter_type
action intersection
action find
entity Germany
relation continent
action find
entity Napfspitze
relation continent
type geographic location
{'AND': [['Germany', 'continent', {'concept': 'geographic location'}], ['Napfspitze', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?s WHERE { resource:Germany property:continent ?s . resource:Napfspitze property:continent ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
AND((Q183,P30,c(Q2221906)), (Q1964857,P30,c(Q2221906)))
action filter_type
action intersection
action find
entity Q183
relation P30
action find
entity Q1964857
relation P30
type Q2221906
[ANSWER]
{'AND': [['Q183', 'P30', {'concept': 'Q2221906'}], ['Q1964857', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?s WHERE { resource:Q183 property:P30 ?s . resource:Q1964857 property:P30 ?s . ?s rdf:type ontology:Q2221906 }
Europe
Europe
action filter_type
action intersection
action find
entity Germany
relation continent
action find
entity Napfspitze
relation continent
type geographic location
{'AND': [['Germany', 'continent', {'concept': 'geographic location'}], ['Napfspitze', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?s WHERE { resource:Germany property:continent ?s . resource:Napfspitze property:continent ?s . ?s rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P1346
Q15061650
USER
Which golf tournaments were that geographic location decalred as a champion of ?
(c(Q15061650),P1346,Q46)
action filter_type
action find_reverse
entity Q46
relation P1346
type Q15061650
[{'concept': 'Q15061650'}, 'P1346', 'Q46']
SELECT DISTINCT ?g WHERE { ?g property:P1346 resource:Q46 . ?g rdf:type ontology:Q15061650 }
Europe
action filter_type
action find_reverse
entity Europe
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'Europe']
SELECT DISTINCT ?g WHERE { ?g property:winner resource:Europe . ?g rdf:type ontology:golf_tournament }
[]
golf tournament
Q3453903 Q3453904 Q3453910
SYSTEM
1985 Ryder Cup, 1987 Ryder Cup, 1995 Ryder Cup
Q3453903 Q965054 Q3453904 Q1852176 Q3453914 Q3453915 Q3453910 Q1933260 Q3866803 Q602293 Q788186
(c(Q15061650),P1346,Q46)
action filter_type
action find_reverse
entity Q46
relation P1346
type Q15061650
[ANSWERS] were that geographic location decalred as a champion of
[{'concept': 'Q15061650'}, 'P1346', 'Q46']
SELECT DISTINCT ?g WHERE { ?g property:P1346 resource:Q46 . ?g rdf:type ontology:Q15061650 }
1985 Ryder Cup 1989 Ryder Cup 1987 Ryder Cup 2006 Ryder Cup 1997 Ryder Cup 2002 Ryder Cup 1995 Ryder Cup 2004 Ryder Cup 2014 Ryder Cup 2012 Ryder Cup 2010 Ryder Cup
1985 Ryder Cup, 1987 Ryder Cup and 1995 Ryder Cup were that geographic location decalred as a champion of
1985 Ryder Cup 1987 Ryder Cup 1995 Ryder Cup
action filter_type
action find_reverse
entity Europe
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'Europe']
SELECT DISTINCT ?g WHERE { ?g property:winner resource:Europe . ?g rdf:type ontology:golf_tournament }
[]