Simple Question (Direct)
Simple Question
Q1268242
P19
Q15617994
USER
Which administrative territory was Rolf Fritzsche born at ?
(Q1268242,P19,c(Q15617994))
action filter_type
action find
entity Q1268242
relation P19
type Q15617994
['Q1268242', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1268242 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Rolf Fritzsche
action filter_type
action find
entity Rolf Fritzsche
relation place of birth
type designation for an administrative territorial entity
['Rolf Fritzsche', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rolf_Fritzsche property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34093
SYSTEM
Rositz
Q34093
(Q1268242,P19,c(Q15617994))
action filter_type
action find
entity Q1268242
relation P19
type Q15617994
Rolf Fritzsche was born in [ANSWER]
['Q1268242', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q1268242 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Rositz
Rolf Fritzsche was born in Rositz
Rositz
action filter_type
action find
entity Rolf Fritzsche
relation place of birth
type designation for an administrative territorial entity
['Rolf Fritzsche', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rolf_Fritzsche property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1268242
P21
Q290
USER
Which sex does that person possess ?
(Q34093,P21,c(Q290))
action filter_type
action find
entity Q1268242
relation P21
type Q290
['Q34093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1268242 property:P21 ?n . ?n rdf:type ontology:Q290 }
Rolf Fritzsche
action filter_type
action find
entity Rolf Fritzsche
relation gender
type sex
['Rositz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Rolf_Fritzsche property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q34093,P21,c(Q290))
action filter_type
action find
entity Q1268242
relation P21
type Q290
That person possesses a [ANSWER]
['Q34093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1268242 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Rolf Fritzsche
relation gender
type sex
['Rositz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Rolf_Fritzsche property:gender ?n . ?n rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15306023 Q1268242
P21
Q290
USER
And also Gregg Herken
AND((Q1268242,P21,c(Q290)), (Q15306023,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1268242
relation P21
action find
entity Q15306023
relation P21
type Q290
{'AND': [['Q1268242', 'P21', {'concept': 'Q290'}], ['Q15306023', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { resource:Q15306023 property:P21 ?j . resource:Q1268242 property:P21 ?j . ?j rdf:type ontology:Q290 }
Gregg Herken Rolf Fritzsche
action filter_type
action intersection
action find
entity Rolf Fritzsche
relation gender
action find
entity Gregg Herken
relation gender
type sex
{'AND': [['Rolf Fritzsche', 'gender', {'concept': 'sex'}], ['Gregg Herken', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { resource:Gregg_Herken property:gender ?j . resource:Rolf_Fritzsche property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1268242,P21,c(Q290)), (Q15306023,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1268242
relation P21
action find
entity Q15306023
relation P21
type Q290
[ANSWER]
{'AND': [['Q1268242', 'P21', {'concept': 'Q290'}], ['Q15306023', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { resource:Q15306023 property:P21 ?j . resource:Q1268242 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Rolf Fritzsche
relation gender
action find
entity Gregg Herken
relation gender
type sex
{'AND': [['Rolf Fritzsche', 'gender', {'concept': 'sex'}], ['Gregg Herken', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { resource:Gregg_Herken property:gender ?j . resource:Rolf_Fritzsche property:gender ?j . ?j rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do approximately the same number of people possess as that sex ?
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P21 ?x . ?x rdf:type ontology:Q290 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?h = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q6581097 property:P21 ?m . ?m rdf:type ontology:Q290 } } }
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:gender ?x . ?x rdf:type ontology:sex . ?d rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?h = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:male property:gender ?m . ?m rdf:type ontology:sex } } }
[]
sex common name
SYSTEM
1
Q6581097
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P21 ?x . ?x rdf:type ontology:Q290 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?h = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q6581097 property:P21 ?m . ?m rdf:type ontology:Q290 } } }
male
1
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:gender ?x . ?x rdf:type ontology:sex . ?d rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?h = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:male property:gender ?m . ?m rdf:type ontology:sex } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1268242
P54
Q1194951
USER
Which national sports team is Rolf Fritzsche a member of ?
(Q1268242,P54,c(Q1194951))
action filter_type
action find
entity Q1268242
relation P54
type Q1194951
['Q1268242', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q1268242 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Rolf Fritzsche
action filter_type
action find
entity Rolf Fritzsche
relation member of sports team
type national sports team
['Rolf Fritzsche', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Rolf_Fritzsche property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q152424
SYSTEM
East Germany national football team
Q152424
(Q1268242,P54,c(Q1194951))
action filter_type
action find
entity Q1268242
relation P54
type Q1194951
The [ANSWER] is Rolf Fritzsche a member of
['Q1268242', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q1268242 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
East Germany national football team
The East Germany national football team is Rolf Fritzsche a member of
East Germany national football team
action filter_type
action find
entity Rolf Fritzsche
relation member of sports team
type national sports team
['Rolf Fritzsche', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Rolf_Fritzsche property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152424
P1532
Q7275
USER
Which state does that national sports team play for ?
(Q152424,P1532,c(Q7275))
action filter_type
action find
entity Q152424
relation P1532
type Q7275
['Q152424', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7275 . resource:Q152424 property:P1532 ?n }
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 ?n WHERE { ?n rdf:type ontology:state . resource:East_Germany_national_football_team property:country_for_sport ?n }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q152424,P1532,c(Q7275))
action filter_type
action find
entity Q152424
relation P1532
type Q7275
That national sports team plays in [ANSWER]
['Q152424', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7275 . resource:Q152424 property:P1532 ?n }
East Germany
That national sports 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 ?n WHERE { ?n rdf:type ontology:state . resource:East_Germany_national_football_team property:country_for_sport ?n }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the representative bodies for max number of states ?
(c(Q7275),P194,Q701632)
action argmax
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:Q7275 . ?g rdf:type ontology:Q1752346 . ?i property:P194 ?g } GROUP BY ?g } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?q rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 . ?u property:P194 ?q } GROUP BY ?q } }
action argmax
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:state . ?g rdf:type ontology:assembly . ?i property:legislative_body ?g } GROUP BY ?g } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?q rdf:type ontology:assembly . ?u rdf:type ontology:state . ?u property:legislative_body ?q } GROUP BY ?q } }
[]
assembly state
Q632552
SYSTEM
French Parliament
Q632552
(c(Q7275),P194,Q701632)
action argmax
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[ANSWER] is the representative bodies for max number of states
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:Q7275 . ?g rdf:type ontology:Q1752346 . ?i property:P194 ?g } GROUP BY ?g } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?q rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 . ?u property:P194 ?q } GROUP BY ?q } }
French Parliament
French Parliament is the representative bodies for max number of states
French Parliament
action argmax
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:state . ?g rdf:type ontology:assembly . ?i property:legislative_body ?g } GROUP BY ?g } } . FILTER ( ?m = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?q rdf:type ontology:assembly . ?u rdf:type ontology:state . ?u property:legislative_body ?q } GROUP BY ?q } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q632552 Q7839002
P194
Q15617994
USER
Does Treviskey have that assembly as its representative body ?
(Q7839002,P194,Q632552)
action is_in
entity Q7839002
action find
entity Q632552
relation P194
['Q7839002', 'P194', 'Q632552']
ASK WHERE { resource:Q632552 property:P194 resource:Q7839002 }
French Parliament Treviskey
action is_in
entity Treviskey
action find
entity French Parliament
relation legislative body
['Treviskey', 'legislative body', 'French Parliament']
ASK WHERE { resource:French_Parliament property:legislative_body resource:Treviskey }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7839002,P194,Q632552)
action is_in
entity Q7839002
action find
entity Q632552
relation P194
[ANSWER]
['Q7839002', 'P194', 'Q632552']
ASK WHERE { resource:Q632552 property:P194 resource:Q7839002 }
No
action is_in
entity Treviskey
action find
entity French Parliament
relation legislative body
['Treviskey', 'legislative body', 'French Parliament']
ASK WHERE { resource:French_Parliament property:legislative_body resource:Treviskey }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q152424 Q183 Q4241117
P17
Q1048835
USER
Is East Germany national football team situated in Germany and Krynychne ?
(Q152424,P17,Q183) (Q152424,P17,Q4241117)
action is_in
entity Q152424
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4241117
relation P17
['Q152424', 'P17', 'Q183'] ['Q152424', 'P17', 'Q4241117']
ASK WHERE { resource:Q152424 property:P17 resource:Q183 . resource:Q152424 property:P17 resource:Q4241117 }
East Germany national football team Germany Krynychne
action is_in
entity East Germany national football team
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Krynychne
relation country
['East Germany national football team', 'country', 'Germany'] ['East Germany national football team', 'country', 'Krynychne']
ASK WHERE { resource:East_Germany_national_football_team property:country resource:Germany . resource:East_Germany_national_football_team property:country resource:Krynychne }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q152424,P17,Q183) (Q152424,P17,Q4241117)
action is_in
entity Q152424
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4241117
relation P17
[ANSWER]
['Q152424', 'P17', 'Q183'] ['Q152424', 'P17', 'Q4241117']
ASK WHERE { resource:Q152424 property:P17 resource:Q183 . resource:Q152424 property:P17 resource:Q4241117 }
YES and NO respectively
action is_in
entity East Germany national football team
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Krynychne
relation country
['East Germany national football team', 'country', 'Germany'] ['East Germany national football team', 'country', 'Krynychne']
ASK WHERE { resource:East_Germany_national_football_team property:country resource:Germany . resource:East_Germany_national_football_team property:country resource:Krynychne }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152424
P641
Q349
USER
Which sport was that national sports team a part of ?
action filter_type
action find
entity Q152424
relation P641
type Q349
SELECT DISTINCT ?r WHERE { resource:Q152424 property:P641 ?r . ?r rdf:type ontology:Q349 }
East Germany national football team
action filter_type
action find
entity East Germany national football team
relation sport
type sport
SELECT DISTINCT ?r WHERE { resource:East_Germany_national_football_team property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q152424
relation P641
type Q349
The [ANSWER] was that national sports team a part of
SELECT DISTINCT ?r WHERE { resource:Q152424 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
The association football was that national sports team a part of
association football
action filter_type
action find
entity East Germany national football team
relation sport
type sport
SELECT DISTINCT ?r WHERE { resource:East_Germany_national_football_team property:sport ?r . ?r rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q6055843 Q1002697
USER
How many internet genres and periodical literatures were mainly based on that sport ?
(c(Q6055843),P921,Q2736) (c(Q1002697),P921,Q2736) (c(Q6055843),P921,Q2736) (c(Q1002697),P921,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P921
type Q6055843
action filter_type
action find_reverse
entity Q2736
relation P921
type Q1002697
[{'concept': 'Q6055843'}, 'P921', 'Q2736'] [{'concept': 'Q1002697'}, 'P921', 'Q2736'] [{'concept': 'Q6055843'}, 'P921', 'Q2736'] [{'concept': 'Q1002697'}, 'P921', 'Q2736']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1002697 ) ( ontology:Q6055843 ) } }
action count
action union
action filter_type
action find_reverse
entity association football
relation main subject
type internet genre
action filter_type
action find_reverse
entity association football
relation main subject
type periodical literature
[{'concept': 'internet genre'}, 'main subject', 'association football'] [{'concept': 'periodical literature'}, 'main subject', 'association football'] [{'concept': 'internet genre'}, 'main subject', 'association football'] [{'concept': 'periodical literature'}, 'main subject', 'association football']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:periodical_literature ) ( ontology:internet_genre ) } }
[]
internet genre periodical literature
SYSTEM
1 internet genres and 2 periodical literatures
Q7718618 Q25455377 Q308705
(c(Q6055843),P921,Q2736) (c(Q1002697),P921,Q2736) (c(Q6055843),P921,Q2736) (c(Q1002697),P921,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P921
type Q6055843
action filter_type
action find_reverse
entity Q2736
relation P921
type Q1002697
[ANSWER]
[{'concept': 'Q6055843'}, 'P921', 'Q2736'] [{'concept': 'Q1002697'}, 'P921', 'Q2736'] [{'concept': 'Q6055843'}, 'P921', 'Q2736'] [{'concept': 'Q1002697'}, 'P921', 'Q2736']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1002697 ) ( ontology:Q6055843 ) } }
The Blizzard Kooora France Football
1 internet genres and 2 periodical literatures
action count
action union
action filter_type
action find_reverse
entity association football
relation main subject
type internet genre
action filter_type
action find_reverse
entity association football
relation main subject
type periodical literature
[{'concept': 'internet genre'}, 'main subject', 'association football'] [{'concept': 'periodical literature'}, 'main subject', 'association football'] [{'concept': 'internet genre'}, 'main subject', 'association football'] [{'concept': 'periodical literature'}, 'main subject', 'association football']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:periodical_literature ) ( ontology:internet_genre ) } }
[]