Simple Question (Direct)
Simple Question
Q3379144
P495
Q15617994
USER
Where did Philippe-Emmanuel Coulanges originate ?
(Q3379144,P495,c(Q15617994))
action filter_type
action find
entity Q3379144
relation P495
type Q15617994
['Q3379144', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3379144 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
Philippe-Emmanuel Coulanges
action filter_type
action find
entity Philippe-Emmanuel Coulanges
relation country of origin
type designation for an administrative territorial entity
['Philippe-Emmanuel Coulanges', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Philippe-Emmanuel_Coulanges property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3379144,P495,c(Q15617994))
action filter_type
action find
entity Q3379144
relation P495
type Q15617994
Philippe-Emmanuel Coulanges originated from [ANSWER]
['Q3379144', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3379144 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
France
Philippe-Emmanuel Coulanges originated from France
France
action filter_type
action find
entity Philippe-Emmanuel Coulanges
relation country of origin
type designation for an administrative territorial entity
['Philippe-Emmanuel Coulanges', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Philippe-Emmanuel_Coulanges property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P138
Q874405
USER
What is that administrative territory named after ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q142 property:P138 ?g . ?g 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 ?g WHERE { resource:France property:named_after ?g . ?g 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
That administrative territory named after is the [ANSWER]
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q142 property:P138 ?g . ?g rdf:type ontology:Q874405 }
Franks
That administrative territory named after is the Franks
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:France property:named_after ?g . ?g rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43482 Q142
P138
Q15617994
USER
Does France have that social group as its toponym ?
(Q142,P138,Q43482)
action is_in
entity Q43482
action find
entity Q142
relation P138
['Q142', 'P138', 'Q43482']
ASK WHERE { resource:Q142 property:P138 resource:Q43482 }
Franks France
action is_in
entity Franks
action find
entity France
relation named after
['France', 'named after', 'Franks']
ASK WHERE { resource:France property:named_after resource:Franks }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P138,Q43482)
action is_in
entity Q43482
action find
entity Q142
relation P138
[ANSWER]
['Q142', 'P138', 'Q43482']
ASK WHERE { resource:Q142 property:P138 resource:Q43482 }
Yes
action is_in
entity Franks
action find
entity France
relation named after
['France', 'named after', 'Franks']
ASK WHERE { resource:France property:named_after resource:Franks }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P551
Q5073797 Q95074
USER
How many Characterss in Disney's Beauty and the Beast or fictional characters lives in France ?
(c(Q5073797),P551,Q142) (c(Q95074),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q5073797
action filter_type
action find_reverse
entity Q142
relation P551
type Q95074
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q95074'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?q ) { ( ontology:Q5073797 ) ( ontology:Q95074 ) } . ?c rdf:type ?q }
France
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type Characters in Disney's Beauty and the Beast
action filter_type
action find_reverse
entity France
relation residence
type fictional character
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'fictional character'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?q ) { ( ontology:Characters_in_Disney's_Beauty_and_the_Beast ) ( ontology:fictional_character ) } . ?c rdf:type ?q }
[]
Characters in Disney's Beauty and the Beast fictional character
SYSTEM
6
Q2269136 Q2502489 Q2427584 Q2269614 Q2284795 Q27608664
(c(Q5073797),P551,Q142) (c(Q95074),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q5073797
action filter_type
action find_reverse
entity Q142
relation P551
type Q95074
[ANSWER]
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q95074'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?q ) { ( ontology:Q5073797 ) ( ontology:Q95074 ) } . ?c rdf:type ?q }
Gaston Belle Maurice Lumière Mrs. Potts Monsieur D'Arque
6
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type Characters in Disney's Beauty and the Beast
action filter_type
action find_reverse
entity France
relation residence
type fictional character
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': 'fictional character'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?q ) { ( ontology:Characters_in_Disney's_Beauty_and_the_Beast ) ( ontology:fictional_character ) } . ?c rdf:type ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q235
P530
Q15617994
USER
How many administrative territories have tactful political relations with France or Monaco ?
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q235)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q235
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q235']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?r ) { ( resource:Q235 ) ( resource:Q142 ) } . ?g property:P530 ?r }
France Monaco
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Monaco
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Monaco']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?r ) { ( resource:Monaco ) ( resource:France ) } . ?g property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
SYSTEM
18
Q711 Q801 Q184 Q948 Q1011 Q399 Q403 Q225 Q159 Q222 Q145 Q155 Q228 Q32 Q17 Q27 Q929 Q38
(c(Q15617994),P530,Q142) (c(Q15617994),P530,Q235)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q235
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q142'] [{'concept': 'Q15617994'}, 'P530', 'Q235']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?r ) { ( resource:Q235 ) ( resource:Q142 ) } . ?g property:P530 ?r }
Mongolia Israel Belarus Tunisia Cape Verde Armenia Serbia Bosnia and Herzegovina Russia Albania United Kingdom Brazil Andorra Luxembourg Japan Ireland Central African Republic Italy
18
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Monaco
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Monaco']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?r ) { ( resource:Monaco ) ( resource:France ) } . ?g property:diplomatic_relation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P3179
Q7275
USER
Which state has its territory overlap with France ?
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P3179 resource:Q142 . ?l rdf:type ontology:Q7275 }
France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?l WHERE { ?l property:territory_overlaps resource:France . ?l rdf:type ontology:state }
[]
state
Q70972
SYSTEM
Kingdom of France
Q70972
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
France [ANSWER] has its territory overlap with France
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P3179 resource:Q142 . ?l rdf:type ontology:Q7275 }
Kingdom of France
France Kingdom of France has its territory overlap with France
Kingdom of France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?l WHERE { ?l property:territory_overlaps resource:France . ?l rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P35
Q502895
USER
Who are elected as the head of state of France ?
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P35 ?p . ?p rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:France property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWERS] are elected as the head of state of France
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
Jacques Chirac, Charles de Gaulle and François Mitterrand are elected as the head of state of France
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:France property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]