Simple Question (Direct)
Simple Question
Q4991089
P106
Q12737077
USER
What is the profession of Maja Åström ?
(Q4991089,P106,c(Q12737077))
action filter_type
action find
entity Q4991089
relation P106
type Q12737077
['Q4991089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4991089 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Maja Åström
action filter_type
action find
entity Maja Åström
relation occupation
type occupation
['Maja Åström', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Maja_Åström property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4991089,P106,c(Q12737077))
action filter_type
action find
entity Q4991089
relation P106
type Q12737077
The profession of Maja Åström is an [ANSWER]
['Q4991089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4991089 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
The profession of Maja Åström is an association football player
association football player
action filter_type
action find
entity Maja Åström
relation occupation
type occupation
['Maja Åström', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Maja_Åström property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
What is that occupation a part of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P361 ?b . ?b rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?b WHERE { resource:association_football_player property:part_of ?b . ?b rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
That occupation a part of is a [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P361 ?b . ?b rdf:type ontology:Q847017 }
association football club
That occupation a part of is a association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?b WHERE { resource:association_football_player property:part_of ?b . ?b rdf:type ontology:sports_club }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q847017 Q1478437
USER
How many football tournaments did around 1 sports club contest in ?
(c(Q1478437),P1923,c(Q847017))
action count
action approx
action find_tuple_counts
relation P1923
type Q1478437
type Q847017
value 1
[{'concept': 'Q1478437'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?i rdf:type ontology:Q1478437 . ?a rdf:type ontology:Q847017 . ?i property:P1923 ?a } GROUP BY ?i } . FILTER ( ?v = 1 ) }
action count
action approx
action find_tuple_counts
relation participating teams
type football tournament
type sports club
value 1
[{'concept': 'football tournament'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?i rdf:type ontology:football_tournament . ?a rdf:type ontology:sports_club . ?i property:participating_teams ?a } GROUP BY ?i } . FILTER ( ?v = 1 ) }
[]
sports club football tournament
SYSTEM
9
Q19915706 Q377902 Q13410151 Q539530 Q16466751 Q933610 Q301194 Q697143 Q1084791
(c(Q1478437),P1923,c(Q847017))
action count
action approx
action find_tuple_counts
relation P1923
type Q1478437
type Q847017
value 1
[ANSWER]
[{'concept': 'Q1478437'}, 'P1923', {'concept': 'Q847017'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?i rdf:type ontology:Q1478437 . ?a rdf:type ontology:Q847017 . ?i property:P1923 ?a } GROUP BY ?i } . FILTER ( ?v = 1 ) }
2015–16 Russian Premier League 2012–13 Russian Premier League Russian football championship 2013–14 2011–12 Russian Premier League 2014–15 Russian Premier League 2010 Russian Premier League 2008 Russian Premier League 2005 Russian Premier League 2009 Russian Premier League
9
action count
action approx
action find_tuple_counts
relation participating teams
type football tournament
type sports club
value 1
[{'concept': 'football tournament'}, 'participating teams', {'concept': 'sports club'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?v ) WHERE { ?i rdf:type ontology:football_tournament . ?a rdf:type ontology:sports_club . ?i property:participating_teams ?a } GROUP BY ?i } . FILTER ( ?v = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3188737 Q4991089
P27
Q15617994
USER
Which administrative territories are Maja Åström or Jules Lescuyer d'Attainville a civilian of ?
OR((Q4991089,P27,c(Q15617994)), (Q3188737,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4991089
relation P27
action find
entity Q3188737
relation P27
type Q15617994
{'OR': [['Q4991089', 'P27', {'concept': 'Q15617994'}], ['Q3188737', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q4991089 property:P27 ?k } UNION { resource:Q3188737 property:P27 ?k } } }
Jules Lescuyer d'Attainville Maja Åström
action filter_type
action union
action find
entity Maja Åström
relation country of citizenship
action find
entity Jules Lescuyer d'Attainville
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Maja Åström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Jules Lescuyer d'Attainville", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Maja_Åström property:country_of_citizenship ?k } UNION { resource:Jules_Lescuyer_d'Attainville property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q142 Q34
SYSTEM
France, Sweden
Q142 Q34
OR((Q4991089,P27,c(Q15617994)), (Q3188737,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4991089
relation P27
action find
entity Q3188737
relation P27
type Q15617994
[ANSWERS] are Maja Åström or Jules Lescuyer d'Attainville a civilian of
{'OR': [['Q4991089', 'P27', {'concept': 'Q15617994'}], ['Q3188737', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q4991089 property:P27 ?k } UNION { resource:Q3188737 property:P27 ?k } } }
France Sweden
France and Sweden are Maja Åström or Jules Lescuyer d'Attainville a civilian of
France Sweden
action filter_type
action union
action find
entity Maja Åström
relation country of citizenship
action find
entity Jules Lescuyer d'Attainville
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Maja Åström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Jules Lescuyer d'Attainville", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Maja_Åström property:country_of_citizenship ?k } UNION { resource:Jules_Lescuyer_d'Attainville property:country_of_citizenship ?k } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2436428 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and did Rik Schouw participate in ?
AND((Q937857,P425,c(Q349)), (Q2436428,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2436428
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2436428', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q937857 property:P425 ?x . resource:Q2436428 property:P641 ?x }
Rik Schouw association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Rik Schouw
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Rik Schouw', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?x . resource:Rik_Schouw property:sport ?x }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q2436428,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2436428
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated field of occupation and did Rik Schouw participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2436428', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q937857 property:P425 ?x . resource:Q2436428 property:P641 ?x }
association football
Field association football have association football player as the associated field of occupation and did Rik Schouw participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Rik Schouw
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Rik Schouw', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?x . resource:Rik_Schouw property:sport ?x }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 97 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?a ) WHERE { ?o rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?o property:P530 ?l } GROUP BY ?o } . FILTER ( ?a = 97 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?a ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?l } GROUP BY ?o } . FILTER ( ?a = 97 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 97
[ANSWERS] have diplomatic relationships with around 97 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?a ) WHERE { ?o rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?o property:P530 ?l } GROUP BY ?o } . FILTER ( ?a = 97 ) }
Germany Australia
Germany and Australia have diplomatic relationships with around 97 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 97
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?a ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?l } GROUP BY ?o } . FILTER ( ?a = 97 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6234260
P27
Q502895
USER
Are John Friedrich a citizen of those political territories ?
(Q6234260,P27,Q183) (Q6234260,P27,Q408)
action is_in
entity prev_answer
action find
entity Q6234260
relation P27
['Q6234260', 'P27', 'Q183'] ['Q6234260', 'P27', 'Q408']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q6234260 property:P27 ?o }
John Friedrich
action is_in
entity prev_answer
action find
entity John Friedrich
relation country of citizenship
['John Friedrich', 'country of citizenship', 'Germany'] ['John Friedrich', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Australia ) } . resource:John_Friedrich property:country_of_citizenship ?o }
[]
common name
SYSTEM
YES
(Q6234260,P27,Q183) (Q6234260,P27,Q408)
action is_in
entity prev_answer
action find
entity Q6234260
relation P27
[ANSWER]
['Q6234260', 'P27', 'Q183'] ['Q6234260', 'P27', 'Q408']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q6234260 property:P27 ?o }
Yes
action is_in
entity prev_answer
action find
entity John Friedrich
relation country of citizenship
['John Friedrich', 'country of citizenship', 'Germany'] ['John Friedrich', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Australia ) } . resource:John_Friedrich property:country_of_citizenship ?o }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with max number of political territories ?
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?q ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?n ) WHERE { ?h property:P530 ?s . ?h rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q1048835 } GROUP BY ?h } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?q ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?n ) WHERE { ?h property:diplomatic_relation ?s . ?h rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?h } } }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] holds diplomatic relationship with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?q ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?n ) WHERE { ?h property:P530 ?s . ?h rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q1048835 } GROUP BY ?h } } }
Australia
Australia holds diplomatic relationship with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?q ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?n ) WHERE { ?h property:diplomatic_relation ?s . ?h rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?h } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P291
Q838948
USER
Which work of art has Germany as its publication location ?
(c(Q838948),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q838948
[{'concept': 'Q838948'}, 'P291', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q838948 }
Germany
action filter_type
action find_reverse
entity Germany
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:work_of_art }
[]
work of art
Q23931111
SYSTEM
One Who Set Forth: Wim Wenders' Early Years
Q23931111
(c(Q838948),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q838948
One Who set Forth: Wim Wenders' Early Years has Germany as its publication location
[{'concept': 'Q838948'}, 'P291', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P291 resource:Q183 . ?g rdf:type ontology:Q838948 }
One Who Set Forth: Wim Wenders' Early Years
One Who set Forth: Wim Wenders' Early Years has Germany as its publication location
One Who Set Forth: Wim Wenders' Early Years
action filter_type
action find_reverse
entity Germany
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:place_of_publication resource:Germany . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P610
Q14524493
USER
Which is the highest peak of that political territory ?
(Q23931111,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
['Q23931111', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Germany
action filter_type
action find
entity Germany
relation highest point
type terrain
["One Who Set Forth: Wim Wenders' Early Years", 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q3375
SYSTEM
Zugspitze
Q3375
(Q23931111,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
The highest peak of that political territory is the [ANSWER]
['Q23931111', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Zugspitze
The highest peak of that political territory is the Zugspitze
Zugspitze
action filter_type
action find
entity Germany
relation highest point
type terrain
["One Who Set Forth: Wim Wenders' Early Years", 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3375 Q4161130
P610
Q1048835
USER
Is that terrain the highest point of Dibrova ?
(Q4161130,P610,Q3375)
action is_in
entity Q4161130
action find
entity Q3375
relation P610
['Q4161130', 'P610', 'Q3375']
ASK WHERE { resource:Q3375 property:P610 resource:Q4161130 }
Zugspitze Dibrova
action is_in
entity Dibrova
action find
entity Zugspitze
relation highest point
['Dibrova', 'highest point', 'Zugspitze']
ASK WHERE { resource:Zugspitze property:highest_point resource:Dibrova }
[]
political territorial entity
SYSTEM
NO
(Q4161130,P610,Q3375)
action is_in
entity Q4161130
action find
entity Q3375
relation P610
[ANSWER]
['Q4161130', 'P610', 'Q3375']
ASK WHERE { resource:Q3375 property:P610 resource:Q4161130 }
No
action is_in
entity Dibrova
action find
entity Zugspitze
relation highest point
['Dibrova', 'highest point', 'Zugspitze']
ASK WHERE { resource:Zugspitze property:highest_point resource:Dibrova }
[]