Simple Question (Direct)
Simple Question
Q7126561
P20
Q56061
USER
Where did Jacqueline Mesnil-Amar expire ?
(Q7126561,P20,c(Q56061))
action filter_type
action find
entity Q7126561
relation P20
type Q56061
['Q7126561', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7126561 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Jacqueline Mesnil-Amar
action filter_type
action find
entity Jacqueline Mesnil-Amar
relation place of death
type administrative territorial entity
['Jacqueline Mesnil-Amar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jacqueline_Mesnil-Amar property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q7126561,P20,c(Q56061))
action filter_type
action find
entity Q7126561
relation P20
type Q56061
Jacqueline Mesnil-Amar expired [ANSWER]
['Q7126561', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7126561 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Paris
Jacqueline Mesnil-Amar expired Paris
Paris
action filter_type
action find
entity Jacqueline Mesnil-Amar
relation place of death
type administrative territorial entity
['Jacqueline Mesnil-Amar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jacqueline_Mesnil-Amar property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7126561
P19
Q56061
USER
Which administrative territory is the birthplace of Jacqueline Mesnil-Amar ?
(Q7126561,P19,c(Q56061))
action filter_type
action find
entity Q7126561
relation P19
type Q56061
['Q7126561', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7126561 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Jacqueline Mesnil-Amar
action filter_type
action find
entity Jacqueline Mesnil-Amar
relation place of birth
type administrative territorial entity
['Jacqueline Mesnil-Amar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jacqueline_Mesnil-Amar property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q7126561,P19,c(Q56061))
action filter_type
action find
entity Q7126561
relation P19
type Q56061
[ANSWER] is the birthplace of Jacqueline Mesnil-Amar
['Q7126561', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7126561 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Paris
Paris is the birthplace of Jacqueline Mesnil-Amar
Paris
action filter_type
action find
entity Jacqueline Mesnil-Amar
relation place of birth
type administrative territorial entity
['Jacqueline Mesnil-Amar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jacqueline_Mesnil-Amar property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P159
Q874405 Q18127
USER
How many social groups and record labels have HQ at that administrative territory ?
(c(Q874405),P159,Q90) (c(Q18127),P159,Q90) (c(Q874405),P159,Q90) (c(Q18127),P159,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P159
type Q874405
action filter_type
action find_reverse
entity Q90
relation P159
type Q18127
[{'concept': 'Q874405'}, 'P159', 'Q90'] [{'concept': 'Q18127'}, 'P159', 'Q90'] [{'concept': 'Q874405'}, 'P159', 'Q90'] [{'concept': 'Q18127'}, 'P159', 'Q90']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q874405 ) ( ontology:Q18127 ) } }
action count
action union
action filter_type
action find_reverse
entity Paris
relation headquarters location
type social group
action filter_type
action find_reverse
entity Paris
relation headquarters location
type record label
[{'concept': 'social group'}, 'headquarters location', 'Paris'] [{'concept': 'record label'}, 'headquarters location', 'Paris'] [{'concept': 'social group'}, 'headquarters location', 'Paris'] [{'concept': 'record label'}, 'headquarters location', 'Paris']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:social_group ) ( ontology:record_label ) } }
[]
social group record label
SYSTEM
57 social groups and 1 record labels
Q3051455 Q4671615 Q2837088 Q3092576 Q26197123 Q1316779 Q2819293 Q3278594 Q477386 Q1162908 Q1063152 Q17087763 Q26037303 Q3091456 Q2922257 Q1328200 Q20731568 Q64000 Q3487788 Q15912931 Q770849 Q653054 Q3232649 Q1898746 Q2858967 Q848633 Q2867603 Q7552568 Q5133455 Q6867 Q2946517 Q2961217 Q31165 Q3083531 Q379901 Q3520621 Q2861298 Q290195 Q17144624 Q3438623 Q2623410 Q2297128 Q691748 Q1747944 Q7132697 Q655810 Q3550282 Q2943817 Q590548 Q3072288 Q44224 Q3128309 Q2867770 Q2840710 Q2379528 Q3091942 Q24970318 Q19899702
(c(Q874405),P159,Q90) (c(Q18127),P159,Q90) (c(Q874405),P159,Q90) (c(Q18127),P159,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P159
type Q874405
action filter_type
action find_reverse
entity Q90
relation P159
type Q18127
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q90'] [{'concept': 'Q18127'}, 'P159', 'Q90'] [{'concept': 'Q874405'}, 'P159', 'Q90'] [{'concept': 'Q18127'}, 'P159', 'Q90']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q874405 ) ( ontology:Q18127 ) } }
Elles Bougent Académie Diplomatique Internationale Société Chimique de France Félix Potin Network of the Presidents of the Supreme Judicial Courts of the European Union S.T. Dupont ANF Arthus-Bertrand EADS Astrium Space Transportation TDF Group Chargeurs International Council for Scientific and Technical Information BELC Fédération Bancaire Française Bourbon La Maison du Chocolat ACHAC FEMEN Society of Anthropology of Paris Société Française de Génie des Procédés Société Notre-Dame de Montréal International Council of Museums Les Films du Carrosse Mozilla Europe April International Chamber of Commerce Association des professionnels navigants de l'aviation Society of Mutual Autopsy Climate and Clean Air Coalition to Reduce Short-Lived Climate Pollutants International Astronomical Union Cercle des économistes Union nationale des industries de carrières et matériaux de construction AlloCiné Groupama Aviation Without Borders The Different Company Arion Sonopresse CRNHs Roger & Gallet Aldebaran Robotics Société de Géographie Assystem Syndicat des transports d'Île-de-France Paper for All Alliance française UFC Que Choisir Cegereal Société française de photographie FIMALAC Ellipse Programmé Hatier Association française pour l'information scientifique Ales Groupe Série noire International Federation of Agricultural Producers Taipei Representative Office in France GREF
57 social groups and 1 record labels
action count
action union
action filter_type
action find_reverse
entity Paris
relation headquarters location
type social group
action filter_type
action find_reverse
entity Paris
relation headquarters location
type record label
[{'concept': 'social group'}, 'headquarters location', 'Paris'] [{'concept': 'record label'}, 'headquarters location', 'Paris'] [{'concept': 'social group'}, 'headquarters location', 'Paris'] [{'concept': 'record label'}, 'headquarters location', 'Paris']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:social_group ) ( ontology:record_label ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q83620 Q34442
USER
Which administrative territories are the destinations of approximately 10 thoroughfares or roads ?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 10
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?q } . FILTER ( ?c = 10 ) }
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 10
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?q } . FILTER ( ?c = 10 ) }
[]
administrative territorial entity thoroughfare road
Q956 Q727 Q1085
SYSTEM
Beijing, Amsterdam, Prague
Q956 Q727 Q1085
(c(Q83620)|c(Q34442),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 10
[ANSWERS] are the destinations of approximately 10 thoroughfares or roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?q } . FILTER ( ?c = 10 ) }
Beijing Amsterdam Prague
Beijing, Amsterdam and Prague are the destinations of approximately 10 thoroughfares or roads
Beijing Amsterdam Prague
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 10
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?q } . FILTER ( ?c = 10 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q567739
P190
Q56061
USER
Are Pärivere twin city of those ones ?
(Q567739,P190,Q956) (Q567739,P190,Q727) (Q567739,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q567739
relation P190
['Q567739', 'P190', 'Q956'] ['Q567739', 'P190', 'Q727'] ['Q567739', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?g ) { ( resource:Q956 ) ( resource:Q727 ) ( resource:Q1085 ) } . resource:Q567739 property:P190 ?g }
Pärivere
action is_in
entity prev_answer
action find
entity Pärivere
relation sister city
['Pärivere', 'sister city', 'Beijing'] ['Pärivere', 'sister city', 'Amsterdam'] ['Pärivere', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?g ) { ( resource:Beijing ) ( resource:Amsterdam ) ( resource:Prague ) } . resource:Pärivere property:sister_city ?g }
[]
administrative territorial entity
SYSTEM
NO
(Q567739,P190,Q956) (Q567739,P190,Q727) (Q567739,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q567739
relation P190
[ANSWER]
['Q567739', 'P190', 'Q956'] ['Q567739', 'P190', 'Q727'] ['Q567739', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?g ) { ( resource:Q956 ) ( resource:Q727 ) ( resource:Q1085 ) } . resource:Q567739 property:P190 ?g }
No
action is_in
entity prev_answer
action find
entity Pärivere
relation sister city
['Pärivere', 'sister city', 'Beijing'] ['Pärivere', 'sister city', 'Amsterdam'] ['Pärivere', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?g ) { ( resource:Beijing ) ( resource:Amsterdam ) ( resource:Prague ) } . resource:Pärivere property:sister_city ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23657260 Q1085
P190 P20
Q515
USER
Which cities are sister towns of Prague or did the expiration of Georges Saglio occur ?
OR((Q1085,P190,c(Q515)), (Q23657260,P20,c(Q515)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q23657260
relation P20
type Q515
{'OR': [['Q1085', 'P190', {'concept': 'Q515'}], ['Q23657260', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . { { resource:Q1085 property:P190 ?y } UNION { resource:Q23657260 property:P20 ?y } } }
Georges Saglio Prague
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Georges Saglio
relation place of death
type city
{'OR': [['Prague', 'sister city', {'concept': 'city'}], ['Georges Saglio', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . { { resource:Prague property:sister_city ?y } UNION { resource:Georges_Saglio property:place_of_death ?y } } }
[]
city
Q3572 Q1794 Q456 Q19689 Q1486 Q3936 Q9005
SYSTEM
Tunis, Frankfurt, Lyon, Tirana, Buenos Aires, Bamberg, Brussels
Q3572 Q1794 Q456 Q19689 Q1486 Q3936 Q9005
OR((Q1085,P190,c(Q515)), (Q23657260,P20,c(Q515)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q23657260
relation P20
type Q515
[ANSWERS] are sister towns of Prague or did the expiration of Georges Saglio occur
{'OR': [['Q1085', 'P190', {'concept': 'Q515'}], ['Q23657260', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . { { resource:Q1085 property:P190 ?y } UNION { resource:Q23657260 property:P20 ?y } } }
Tunis Frankfurt Lyon Tirana Buenos Aires Bamberg Brussels
Tunis, Frankfurt, Lyon, Tirana, Buenos Aires, Bamberg and Brussels are sister towns of Prague or did the expiration of Georges Saglio occur
Tunis Frankfurt Lyon Tirana Buenos Aires Bamberg Brussels
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Georges Saglio
relation place of death
type city
{'OR': [['Prague', 'sister city', {'concept': 'city'}], ['Georges Saglio', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . { { resource:Prague property:sister_city ?y } UNION { resource:Georges_Saglio property:place_of_death ?y } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1794
P17
Q484652 Q7275
USER
How many international organizations or states are Frankfurt situated in ?
(Q1794,P17,c(Q484652)) (Q1794,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q1794
relation P17
type Q484652
action filter_type
action find
entity Q1794
relation P17
type Q7275
['Q1794', 'P17', {'concept': 'Q484652'}] ['Q1794', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q484652 ) ( ontology:Q7275 ) } . ?y rdf:type ?q }
Frankfurt
action count
action union
action filter_type
action find
entity Frankfurt
relation country
type international organization
action filter_type
action find
entity Frankfurt
relation country
type state
['Frankfurt', 'country', {'concept': 'international organization'}] ['Frankfurt', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:international_organization ) ( ontology:state ) } . ?y rdf:type ?q }
[]
international organization state
SYSTEM
6
Q713750 Q27306 Q12548 Q41304 Q7318 Q151624
(Q1794,P17,c(Q484652)) (Q1794,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q1794
relation P17
type Q484652
action filter_type
action find
entity Q1794
relation P17
type Q7275
[ANSWER]
['Q1794', 'P17', {'concept': 'Q484652'}] ['Q1794', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q484652 ) ( ontology:Q7275 ) } . ?y rdf:type ?q }
West Germany Kingdom of Prussia Holy Roman Empire Weimar Republic Nazi Germany German Confederation
6
action count
action union
action filter_type
action find
entity Frankfurt
relation country
type international organization
action filter_type
action find
entity Frankfurt
relation country
type state
['Frankfurt', 'country', {'concept': 'international organization'}] ['Frankfurt', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:international_organization ) ( ontology:state ) } . ?y rdf:type ?q }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q571
USER
Which administrative territories are the locations of publication of around 41 periodical literatures and books ?
(c(Q1002697)|c(Q571),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 41
[[{'concept': 'Q1002697'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?z WHERE { { ?k property:P291 ?z . ?k rdf:type ontology:Q1002697 . ?z rdf:type ontology:Q56061 } UNION { ?k property:P291 ?z . ?z rdf:type ontology:Q56061 . ?k rdf:type ontology:Q571 } } GROUP BY ?z } . FILTER ( ?i = 41 ) }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 41
[[{'concept': 'periodical literature'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?z WHERE { { ?k property:place_of_publication ?z . ?k rdf:type ontology:periodical_literature . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?k property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:book } } GROUP BY ?z } . FILTER ( ?i = 41 ) }
[]
administrative territorial entity periodical literature book
Q8717 Q649 Q1085
SYSTEM
Seville, Moscow, Prague
Q8717 Q649 Q1085
(c(Q1002697)|c(Q571),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 41
[ANSWERS] are the locations of publication of around 41 periodical literatures and books
[[{'concept': 'Q1002697'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?z WHERE { { ?k property:P291 ?z . ?k rdf:type ontology:Q1002697 . ?z rdf:type ontology:Q56061 } UNION { ?k property:P291 ?z . ?z rdf:type ontology:Q56061 . ?k rdf:type ontology:Q571 } } GROUP BY ?z } . FILTER ( ?i = 41 ) }
Seville Moscow Prague
Seville, Moscow and Prague are the locations of publication of around 41 periodical literatures and books
Seville Moscow Prague
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 41
[[{'concept': 'periodical literature'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?z WHERE { { ?k property:place_of_publication ?z . ?k rdf:type ontology:periodical_literature . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?k property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:book } } GROUP BY ?z } . FILTER ( ?i = 41 ) }
[]