Simple Question (Direct)
Simple Question
Q1238574
P21
Q290
USER
What is the sex of Laurence Cossé ?
(Q1238574,P21,c(Q290))
action filter_type
action find
entity Q1238574
relation P21
type Q290
['Q1238574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1238574 property:P21 ?p }
Laurence Cossé
action filter_type
action find
entity Laurence Cossé
relation gender
type sex
['Laurence Cossé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Laurence_Cossé property:gender ?p }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1238574,P21,c(Q290))
action filter_type
action find
entity Q1238574
relation P21
type Q290
The sex of Laurence Cossé is the [ANSWER]
['Q1238574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1238574 property:P21 ?p }
female
The sex of Laurence Cossé is the female
female
action filter_type
action find
entity Laurence Cossé
relation gender
type sex
['Laurence Cossé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Laurence_Cossé property:gender ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1238574
P27
Q15617994
USER
Which administrative territory does Laurence Cossé belong to ?
(Q1238574,P27,c(Q15617994))
action filter_type
action find
entity Q1238574
relation P27
type Q15617994
['Q1238574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1238574 property:P27 ?p }
Laurence Cossé
action filter_type
action find
entity Laurence Cossé
relation country of citizenship
type designation for an administrative territorial entity
['Laurence Cossé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurence_Cossé property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1238574,P27,c(Q15617994))
action filter_type
action find
entity Q1238574
relation P27
type Q15617994
Laurence Cossé belongs to [ANSWER]
['Q1238574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1238574 property:P27 ?p }
France
Laurence Cossé belongs to France
France
action filter_type
action find
entity Laurence Cossé
relation country of citizenship
type designation for an administrative territorial entity
['Laurence Cossé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurence_Cossé property:country_of_citizenship ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1238574
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q1238574
relation P19
type Q20667921
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1238574 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Laurence Cossé
action filter_type
action find
entity Laurence Cossé
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Laurence_Cossé property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q1238574
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1238574 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Boulogne-Billancourt
Boulogne-Billancourt is the birthplace of that person
Boulogne-Billancourt
action filter_type
action find
entity Laurence Cossé
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Laurence_Cossé property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q172455 Q537535 Q189153
P47
Q20667921
USER
Is Boulogne-Billancourt next to the border of Le Molay-Littry and Saint-Cloud ?
(Q172455,P47,Q537535) (Q172455,P47,Q189153)
action is_in
entity Q172455
action intersection
action find_reverse
entity Q537535
relation P47
action find_reverse
entity Q189153
relation P47
['Q172455', 'P47', 'Q537535'] ['Q172455', 'P47', 'Q189153']
ASK WHERE { resource:Q172455 property:P47 resource:Q537535 . resource:Q172455 property:P47 resource:Q189153 }
Boulogne-Billancourt Le Molay-Littry Saint-Cloud
action is_in
entity Boulogne-Billancourt
action intersection
action find_reverse
entity Le Molay-Littry
relation shares border with
action find_reverse
entity Saint-Cloud
relation shares border with
['Boulogne-Billancourt', 'shares border with', 'Le Molay-Littry'] ['Boulogne-Billancourt', 'shares border with', 'Saint-Cloud']
ASK WHERE { resource:Boulogne-Billancourt property:shares_border_with resource:Le_Molay-Littry . resource:Boulogne-Billancourt property:shares_border_with resource:Saint-Cloud }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q172455,P47,Q537535) (Q172455,P47,Q189153)
action is_in
entity Q172455
action intersection
action find_reverse
entity Q537535
relation P47
action find_reverse
entity Q189153
relation P47
[ANSWER]
['Q172455', 'P47', 'Q537535'] ['Q172455', 'P47', 'Q189153']
ASK WHERE { resource:Q172455 property:P47 resource:Q537535 . resource:Q172455 property:P47 resource:Q189153 }
NO and YES respectively
action is_in
entity Boulogne-Billancourt
action intersection
action find_reverse
entity Le Molay-Littry
relation shares border with
action find_reverse
entity Saint-Cloud
relation shares border with
['Boulogne-Billancourt', 'shares border with', 'Le Molay-Littry'] ['Boulogne-Billancourt', 'shares border with', 'Saint-Cloud']
ASK WHERE { resource:Boulogne-Billancourt property:shares_border_with resource:Le_Molay-Littry . resource:Boulogne-Billancourt property:shares_border_with resource:Saint-Cloud }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q3305213 Q11060274
USER
Which administrative territories are depicted in min number of paintings and prints ?
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?c rdf:type ?q } GROUP BY ?j } } . FILTER ( ?t = ?x ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?i rdf:type ?h } GROUP BY ?s } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:painting ) ( ontology:print ) } . ?c rdf:type ?q } GROUP BY ?j } } . FILTER ( ?t = ?x ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:painting ) ( ontology:print ) } . ?i rdf:type ?h } GROUP BY ?s } }
[]
designation for an administrative territorial entity painting print
Q155 Q159 Q55
SYSTEM
Brazil, Russia, Netherlands
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
[ANSWERS] are depicted in min number of paintings and prints
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?c rdf:type ?q } GROUP BY ?j } } . FILTER ( ?t = ?x ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?i rdf:type ?h } GROUP BY ?s } }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Brazil, Russia and Netherlands are depicted in min number of paintings and prints
Brazil Russia Netherlands
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:painting ) ( ontology:print ) } . ?c rdf:type ?q } GROUP BY ?j } } . FILTER ( ?t = ?x ) . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( ontology:painting ) ( ontology:print ) } . ?i rdf:type ?h } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5347601 Q159
P47 P27
Q15617994
USER
Which administrative territories are bordered by Russia or do Efraín Recinos belong to ?
OR((Q159,P47,c(Q15617994)), (Q5347601,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P47
action find
entity Q5347601
relation P27
type Q15617994
{'OR': [['Q159', 'P47', {'concept': 'Q15617994'}], ['Q5347601', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q159 property:P47 ?e } UNION { resource:Q5347601 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Efraín Recinos Russia
action filter_type
action union
action find
entity Russia
relation shares border with
action find
entity Efraín Recinos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Efraín Recinos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Russia property:shares_border_with ?e } UNION { resource:Efraín_Recinos property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q232 Q20 Q191 Q184 Q212 Q36 Q37 Q148 Q17 Q227
SYSTEM
Some of them are Kazakhstan, Norway, Estonia, Belarus, Ukraine, Poland, Lithuania, People's Republic of China, Japan, Azerbaijan
Q212 Q774 Q423 Q211 Q230 Q20 Q232 Q191 Q184 Q711 Q227 Q33 Q17 Q30 Q37 Q36 Q148
OR((Q159,P47,c(Q15617994)), (Q5347601,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P47
action find
entity Q5347601
relation P27
type Q15617994
[ANSWERS] are bordered by Russia or do Efraín Recinos belong to
{'OR': [['Q159', 'P47', {'concept': 'Q15617994'}], ['Q5347601', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q159 property:P47 ?e } UNION { resource:Q5347601 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Ukraine Guatemala North Korea Latvia Georgia Norway Kazakhstan Estonia Belarus Mongolia Azerbaijan Finland Japan United States of America Lithuania Poland People's Republic of China
Kazakhstan, Norway, Estonia, Belarus, Ukraine, Poland, Lithuania, People's Republic of China, Japan and Azerbaijan are bordered by Russia or do Efraín Recinos belong to
Kazakhstan Norway Estonia Belarus Ukraine Poland Lithuania People's Republic of China Japan Azerbaijan
action filter_type
action union
action find
entity Russia
relation shares border with
action find
entity Efraín Recinos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Efraín Recinos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Russia property:shares_border_with ?e } UNION { resource:Efraín_Recinos property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5347601
P106
Q12737077
USER
What do Efraín Recinos do for a living ?
(Q5347601,P106,c(Q12737077))
action filter_type
action find
entity Q5347601
relation P106
type Q12737077
['Q5347601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5347601 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Efraín Recinos
action filter_type
action find
entity Efraín Recinos
relation occupation
type occupation
['Efraín Recinos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Efraín_Recinos property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1028181 Q42973 Q1281618
SYSTEM
painter, architect, sculptor
Q1028181 Q42973 Q1281618
(Q5347601,P106,c(Q12737077))
action filter_type
action find
entity Q5347601
relation P106
type Q12737077
Efraín Recinos do for a living in [ANSWERS]
['Q5347601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5347601 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
painter architect sculptor
Efraín Recinos do for a living in painter, architect and sculptor
painter architect sculptor
action filter_type
action find
entity Efraín Recinos
relation occupation
type occupation
['Efraín Recinos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Efraín_Recinos property:occupation ?m . ?m rdf:type ontology:occupation }
[]