Simple Question (Direct)
Simple Question
Q16026807
P106
Q12737077
USER
What does Alexandre Léon Sébastien Gérard do for a living ?
(Q16026807,P106,c(Q12737077))
action filter_type
action find
entity Q16026807
relation P106
type Q12737077
['Q16026807', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16026807 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Alexandre Léon Sébastien Gérard
action filter_type
action find
entity Alexandre Léon Sébastien Gérard
relation occupation
type occupation
['Alexandre Léon Sébastien Gérard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Alexandre_Léon_Sébastien_Gérard property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16026807,P106,c(Q12737077))
action filter_type
action find
entity Q16026807
relation P106
type Q12737077
[ANSWER] Alexandre Léon Sébastien Gérard does for a living
['Q16026807', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16026807 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
Politician Alexandre Léon Sébastien Gérard does for a living
politician
action filter_type
action find
entity Alexandre Léon Sébastien Gérard
relation occupation
type occupation
['Alexandre Léon Sébastien Gérard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Alexandre_Léon_Sébastien_Gérard property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16026807
P19
Q56061
USER
Where was that person born ?
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q16026807
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q16026807 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Alexandre Léon Sébastien Gérard
action filter_type
action find
entity Alexandre Léon Sébastien Gérard
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alexandre_Léon_Sébastien_Gérard property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q16026807
relation P19
type Q56061
That person was born in [ANSWER]
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q16026807 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Paris
That person was born in Paris
Paris
action filter_type
action find
entity Alexandre Léon Sébastien Gérard
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alexandre_Léon_Sébastien_Gérard property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q90 Q189153 Q1623942
P47
Q20667921
USER
Does that administrative territory have an adjacent border with Saint-Cloud and Vouharte ?
(Q90,P47,Q189153) (Q90,P47,Q1623942)
action is_in
entity Q90
action intersection
action find_reverse
entity Q189153
relation P47
action find_reverse
entity Q1623942
relation P47
['Q90', 'P47', 'Q189153'] ['Q90', 'P47', 'Q1623942']
ASK WHERE { resource:Q90 property:P47 resource:Q189153 . resource:Q90 property:P47 resource:Q1623942 }
Paris Saint-Cloud Vouharte
action is_in
entity Paris
action intersection
action find_reverse
entity Saint-Cloud
relation shares border with
action find_reverse
entity Vouharte
relation shares border with
['Paris', 'shares border with', 'Saint-Cloud'] ['Paris', 'shares border with', 'Vouharte']
ASK WHERE { resource:Paris property:shares_border_with resource:Saint-Cloud . resource:Paris property:shares_border_with resource:Vouharte }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q90,P47,Q189153) (Q90,P47,Q1623942)
action is_in
entity Q90
action intersection
action find_reverse
entity Q189153
relation P47
action find_reverse
entity Q1623942
relation P47
[ANSWER]
['Q90', 'P47', 'Q189153'] ['Q90', 'P47', 'Q1623942']
ASK WHERE { resource:Q90 property:P47 resource:Q189153 . resource:Q90 property:P47 resource:Q1623942 }
YES and NO respectively
action is_in
entity Paris
action intersection
action find_reverse
entity Saint-Cloud
relation shares border with
action find_reverse
entity Vouharte
relation shares border with
['Paris', 'shares border with', 'Saint-Cloud'] ['Paris', 'shares border with', 'Vouharte']
ASK WHERE { resource:Paris property:shares_border_with resource:Saint-Cloud . resource:Paris property:shares_border_with resource:Vouharte }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3591240
P3091
Q3745054 Q502895 Q502895
USER
Which people use more number of horse breeds or people as steed than Éric Levallois ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3591240
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?q ) WHERE { { ?y property:P3091 ?b . ?b rdf:type ontology:Q3745054 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P3091 ?b . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } . resource:Q3591240 property:P3091 ?s } } }
Éric Levallois
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Éric Levallois
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?q ) WHERE { { ?y property:mount ?b . ?b rdf:type ontology:horse_breed . ?y rdf:type ontology:common_name } UNION { ?y property:mount ?b . ?y rdf:type ontology:common_name . ?b rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:horse_breed ) ( ontology:common_name ) } } . resource:Éric_Levallois property:mount ?s } } }
[]
horse breed common name common name
Q724288 Q2120529 Q288267
SYSTEM
Rodrigo Pessoa, Pénélope Leprevost, Éric Navet
Q2120529 Q2057115 Q724288 Q538006 Q288267 Q1538882
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3591240
relation P3091
type Q3745054
type Q502895
[ANSWERS] use more number of horse breeds or people as steed than Éric Levallois
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?q ) WHERE { { ?y property:P3091 ?b . ?b rdf:type ontology:Q3745054 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P3091 ?b . ?y rdf:type ontology:Q502895 . ?b rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } . resource:Q3591240 property:P3091 ?s } } }
Pénélope Leprevost Patrice Delaveau Rodrigo Pessoa Pat Eddery Éric Navet Kevin Staut
Rodrigo Pessoa, Pénélope Leprevost and Éric Navet use more number of horse breeds or people as steed than Éric Levallois
Rodrigo Pessoa Pénélope Leprevost Éric Navet
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Éric Levallois
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?q ) WHERE { { ?y property:mount ?b . ?b rdf:type ontology:horse_breed . ?y rdf:type ontology:common_name } UNION { ?y property:mount ?b . ?y rdf:type ontology:common_name . ?b rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:horse_breed ) ( ontology:common_name ) } } . resource:Éric_Levallois property:mount ?s } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2162566
P3091
Q3745054 Q502895 Q502895
USER
And also tell me about Ryan Moore?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q2162566
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q2162566 property:P3091 ?o . { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?o rdf:type ?z } } } . FILTER ( ?y > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?y ) WHERE { { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q3745054 . ?n property:P3091 ?c } UNION { ?n property:P3091 ?c . ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q502895 } } GROUP BY ?n } }
Ryan Moore
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Ryan Moore
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Ryan_Moore property:mount ?o . { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?o rdf:type ?z } } } . FILTER ( ?y > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?y ) WHERE { { ?n rdf:type ontology:common_name . ?c rdf:type ontology:horse_breed . ?n property:mount ?c } UNION { ?n property:mount ?c . ?n rdf:type ontology:common_name . ?c rdf:type ontology:common_name } } GROUP BY ?n } }
[]
horse breed common name common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
Q2831786 Q2120529 Q2964761 Q2643622 Q69084 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q527657 Q364671 Q235022 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q724288 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q538006 Q8409 Q2831635 Q952736 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q2287454 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q60968 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1277320 Q6369922 Q1985582 Q1342822 Q76246 Q1691413 Q288267 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q1343527 Q690536 Q175930 Q43958 Q3428878 Q673136 Q886901 Q1261810 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q2162566
relation P3091
type Q3745054
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q2162566 property:P3091 ?o . { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?o rdf:type ?z } } } . FILTER ( ?y > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?y ) WHERE { { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q3745054 . ?n property:P3091 ?c } UNION { ?n property:P3091 ?c . ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q502895 } } GROUP BY ?n } }
Alberto Larraguibel Pénélope Leprevost Chris Kappler Alexandra Ledermann Paul Schockemöhle Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Margit Otto-Crépin Jean Teulère Anky van Grunsven Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Rodrigo Pessoa Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Pat Eddery Alexander the Great Albert Voorn Nelson Pessoa Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton William Fox-Pitt Marcus Ehning Joseph Fargis Éric Navet Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Karin Rehbein Pius Schwizer Ian Millar El Cid Reynald Angot Steve Guerdat Blyth Tait Eddie Macken Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Ryan Moore
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Ryan_Moore property:mount ?o . { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?o rdf:type ?z } } } . FILTER ( ?y > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?y ) WHERE { { ?n rdf:type ontology:common_name . ?c rdf:type ontology:horse_breed . ?n property:mount ?c } UNION { ?n property:mount ?c . ?n rdf:type ontology:common_name . ?c rdf:type ontology:common_name } } GROUP BY ?n } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3215942 Q3591240
P27
Q15617994
USER
Which administrative territories are Éric Levallois and Władysław Folkierski an inhabitant of ?
AND((Q3591240,P27,c(Q15617994)), (Q3215942,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3591240
relation P27
action find
entity Q3215942
relation P27
type Q15617994
{'AND': [['Q3591240', 'P27', {'concept': 'Q15617994'}], ['Q3215942', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q3591240 property:P27 ?k . resource:Q3215942 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Władysław Folkierski Éric Levallois
action filter_type
action intersection
action find
entity Éric Levallois
relation country of citizenship
action find
entity Władysław Folkierski
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Éric Levallois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Władysław Folkierski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Éric_Levallois property:country_of_citizenship ?k . resource:Władysław_Folkierski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q3591240,P27,c(Q15617994)), (Q3215942,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3591240
relation P27
action find
entity Q3215942
relation P27
type Q15617994
[ANSWER] is Éric Levallois and Władysław Folkierski an inhabitant of
{'AND': [['Q3591240', 'P27', {'concept': 'Q15617994'}], ['Q3215942', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q3591240 property:P27 ?k . resource:Q3215942 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
France
France is Éric Levallois and Władysław Folkierski an inhabitant of
France
action filter_type
action intersection
action find
entity Éric Levallois
relation country of citizenship
action find
entity Władysław Folkierski
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Éric Levallois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Władysław Folkierski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Éric_Levallois property:country_of_citizenship ?k . resource:Władysław_Folkierski property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3320889
P27
Q502895
USER
Is Monique Mosser a citizen of that administrative territory ?
(Q3320889,P27,Q142)
action is_in
entity Q142
action find
entity Q3320889
relation P27
['Q3320889', 'P27', 'Q142']
ASK WHERE { resource:Q3320889 property:P27 resource:Q142 }
France Monique Mosser
action is_in
entity France
action find
entity Monique Mosser
relation country of citizenship
['Monique Mosser', 'country of citizenship', 'France']
ASK WHERE { resource:Monique_Mosser property:country_of_citizenship resource:France }
[]
common name
SYSTEM
YES
(Q3320889,P27,Q142)
action is_in
entity Q142
action find
entity Q3320889
relation P27
[ANSWER]
['Q3320889', 'P27', 'Q142']
ASK WHERE { resource:Q3320889 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Monique Mosser
relation country of citizenship
['Monique Mosser', 'country of citizenship', 'France']
ASK WHERE { resource:Monique_Mosser property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 110 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 110
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { FILTER ( ?p = 110 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?d property:P530 ?o . ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?d } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 110
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { FILTER ( ?p = 110 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?d property:diplomatic_relation ?o . ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 110
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { FILTER ( ?p = 110 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?d property:P530 ?o . ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?d } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 110
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { FILTER ( ?p = 110 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?d property:diplomatic_relation ?o . ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1131632 Q3320889
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Monique Mosser or are Tussaaq Island situated in ?
OR((Q3320889,P27,c(Q15617994)), (Q1131632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3320889
relation P27
action find
entity Q1131632
relation P17
type Q15617994
{'OR': [['Q3320889', 'P27', {'concept': 'Q15617994'}], ['Q1131632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3320889 property:P27 ?f } UNION { resource:Q1131632 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Tussaaq Island Monique Mosser
action filter_type
action union
action find
entity Monique Mosser
relation country of citizenship
action find
entity Tussaaq Island
relation country
type designation for an administrative territorial entity
{'OR': [['Monique Mosser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tussaaq Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Monique_Mosser property:country_of_citizenship ?f } UNION { resource:Tussaaq_Island property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q223
SYSTEM
France, Greenland
Q142 Q223
OR((Q3320889,P27,c(Q15617994)), (Q1131632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3320889
relation P27
action find
entity Q1131632
relation P17
type Q15617994
[ANSWERS] are the native countriesof Monique Mosser or are Tussaaq Island situated in
{'OR': [['Q3320889', 'P27', {'concept': 'Q15617994'}], ['Q1131632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3320889 property:P27 ?f } UNION { resource:Q1131632 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
France Greenland
France and Greenland are the native countriesof Monique Mosser or are Tussaaq Island situated in
France Greenland
action filter_type
action union
action find
entity Monique Mosser
relation country of citizenship
action find
entity Tussaaq Island
relation country
type designation for an administrative territorial entity
{'OR': [['Monique Mosser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tussaaq Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Monique_Mosser property:country_of_citizenship ?f } UNION { resource:Tussaaq_Island property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20987252 Q16026807
P27
Q15617994
USER
Which administrative territories do Alexandre Léon Sébastien Gérard or Ditte Marie Bræin belong to ?
OR((Q16026807,P27,c(Q15617994)), (Q20987252,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16026807
relation P27
action find
entity Q20987252
relation P27
type Q15617994
{'OR': [['Q16026807', 'P27', {'concept': 'Q15617994'}], ['Q20987252', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16026807 property:P27 ?t } UNION { resource:Q20987252 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Ditte Marie Bræin Alexandre Léon Sébastien Gérard
action filter_type
action union
action find
entity Alexandre Léon Sébastien Gérard
relation country of citizenship
action find
entity Ditte Marie Bræin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alexandre Léon Sébastien Gérard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ditte Marie Bræin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Alexandre_Léon_Sébastien_Gérard property:country_of_citizenship ?t } UNION { resource:Ditte_Marie_Bræin property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q20
SYSTEM
France, Norway
Q142 Q20
OR((Q16026807,P27,c(Q15617994)), (Q20987252,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16026807
relation P27
action find
entity Q20987252
relation P27
type Q15617994
[ANSWERS] Alexandre Léon Sébastien Gérard or Ditte Marie Bræin belong to
{'OR': [['Q16026807', 'P27', {'concept': 'Q15617994'}], ['Q20987252', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16026807 property:P27 ?t } UNION { resource:Q20987252 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
France Norway
France and Norway Alexandre Léon Sébastien Gérard or Ditte Marie Bræin belong to
France Norway
action filter_type
action union
action find
entity Alexandre Léon Sébastien Gérard
relation country of citizenship
action find
entity Ditte Marie Bræin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alexandre Léon Sébastien Gérard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ditte Marie Bræin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Alexandre_Léon_Sébastien_Gérard property:country_of_citizenship ?t } UNION { resource:Ditte_Marie_Bræin property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]