Simple Question (Direct)
Simple Question
Q324778
P54
Q1194951
USER
What is Johannes Matzen a member of ?
(Q324778,P54,c(Q1194951))
action filter_type
action find
entity Q324778
relation P54
type Q1194951
['Q324778', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q324778 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
Johannes Matzen
action filter_type
action find
entity Johannes Matzen
relation member of sports team
type national sports team
['Johannes Matzen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Johannes_Matzen property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q152424
SYSTEM
East Germany national football team
Q152424
(Q324778,P54,c(Q1194951))
action filter_type
action find
entity Q324778
relation P54
type Q1194951
Johannes Matzen of the [ANSWER]
['Q324778', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { resource:Q324778 property:P54 ?v . ?v rdf:type ontology:Q1194951 }
East Germany national football team
Johannes Matzen of the East Germany national football team
East Germany national football team
action filter_type
action find
entity Johannes Matzen
relation member of sports team
type national sports team
['Johannes Matzen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { resource:Johannes_Matzen property:member_of_sports_team ?v . ?v rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152424
P1344
Q15275719
USER
Which recurring event did that national sports team participate in ?
(Q152424,P1344,c(Q15275719))
action filter_type
action find
entity Q152424
relation P1344
type Q15275719
['Q152424', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . resource:Q152424 property:P1344 ?z }
East Germany national football team
action filter_type
action find
entity East Germany national football team
relation participant of
type recurring event
['East Germany national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . resource:East_Germany_national_football_team property:participant_of ?z }
[]
recurring event
Q166121
SYSTEM
1974 FIFA World Cup
Q166121
(Q152424,P1344,c(Q15275719))
action filter_type
action find
entity Q152424
relation P1344
type Q15275719
That national sports team participated in [ANSWER]
['Q152424', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . resource:Q152424 property:P1344 ?z }
1974 FIFA World Cup
That national sports team participated in 1974 FIFA World Cup
1974 FIFA World Cup
action filter_type
action find
entity East Germany national football team
relation participant of
type recurring event
['East Germany national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . resource:East_Germany_national_football_team property:participant_of ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152424
P641
Q349
USER
Which sport did East Germany national football team participate in ?
(Q152424,P641,c(Q349))
action filter_type
action find
entity Q152424
relation P641
type Q349
['Q152424', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q152424 property:P641 ?d . ?d rdf:type ontology:Q349 }
East Germany national football team
action filter_type
action find
entity East Germany national football team
relation sport
type sport
['East Germany national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:East_Germany_national_football_team property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q152424,P641,c(Q349))
action filter_type
action find
entity Q152424
relation P641
type Q349
East Germany national football team participated in [ANSWER]
['Q152424', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q152424 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
East Germany national football team participated in association football
association football
action filter_type
action find
entity East Germany national football team
relation sport
type sport
['East Germany national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:East_Germany_national_football_team property:sport ?d . ?d rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7388694 Q152424
P641
Q349
USER
And also SAPA
AND((Q152424,P641,c(Q349)), (Q7388694,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q152424
relation P641
action find
entity Q7388694
relation P641
type Q349
{'AND': [['Q152424', 'P641', {'concept': 'Q349'}], ['Q7388694', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { resource:Q152424 property:P641 ?b . resource:Q7388694 property:P641 ?b . ?b rdf:type ontology:Q349 }
SAPA East Germany national football team
action filter_type
action intersection
action find
entity East Germany national football team
relation sport
action find
entity SAPA
relation sport
type sport
{'AND': [['East Germany national football team', 'sport', {'concept': 'sport'}], ['SAPA', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { resource:East_Germany_national_football_team property:sport ?b . resource:SAPA property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q152424,P641,c(Q349)), (Q7388694,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q152424
relation P641
action find
entity Q7388694
relation P641
type Q349
[ANSWER]
{'AND': [['Q152424', 'P641', {'concept': 'Q349'}], ['Q7388694', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { resource:Q152424 property:P641 ?b . resource:Q7388694 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity East Germany national football team
relation sport
action find
entity SAPA
relation sport
type sport
{'AND': [['East Germany national football team', 'sport', {'concept': 'sport'}], ['SAPA', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { resource:East_Germany_national_football_team property:sport ?b . resource:SAPA property:sport ?b . ?b rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1734
P366
Q349 Q3084961 Q6671777
USER
How many sports are considered to be the main utilization of approximately the same number of product linings and structures as volleyball ?
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q3084961
type Q6671777
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) ?h WHERE { VALUES ( ?n ) { ( ontology:Q6671777 ) ( ontology:Q3084961 ) } . ?p rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P366 resource:Q1734 . { { ?a rdf:type ontology:Q3084961 } UNION { ?a rdf:type ontology:Q6671777 } } } } . FILTER ( ?d = ?w ) }
volleyball
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) ?h WHERE { VALUES ( ?n ) { ( ontology:structure ) ( ontology:product_lining ) } . ?p rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:use resource:volleyball . { { ?a rdf:type ontology:product_lining } UNION { ?a rdf:type ontology:structure } } } } . FILTER ( ?d = ?w ) }
[]
sport product lining structure
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q3084961
type Q6671777
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) ?h WHERE { VALUES ( ?n ) { ( ontology:Q6671777 ) ( ontology:Q3084961 ) } . ?p rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P366 resource:Q1734 . { { ?a rdf:type ontology:Q3084961 } UNION { ?a rdf:type ontology:Q6671777 } } } } . FILTER ( ?d = ?w ) }
rallying basketball handball volleyball shooting sport skating bandy cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) ?h WHERE { VALUES ( ?n ) { ( ontology:structure ) ( ontology:product_lining ) } . ?p rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:use resource:volleyball . { { ?a rdf:type ontology:product_lining } UNION { ?a rdf:type ontology:structure } } } } . FILTER ( ?d = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q183018
P366
Q349 Q3084961 Q6671777
USER
And what about bandy?
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q3084961
type Q6671777
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { { ?x property:P366 ?k . ?k rdf:type ontology:Q349 . ?x rdf:type ontology:Q3084961 } UNION { ?k rdf:type ontology:Q349 . ?x rdf:type ontology:Q6671777 . ?x property:P366 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P366 resource:Q183018 . { { ?q rdf:type ontology:Q3084961 } UNION { ?q rdf:type ontology:Q6671777 } } } } . FILTER ( ?m = ?n ) }
bandy
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { { ?x property:use ?k . ?k rdf:type ontology:sport . ?x rdf:type ontology:product_lining } UNION { ?k rdf:type ontology:sport . ?x rdf:type ontology:structure . ?x property:use ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:use resource:bandy . { { ?q rdf:type ontology:product_lining } UNION { ?q rdf:type ontology:structure } } } } . FILTER ( ?m = ?n ) }
[]
sport product lining structure
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q3084961
type Q6671777
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { { ?x property:P366 ?k . ?k rdf:type ontology:Q349 . ?x rdf:type ontology:Q3084961 } UNION { ?k rdf:type ontology:Q349 . ?x rdf:type ontology:Q6671777 . ?x property:P366 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P366 resource:Q183018 . { { ?q rdf:type ontology:Q3084961 } UNION { ?q rdf:type ontology:Q6671777 } } } } . FILTER ( ?m = ?n ) }
rallying basketball handball volleyball shooting sport skating bandy cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { { ?x property:use ?k . ?k rdf:type ontology:sport . ?x rdf:type ontology:product_lining } UNION { ?k rdf:type ontology:sport . ?x rdf:type ontology:structure . ?x property:use ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:use resource:bandy . { { ?q rdf:type ontology:product_lining } UNION { ?q rdf:type ontology:structure } } } } . FILTER ( ?m = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152424
P17
Q1048835
USER
Which political territory is East Germany national football team situated in ?
(Q152424,P17,c(Q1048835))
action filter_type
action find
entity Q152424
relation P17
type Q1048835
['Q152424', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q152424 property:P17 ?o }
East Germany national football team
action filter_type
action find
entity East Germany national football team
relation country
type political territorial entity
['East Germany national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:East_Germany_national_football_team property:country ?o }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q152424,P17,c(Q1048835))
action filter_type
action find
entity Q152424
relation P17
type Q1048835
[ANSWER] is East [ANSWER] national football team situated in
['Q152424', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q152424 property:P17 ?o }
Germany
Germany is East Germany national football team situated in
Germany
action filter_type
action find
entity East Germany national football team
relation country
type political territorial entity
['East Germany national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:East_Germany_national_football_team property:country ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152424
P1532
Q7275
USER
Which state does East Germany national football team play for ?
(Q152424,P1532,c(Q7275))
action filter_type
action find
entity Q152424
relation P1532
type Q7275
['Q152424', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q152424 property:P1532 ?c . ?c rdf:type ontology:Q7275 }
East Germany national football team
action filter_type
action find
entity East Germany national football team
relation country for sport
type state
['East Germany national football team', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:East_Germany_national_football_team property:country_for_sport ?c . ?c rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q152424,P1532,c(Q7275))
action filter_type
action find
entity Q152424
relation P1532
type Q7275
[ANSWER] national football team plays in [ANSWER]
['Q152424', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q152424 property:P1532 ?c . ?c rdf:type ontology:Q7275 }
East Germany
East Germany national football team plays in East Germany
East Germany
action filter_type
action find
entity East Germany national football team
relation country for sport
type state
['East Germany national football team', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:East_Germany_national_football_team property:country_for_sport ?c . ?c rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16957 Q2696449
P47
Q1048835
USER
Does Lonya Grande District share the border with East Germany ?
(Q16957,P47,Q2696449)
action is_in
entity Q2696449
action find
entity Q16957
relation P47
['Q16957', 'P47', 'Q2696449']
ASK WHERE { resource:Q16957 property:P47 resource:Q2696449 }
East Germany Lonya Grande District
action is_in
entity Lonya Grande District
action find
entity East Germany
relation shares border with
['East Germany', 'shares border with', 'Lonya Grande District']
ASK WHERE { resource:East_Germany property:shares_border_with resource:Lonya_Grande_District }
[]
political territorial entity
SYSTEM
NO
(Q16957,P47,Q2696449)
action is_in
entity Q2696449
action find
entity Q16957
relation P47
[ANSWER]
['Q16957', 'P47', 'Q2696449']
ASK WHERE { resource:Q16957 property:P47 resource:Q2696449 }
No
action is_in
entity Lonya Grande District
action find
entity East Germany
relation shares border with
['East Germany', 'shares border with', 'Lonya Grande District']
ASK WHERE { resource:East_Germany property:shares_border_with resource:Lonya_Grande_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16957 Q40
P27
Q502895
USER
How many people are a native of East Germany and Austria ?
(c(Q502895),P27,Q16957) (c(Q502895),P27,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q16957
relation P27
type Q502895
action filter_type
action find_reverse
entity Q40
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q16957'] [{'concept': 'Q502895'}, 'P27', 'Q40']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P27 resource:Q16957 . ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q40 . ?l rdf:type ontology:Q502895 }
East Germany Austria
action count
action intersection
action filter_type
action find_reverse
entity East Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'East Germany'] [{'concept': 'common name'}, 'country of citizenship', 'Austria']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:country_of_citizenship resource:East_Germany . ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:Austria . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q60528 Q88206 Q1465614 Q2650383 Q1379473 Q1409005 Q1313183
(c(Q502895),P27,Q16957) (c(Q502895),P27,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q16957
relation P27
type Q502895
action filter_type
action find_reverse
entity Q40
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q16957'] [{'concept': 'Q502895'}, 'P27', 'Q40']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P27 resource:Q16957 . ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q40 . ?l rdf:type ontology:Q502895 }
Helene Weigel Friedrich Kühne Hermann von Guttenberg Alois Pisnik Eva Schmidt-Kolmer Rudolf Bartonek Georg Krausz
7
action count
action intersection
action filter_type
action find_reverse
entity East Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'East Germany'] [{'concept': 'common name'}, 'country of citizenship', 'Austria']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:country_of_citizenship resource:East_Germany . ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:Austria . ?l rdf:type ontology:common_name }
[]