Simple Question (Direct)
Simple Question
Q5495955
P21
Q290
USER
What is the sex of Fred Mitcheson ?
(Q5495955,P21,c(Q290))
action filter_type
action find
entity Q5495955
relation P21
type Q290
['Q5495955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5495955 property:P21 ?p . ?p rdf:type ontology:Q290 }
Fred Mitcheson
action filter_type
action find
entity Fred Mitcheson
relation gender
type sex
['Fred Mitcheson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Fred_Mitcheson property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5495955,P21,c(Q290))
action filter_type
action find
entity Q5495955
relation P21
type Q290
The sex of Fred Mitcheson is a [ANSWER]
['Q5495955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5495955 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Fred Mitcheson is a male
male
action filter_type
action find
entity Fred Mitcheson
relation gender
type sex
['Fred Mitcheson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Fred_Mitcheson property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5495955
P106
Q12737077
USER
What is the job of Fred Mitcheson ?
(Q5495955,P106,c(Q12737077))
action filter_type
action find
entity Q5495955
relation P106
type Q12737077
['Q5495955', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5495955 property:P106 ?p }
Fred Mitcheson
action filter_type
action find
entity Fred Mitcheson
relation occupation
type occupation
['Fred Mitcheson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Fred_Mitcheson property:occupation ?p }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5495955,P106,c(Q12737077))
action filter_type
action find
entity Q5495955
relation P106
type Q12737077
The job of Fred Mitcheson is an [ANSWER]
['Q5495955', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5495955 property:P106 ?p }
association football player
The job of Fred Mitcheson is an association football player
association football player
action filter_type
action find
entity Fred Mitcheson
relation occupation
type occupation
['Fred Mitcheson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Fred_Mitcheson property:occupation ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5684618 Q5495955
P27
Q15617994
USER
Which administrative territories do Fred Mitcheson and Roy Castle belong to ?
AND((Q5495955,P27,c(Q15617994)), (Q5684618,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5495955
relation P27
action find
entity Q5684618
relation P27
type Q15617994
{'AND': [['Q5495955', 'P27', {'concept': 'Q15617994'}], ['Q5684618', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q5684618 property:P27 ?b . resource:Q5495955 property:P27 ?b }
Roy Castle Fred Mitcheson
action filter_type
action intersection
action find
entity Fred Mitcheson
relation country of citizenship
action find
entity Roy Castle
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Fred Mitcheson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roy Castle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Roy_Castle property:country_of_citizenship ?b . resource:Fred_Mitcheson property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q5495955,P27,c(Q15617994)), (Q5684618,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5495955
relation P27
action find
entity Q5684618
relation P27
type Q15617994
Fred Mitcheson and Roy Castle belong to the [ANSWER]
{'AND': [['Q5495955', 'P27', {'concept': 'Q15617994'}], ['Q5684618', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q5684618 property:P27 ?b . resource:Q5495955 property:P27 ?b }
United Kingdom
Fred Mitcheson and Roy Castle belong to the United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity Fred Mitcheson
relation country of citizenship
action find
entity Roy Castle
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Fred Mitcheson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roy Castle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Roy_Castle property:country_of_citizenship ?b . resource:Fred_Mitcheson property:country_of_citizenship ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q26439339
P17
Q3947
USER
Is Gerrards Farmhouse located in that administrative territory ?
(Q26439339,P17,Q145)
action is_in
entity Q145
action find
entity Q26439339
relation P17
['Q26439339', 'P17', 'Q145']
ASK WHERE { resource:Q26439339 property:P17 resource:Q145 }
United Kingdom Gerrards Farmhouse
action is_in
entity United Kingdom
action find
entity Gerrards Farmhouse
relation country
['Gerrards Farmhouse', 'country', 'United Kingdom']
ASK WHERE { resource:Gerrards_Farmhouse property:country resource:United_Kingdom }
[]
house
SYSTEM
YES
(Q26439339,P17,Q145)
action is_in
entity Q145
action find
entity Q26439339
relation P17
[ANSWER]
['Q26439339', 'P17', 'Q145']
ASK WHERE { resource:Q26439339 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Gerrards Farmhouse
relation country
['Gerrards Farmhouse', 'country', 'United Kingdom']
ASK WHERE { resource:Gerrards_Farmhouse property:country resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?w ) WHERE { ?n property:P530 ?l . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?w = 11 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?w ) WHERE { ?n property:diplomatic_relation ?l . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?w = 11 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWERS] have a diplomatic relationship with approximately 11 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?w ) WHERE { ?n property:P530 ?l . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?w = 11 ) }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China have a diplomatic relationship with approximately 11 administrative territories
France Zambia People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?w ) WHERE { ?n property:diplomatic_relation ?l . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?w = 11 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q917883
P530
Q1048835
USER
Do Molina de Segura have tactful political relations with those administrative territories ?
(Q917883,P530,Q142) (Q917883,P530,Q953) (Q917883,P530,Q148)
action is_in
entity prev_answer
action find
entity Q917883
relation P530
['Q917883', 'P530', 'Q142'] ['Q917883', 'P530', 'Q953'] ['Q917883', 'P530', 'Q148']
ASK WHERE { resource:Q917883 property:P530 ?m . VALUES ( ?m ) { ( resource:Q805 ) ( resource:Q668 ) ( resource:Q414 ) } }
Molina de Segura
action is_in
entity prev_answer
action find
entity Molina de Segura
relation diplomatic relation
['Molina de Segura', 'diplomatic relation', 'France'] ['Molina de Segura', 'diplomatic relation', 'Zambia'] ['Molina de Segura', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Molina_de_Segura property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Yemen ) ( resource:India ) ( resource:Argentina ) } }
[]
political territorial entity
SYSTEM
NO
(Q917883,P530,Q142) (Q917883,P530,Q953) (Q917883,P530,Q148)
action is_in
entity prev_answer
action find
entity Q917883
relation P530
[ANSWER]
['Q917883', 'P530', 'Q142'] ['Q917883', 'P530', 'Q953'] ['Q917883', 'P530', 'Q148']
ASK WHERE { resource:Q917883 property:P530 ?m . VALUES ( ?m ) { ( resource:Q805 ) ( resource:Q668 ) ( resource:Q414 ) } }
No
action is_in
entity prev_answer
action find
entity Molina de Segura
relation diplomatic relation
['Molina de Segura', 'diplomatic relation', 'France'] ['Molina de Segura', 'diplomatic relation', 'Zambia'] ['Molina de Segura', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Molina_de_Segura property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Yemen ) ( resource:India ) ( resource:Argentina ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2712922 Q5495955
P27
Q15617994
USER
Which administrative territories do Fred Mitcheson or Makoto Kakuda belong to ?
OR((Q5495955,P27,c(Q15617994)), (Q2712922,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5495955
relation P27
action find
entity Q2712922
relation P27
type Q15617994
{'OR': [['Q5495955', 'P27', {'concept': 'Q15617994'}], ['Q2712922', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5495955 property:P27 ?z } UNION { resource:Q2712922 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Makoto Kakuda Fred Mitcheson
action filter_type
action union
action find
entity Fred Mitcheson
relation country of citizenship
action find
entity Makoto Kakuda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fred Mitcheson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Makoto Kakuda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Fred_Mitcheson property:country_of_citizenship ?z } UNION { resource:Makoto_Kakuda property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q5495955,P27,c(Q15617994)), (Q2712922,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5495955
relation P27
action find
entity Q2712922
relation P27
type Q15617994
Fred Mitcheson or Makoto Kakuda belong to both [ANSWERS]
{'OR': [['Q5495955', 'P27', {'concept': 'Q15617994'}], ['Q2712922', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5495955 property:P27 ?z } UNION { resource:Q2712922 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Japan United Kingdom
Fred Mitcheson or Makoto Kakuda belong to both Japan and United Kingdom
Japan United Kingdom
action filter_type
action union
action find
entity Fred Mitcheson
relation country of citizenship
action find
entity Makoto Kakuda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fred Mitcheson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Makoto Kakuda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Fred_Mitcheson property:country_of_citizenship ?z } UNION { resource:Makoto_Kakuda property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21527715
P840
Q838948
USER
Do Heat Wave have their narrative set in those administrative territories ?
(Q21527715,P840,Q17) (Q21527715,P840,Q145)
action is_in
entity prev_answer
action find
entity Q21527715
relation P840
['Q21527715', 'P840', 'Q17'] ['Q21527715', 'P840', 'Q145']
ASK WHERE { resource:Q21527715 property:P840 ?v . VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q145 ) } }
Heat Wave
action is_in
entity prev_answer
action find
entity Heat Wave
relation narrative location
['Heat Wave', 'narrative location', 'Japan'] ['Heat Wave', 'narrative location', 'United Kingdom']
ASK WHERE { resource:Heat_Wave property:narrative_location ?v . VALUES ( ?v ) { ( resource:Japan ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
NO
(Q21527715,P840,Q17) (Q21527715,P840,Q145)
action is_in
entity prev_answer
action find
entity Q21527715
relation P840
[ANSWER]
['Q21527715', 'P840', 'Q17'] ['Q21527715', 'P840', 'Q145']
ASK WHERE { resource:Q21527715 property:P840 ?v . VALUES ( ?v ) { ( resource:Q17 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Heat Wave
relation narrative location
['Heat Wave', 'narrative location', 'Japan'] ['Heat Wave', 'narrative location', 'United Kingdom']
ASK WHERE { resource:Heat_Wave property:narrative_location ?v . VALUES ( ?v ) { ( resource:Japan ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q4018
P37
Q34770
USER
How many languages are the official languages of France or Navarre ?
(Q142,P37,c(Q34770)) (Q4018,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q142
relation P37
type Q34770
action filter_type
action find
entity Q4018
relation P37
type Q34770
['Q142', 'P37', {'concept': 'Q34770'}] ['Q4018', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:P37 ?i . VALUES ( ?l ) { ( resource:Q4018 ) ( resource:Q142 ) } }
France Navarre
action count
action union
action filter_type
action find
entity France
relation official language
type language
action filter_type
action find
entity Navarre
relation official language
type language
['France', 'official language', {'concept': 'language'}] ['Navarre', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:official_language ?i . VALUES ( ?l ) { ( resource:Navarre ) ( resource:France ) } }
[]
language
SYSTEM
2
Q8752 Q1321
(Q142,P37,c(Q34770)) (Q4018,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q142
relation P37
type Q34770
action filter_type
action find
entity Q4018
relation P37
type Q34770
[ANSWER]
['Q142', 'P37', {'concept': 'Q34770'}] ['Q4018', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:P37 ?i . VALUES ( ?l ) { ( resource:Q4018 ) ( resource:Q142 ) } }
Basque Spanish
2
action count
action union
action filter_type
action find
entity France
relation official language
type language
action filter_type
action find
entity Navarre
relation official language
type language
['France', 'official language', {'concept': 'language'}] ['Navarre', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:official_language ?i . VALUES ( ?l ) { ( resource:Navarre ) ( resource:France ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Who is associated with the field of occupation association football player ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q937857 property:P425 ?u . ?u rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:association_football_player property:field_of_this_occupation ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
As [ANSWER] is associated with the field of occupation [ANSWER] player
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q937857 property:P425 ?u . ?u rdf:type ontology:Q349 }
association football
As association football is associated with the field of occupation association football player
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:association_football_player property:field_of_this_occupation ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
What is that occupation a portion of ?
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?c }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_club . resource:association_football_player property:part_of ?c }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
That occupation a portion of is an [ANSWER]
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?c }
association football club
That occupation a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_club . resource:association_football_player property:part_of ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P6
Q502895
USER
Which people have France as their heads of government ?
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q142 property:P6 ?o . ?o rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:France property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
[ANSWERS] have France as their heads of government
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q142 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Manuel Valls Jean-Marc Ayrault
Manuel Valls and Jean-Marc Ayrault have France as their heads of government
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:France property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q10287 Q7711
P39
Q12737077
USER
Which occupations were the positions occupied by those people ?
(Q10287,P39,c(Q12737077)) (Q7711,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
['Q10287', 'P39', {'concept': 'Q12737077'}] ['Q7711', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . ?m property:P39 ?s . VALUES ( ?m ) { ( resource:Q10287 ) ( resource:Q7711 ) } }
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Manuel Valls', 'position held', {'concept': 'occupation'}] ['Jean-Marc Ayrault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . ?m property:position_held ?s . VALUES ( ?m ) { ( resource:Manuel_Valls ) ( resource:Jean-Marc_Ayrault ) } }
[]
occupation
Q3780304 Q16886136 Q3044918
SYSTEM
Member of the General Council, conseiller régional, member of the French National Assembly
Q16886136 Q382617 Q1587677 Q3044918 Q20203006 Q3780304 Q1587677 Q30185 Q3044918 Q19822522
(Q10287,P39,c(Q12737077)) (Q7711,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
[ANSWERS]
['Q10287', 'P39', {'concept': 'Q12737077'}] ['Q7711', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . ?m property:P39 ?s . VALUES ( ?m ) { ( resource:Q10287 ) ( resource:Q7711 ) } }
conseiller régional maire Prime Minister of France member of the French National Assembly Minister of the Interior Member of the General Council Prime Minister of France mayor member of the French National Assembly Mayor of Nantes
Member of the General Council, conseiller régional and member of the French National Assembly were the positions occupied by those people
Member of the General Council conseiller régional member of the French National Assembly
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Manuel Valls', 'position held', {'concept': 'occupation'}] ['Jean-Marc Ayrault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . ?m property:position_held ?s . VALUES ( ?m ) { ( resource:Manuel_Valls ) ( resource:Jean-Marc_Ayrault ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P35
Q502895
USER
Who are the heads of state of People's Republic of China ?
(Q148,P35,c(Q502895))
action filter_type
action find
entity Q148
relation P35
type Q502895
['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q148 property:P35 ?k }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:People's_Republic_of_China property:head_of_state ?k }
[]
common name
Q5816 Q17132 Q15031
SYSTEM
Mao Zedong, Soong Ching-ling, Xi Jinping
Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q22513 Q504372 Q5816
(Q148,P35,c(Q502895))
action filter_type
action find
entity Q148
relation P35
type Q502895
The heads of state of People's Republic of China are [ANSWERS]
['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q148 property:P35 ?k }
Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Zhu De Ye Jianying Mao Zedong
The heads of state of People's Republic of China are Mao Zedong, Soong Ching-ling and Xi Jinping
Mao Zedong Soong Ching-ling Xi Jinping
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:People's_Republic_of_China property:head_of_state ?k }
[]