Simple Question (Direct)
Simple Question
Q16027228
P39
Q12737077
USER
Which occupation was a position for which Jean Royol was appointed ?
(Q16027228,P39,c(Q12737077))
action filter_type
action find
entity Q16027228
relation P39
type Q12737077
['Q16027228', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16027228 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Jean Royol
action filter_type
action find
entity Jean Royol
relation position held
type occupation
['Jean Royol', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Royol property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16027228,P39,c(Q12737077))
action filter_type
action find
entity Q16027228
relation P39
type Q12737077
A member of the French National Assembly was a position for which Jean Royol was appointed
['Q16027228', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16027228 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position for which Jean Royol was appointed
member of the French National Assembly
action filter_type
action find
entity Jean Royol
relation position held
type occupation
['Jean Royol', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Royol property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027228
P106
Q12737077
USER
Which occupation has Jean Royol as his/her 's career ?
(Q16027228,P106,c(Q12737077))
action filter_type
action find
entity Q16027228
relation P106
type Q12737077
['Q16027228', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q16027228 property:P106 ?o }
Jean Royol
action filter_type
action find
entity Jean Royol
relation occupation
type occupation
['Jean Royol', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Jean_Royol property:occupation ?o }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16027228,P106,c(Q12737077))
action filter_type
action find
entity Q16027228
relation P106
type Q12737077
The [ANSWER] has Jean Royol as his/her 's career
['Q16027228', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q16027228 property:P106 ?o }
politician
The politician has Jean Royol as his/her 's career
politician
action filter_type
action find
entity Jean Royol
relation occupation
type occupation
['Jean Royol', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Jean_Royol property:occupation ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16027228
P20
Q20667921
USER
Where did that person expire ?
(Q82955,P20,c(Q20667921))
action filter_type
action find
entity Q16027228
relation P20
type Q20667921
['Q82955', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q16027228 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Jean Royol
action filter_type
action find
entity Jean Royol
relation place of death
type type of french administrative division
['politician', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Royol property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q213155
SYSTEM
Tournon-sur-Rhône
Q213155
(Q82955,P20,c(Q20667921))
action filter_type
action find
entity Q16027228
relation P20
type Q20667921
That person expired in [ANSWER]
['Q82955', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q16027228 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Tournon-sur-Rhône
That person expired in Tournon-sur-Rhône
Tournon-sur-Rhône
action filter_type
action find
entity Jean Royol
relation place of death
type type of french administrative division
['politician', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Royol property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q20667921 Q515
USER
Which cities are the capital of max number of french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action argmax
action find_tuple_counts
relation P1376
type Q515
type Q20667921
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { ?b property:P1376 ?g . ?g rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q515 } GROUP BY ?b } } . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?e ) WHERE { ?r property:P1376 ?u . ?r rdf:type ontology:Q515 . ?u rdf:type ontology:Q20667921 } GROUP BY ?r } . FILTER ( ?e = ?k ) }
action argmax
action find_tuple_counts
relation capital of
type city
type type of french administrative division
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { ?b property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:city } GROUP BY ?b } } . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?e ) WHERE { ?r property:capital_of ?u . ?r rdf:type ontology:city . ?u rdf:type ontology:type_of_french_administrative_division } GROUP BY ?r } . FILTER ( ?e = ?k ) }
[]
type of french administrative division city
Q23482
SYSTEM
Marseille
Q23482
(c(Q515),P1376,c(Q20667921))
action argmax
action find_tuple_counts
relation P1376
type Q515
type Q20667921
[ANSWER] is the capital of max number of french administrative divisions
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { ?b property:P1376 ?g . ?g rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q515 } GROUP BY ?b } } . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?e ) WHERE { ?r property:P1376 ?u . ?r rdf:type ontology:Q515 . ?u rdf:type ontology:Q20667921 } GROUP BY ?r } . FILTER ( ?e = ?k ) }
Marseille
Marseille is the capital of max number of french administrative divisions
Marseille
action argmax
action find_tuple_counts
relation capital of
type city
type type of french administrative division
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { ?b property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:city } GROUP BY ?b } } . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?e ) WHERE { ?r property:capital_of ?u . ?r rdf:type ontology:city . ?u rdf:type ontology:type_of_french_administrative_division } GROUP BY ?r } . FILTER ( ?e = ?k ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P740
Q2088357
USER
What were formed at that city ?
(c(Q2088357),P740,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q23482']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q23482 . ?m rdf:type ontology:Q2088357 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Marseille']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Marseille . ?m rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1653033 Q3462854 Q1157349
SYSTEM
IAM, Aline, Dagoba
Q1157349 Q428284 Q1653033 Q534943 Q15053237 Q2944107 Q4548310 Q3462854
(c(Q2088357),P740,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P740
type Q2088357
[ANSWERS] were formed at that city
[{'concept': 'Q2088357'}, 'P740', 'Q23482']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q23482 . ?m rdf:type ontology:Q2088357 }
Dagoba Eths IAM Galleon Eradikal Insane Celluloide 123 Marseille Aline
IAM, Aline and Dagoba were formed at that city
IAM Aline Dagoba
action filter_type
action find_reverse
entity Marseille
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Marseille']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Marseille . ?m rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16027228
P27
Q15617994
USER
How many administrative territories do Jean Royol belong to ?
(Q16027228,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16027228
relation P27
type Q15617994
['Q16027228', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q16027228 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Jean Royol
action count
action filter_type
action find
entity Jean Royol
relation country of citizenship
type designation for an administrative territorial entity
['Jean Royol', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Jean_Royol property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q16027228,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16027228
relation P27
type Q15617994
[ANSWER]
['Q16027228', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q16027228 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Jean Royol
relation country of citizenship
type designation for an administrative territorial entity
['Jean Royol', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Jean_Royol property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16027228
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
action filter_type
action find
entity Q16027228
relation P27
type Q15617994
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q16027228 property:P27 ?a }
Jean Royol
action filter_type
action find
entity Jean Royol
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Royol property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
action filter_type
action find
entity Q16027228
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q16027228 property:P27 ?a }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Jean Royol
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Royol property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P123
Q166142
USER
Which applications produced United States of America ?
(c(Q166142),P123,Q30)
action filter_type
action find_reverse
entity Q30
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P123 resource:Q30 . ?c rdf:type ontology:Q166142 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:publisher resource:United_States_of_America . ?c rdf:type ontology:application }
[]
application
Q862542 Q3048269
SYSTEM
Star Wars: Republic Commando, The Lost Crown: A Ghost-Hunting Adventure
Q862542 Q3048269
(c(Q166142),P123,Q30)
action filter_type
action find_reverse
entity Q30
relation P123
type Q166142
[ANSWERS] produced United States of America
[{'concept': 'Q166142'}, 'P123', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P123 resource:Q30 . ?c rdf:type ontology:Q166142 }
Star Wars: Republic Commando The Lost Crown: A Ghost-Hunting Adventure
Star Wars: Republic Commando and The Lost Crown: A Ghost-Hunting Adventure produced United States of America
Star Wars: Republic Commando The Lost Crown: A Ghost-Hunting Adventure
action filter_type
action find_reverse
entity United States of America
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:publisher resource:United_States_of_America . ?c rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P138
Q874405
USER
Which social group is namesake of France ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q142 property:P138 ?n . ?n rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:France property:named_after ?n . ?n rdf:type ontology:social_group }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
Is [ANSWER] is namesake of France
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q142 property:P138 ?n . ?n rdf:type ontology:Q874405 }
Franks
Is Franks is namesake of France
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:France property:named_after ?n . ?n rdf:type ontology:social_group }
[]