Simple Question (Direct)
Simple Question
Q3165423
P734
Q82799
USER
Who is associated with Jean-François Adam ?
(Q3165423,P734,c(Q82799))
action filter_type
action find
entity Q3165423
relation P734
type Q82799
['Q3165423', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3165423 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Jean-François Adam
action filter_type
action find
entity Jean-François Adam
relation family name
type name
['Jean-François Adam', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Jean-François_Adam property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q10379699
SYSTEM
Adam
Q10379699
(Q3165423,P734,c(Q82799))
action filter_type
action find
entity Q3165423
relation P734
type Q82799
[ANSWER] is associated with Jean-François [ANSWER]
['Q3165423', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3165423 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Adam
Adam is associated with Jean-François Adam
Adam
action filter_type
action find
entity Jean-François Adam
relation family name
type name
['Jean-François Adam', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Jean-François_Adam property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3165423
P26
Q502895
USER
Which person is married to that one ?
(Q10379699,P26,c(Q502895))
action filter_type
action find
entity Q3165423
relation P26
type Q502895
['Q10379699', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q3165423 property:P26 ?w }
Jean-François Adam
action filter_type
action find
entity Jean-François Adam
relation spouse
type common name
['Adam', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Jean-François_Adam property:spouse ?w }
[]
common name
Q291765
SYSTEM
Brigitte Fossey
Q291765
(Q10379699,P26,c(Q502895))
action filter_type
action find
entity Q3165423
relation P26
type Q502895
[ANSWER] is married to that one
['Q10379699', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q3165423 property:P26 ?w }
Brigitte Fossey
Brigitte Fossey is married to that one
Brigitte Fossey
action filter_type
action find
entity Jean-François Adam
relation spouse
type common name
['Adam', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Jean-François_Adam property:spouse ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q537389
P725
Q502895 Q166142
USER
How many applications did lesser number of people dub for than Soul Eater ?
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q537389
relation P725
type Q502895
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?y ) WHERE { ?o property:P725 ?v . ?o rdf:type ontology:Q166142 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q537389 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?y < ?i ) }
Soul Eater
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?y ) WHERE { ?o property:voice_actor ?v . ?o rdf:type ontology:application . ?v rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Soul_Eater property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?y < ?i ) }
[]
common name application
SYSTEM
72
Q5319170 Q602979 Q1371495 Q1065670 Q8059682 Q7379808 Q3546883 Q7379806 Q6902732 Q3274352 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q1302197 Q1141572 Q2887359 Q840449 Q338486 Q483103 Q239288 Q756856 Q14785138 Q3823700 Q2819427 Q2525598 Q3992270 Q1068256 Q1037042 Q1801455 Q699815 Q6133492 Q1868703 Q483120 Q2627892 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q5944170 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q1347470 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q537389
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?y ) WHERE { ?o property:P725 ?v . ?o rdf:type ontology:Q166142 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q537389 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?y < ?i ) }
Dynasty Warriors 8 Tokyo Majin System Shock 2 Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Poyopoyo Kansatsu Nikki Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Princess Lover! Miracle Girls God Eater 2 Kenran Butohsai Street Fighter X Tekken Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Gakuen Utopia Manabi Straight! Hitman 2: Silent Assassin Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Lollipop Chainsaw Nichijou Tales of Innocence Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Nora to Toki no Kōbō: Kiri no Mori no Majo A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera 11eyes: Tsumi to Batsu to Aganai no Shōjo Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Fate/Extra
72
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?y ) WHERE { ?o property:voice_actor ?v . ?o rdf:type ontology:application . ?v rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Soul_Eater property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?y < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q291765
P161
Q838948
USER
Which works of art do Brigitte Fossey star in ?
(c(Q838948),P161,Q291765)
action filter_type
action find_reverse
entity Q291765
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q291765']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q291765 }
Brigitte Fossey
action filter_type
action find_reverse
entity Brigitte Fossey
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Brigitte Fossey']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Brigitte_Fossey }
[]
work of art
Q2936406 Q2934333 Q177203
SYSTEM
Cannes, 60 ans d'histoire, Calmos, La Boum
Q3232394 Q1211174 Q3212502 Q6466064 Q1343120 Q3548324 Q317062 Q12138069 Q1876361 Q1663598 Q2870419 Q3419543 Q976558 Q16838029 Q177203 Q2936406 Q3204073 Q2934333 Q2353527 Q3223264 Q1199716 Q1195396 Q464032 Q652114 Q814617 Q17640245
(c(Q838948),P161,Q291765)
action filter_type
action find_reverse
entity Q291765
relation P161
type Q838948
Brigitte Fossey star at [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q291765']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q291765 }
Les Enfants du placard Going Places The Happy Road La corda d'acciaio Enigma A Strange Passion The Glass Cell Mais où et donc Ornicar Chanel Solitaire Quintet For Those I Loved Raphael, or The Debauched One Forbidden Games The Future of Emily La Boum Cannes, 60 ans d'histoire Imperative Calmos The Good and the Bad The Wanderer A Bad Son The Man Who Loved Women Cinema Paradiso La Boum 2 Adieu l'ami A Vampire in Paradise
Brigitte Fossey star at Cannes, 60 ans d'histoire, Calmos and La Boum
Cannes, 60 ans d'histoire Calmos La Boum
action filter_type
action find_reverse
entity Brigitte Fossey
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Brigitte Fossey']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Brigitte_Fossey }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2934333
P344
Q502895
USER
Which person serves as the director of photography for that work of art ?
(Q2934333,P344,c(Q502895))
action filter_type
action find
entity Q2934333
relation P344
type Q502895
['Q2934333', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2934333 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Calmos
action filter_type
action find
entity Calmos
relation director of photography
type common name
['Calmos', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Calmos property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2934333
SYSTEM
Did you mean Calmos ?
Q2936406 Q2934333 Q177203
(Q2936406,P344,c(Q502895)) (Q2934333,P344,c(Q502895)) (Q177203,P344,c(Q502895))
[ANSWER]
['Q2936406', 'P344', {'concept': 'Q502895'}] ['Q2934333', 'P344', {'concept': 'Q502895'}] ['Q177203', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2934333 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Cannes, 60 ans d'histoire Calmos La Boum
Did you mean Calmos ?
Calmos
["Cannes, 60 ans d'histoire", 'director of photography', {'concept': 'common name'}] ['Calmos', 'director of photography', {'concept': 'common name'}] ['La Boum', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Calmos property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2934333,P344,c(Q502895))
['Q2934333', 'P344', {'concept': 'Q502895'}]
['Calmos', 'director of photography', {'concept': 'common name'}]
[]
Q719916
SYSTEM
Claude Renoir
Q719916
(Q2934333,P344,c(Q502895))
action filter_type
action find
entity Q2934333
relation P344
type Q502895
[ANSWER] serves as the director of photography for that work of art
['Q2934333', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2934333 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Claude Renoir
Claude Renoir serves as the director of photography for that work of art
Claude Renoir
action filter_type
action find
entity Calmos
relation director of photography
type common name
['Calmos', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Calmos property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q719916 Q5852873
P19
Q56061
USER
Was that person born in Shahrak-e Sunk ?
(Q719916,P19,Q5852873)
action is_in
entity Q5852873
action find
entity Q719916
relation P19
['Q719916', 'P19', 'Q5852873']
ASK WHERE { resource:Q719916 property:P19 resource:Q5852873 }
Claude Renoir Shahrak-e Sunk
action is_in
entity Shahrak-e Sunk
action find
entity Claude Renoir
relation place of birth
['Claude Renoir', 'place of birth', 'Shahrak-e Sunk']
ASK WHERE { resource:Claude_Renoir property:place_of_birth resource:Shahrak-e_Sunk }
[]
administrative territorial entity
SYSTEM
NO
(Q719916,P19,Q5852873)
action is_in
entity Q5852873
action find
entity Q719916
relation P19
[ANSWER]
['Q719916', 'P19', 'Q5852873']
ASK WHERE { resource:Q719916 property:P19 resource:Q5852873 }
No
action is_in
entity Shahrak-e Sunk
action find
entity Claude Renoir
relation place of birth
['Claude Renoir', 'place of birth', 'Shahrak-e Sunk']
ASK WHERE { resource:Claude_Renoir property:place_of_birth resource:Shahrak-e_Sunk }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q719916
P25
Q502895
USER
Who was the mother of that one ?
action filter_type
action find
entity Q719916
relation P25
type Q502895
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q719916 property:P25 ?g }
Claude Renoir
action filter_type
action find
entity Claude Renoir
relation mother
type common name
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Claude_Renoir property:mother ?g }
[]
common name
Q3564208
SYSTEM
Véra Sergine
Q3564208
action filter_type
action find
entity Q719916
relation P25
type Q502895
The mother of that one was the [ANSWER]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q719916 property:P25 ?g }
Véra Sergine
The mother of that one was the Véra Sergine
Véra Sergine
action filter_type
action find
entity Claude Renoir
relation mother
type common name
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Claude_Renoir property:mother ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q719916
P344
Q838948
USER
Which works of art have Claude Renoir as cinematographer ?
(c(Q838948),P344,Q719916)
action filter_type
action find_reverse
entity Q719916
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q719916']
SELECT DISTINCT ?t WHERE { ?t property:P344 resource:Q719916 . ?t rdf:type ontology:Q838948 }
Claude Renoir
action filter_type
action find_reverse
entity Claude Renoir
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Claude Renoir']
SELECT DISTINCT ?t WHERE { ?t property:director_of_photography resource:Claude_Renoir . ?t rdf:type ontology:work_of_art }
[]
work of art
Q320423 Q1452426 Q487789
SYSTEM
The Spy Who Loved Me, Elena and Her Men, La Grande Vadrouille
Q1638303 Q3214249 Q1211929 Q876259 Q320423 Q1196339 Q3842274 Q1198532 Q1631673 Q2088522 Q18415 Q1452426 Q3425262 Q3227788 Q1517084 Q994421 Q970014 Q3925355 Q3549824 Q1322784 Q2569565 Q3235828 Q2303888 Q3204218 Q2641812 Q3231505 Q2934333 Q3222190 Q3427400 Q2421355 Q603444 Q41132 Q487789 Q1306481 Q475286 Q3149359 Q2275081 Q3518562 Q2250323 Q2870030 Q3235772 Q919673 Q3033521 Q17640263 Q639795 Q7749059 Q38561 Q1137844 Q3033507 Q3129920 Q753122 Q3549474
(c(Q838948),P344,Q719916)
action filter_type
action find_reverse
entity Q719916
relation P344
type Q838948
The Spy Who loved Me, Elena and Her Men and La Grande Vadrouille have Claude Renoir as cinematographer
[{'concept': 'Q838948'}, 'P344', 'Q719916']
SELECT DISTINCT ?t WHERE { ?t property:P344 resource:Q719916 . ?t rdf:type ontology:Q838948 }
Marco the Magnificent Life Belongs to Us The Lady in the Car with Glasses and a Gun The Crucible The Spy Who Loved Me La Zizanie Maddalena The Green Glove Monsieur Vincent The Adventurers Spirits of the Dead Elena and Her Men Rendezvous in July Gunman in the Streets The Medic L'aile ou la cuisse Paul and Michelle Puccini One Life French Connection II Blood and Roses Young Sinners The Mystery of Picasso The Unvanquished The Burglars The Royalists Calmos Le Dernier Tournant Honeymoon Night Flight from Moscow Born of Unknown Father Barbarella La Grande Vadrouille Partie de campagne Animal Dilemma of Two Angels Paris When It Sizzles Wasteland The Golden Coach Attention Les Tortillards The River Doctor Laennec A Missionary Toni The Lovers of Teruel The Madwoman of Chaillot Alice in Wonderland Docteur Françoise Gailland Hellé The Married Couple of the Year Two Une femme fidèle
The Spy Who loved Me, Elena and Her Men and La Grande Vadrouille have Claude Renoir as cinematographer
The Spy Who Loved Me Elena and Her Men La Grande Vadrouille
action filter_type
action find_reverse
entity Claude Renoir
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Claude Renoir']
SELECT DISTINCT ?t WHERE { ?t property:director_of_photography resource:Claude_Renoir . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q719916
P40
Q502895
USER
Which people are children of that one ?
(Q320423,P40,c(Q502895)) (Q1452426,P40,c(Q502895)) (Q487789,P40,c(Q502895))
action filter_type
action find
entity Q719916
relation P40
type Q502895
['Q320423', 'P40', {'concept': 'Q502895'}] ['Q1452426', 'P40', {'concept': 'Q502895'}] ['Q487789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q719916 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Claude Renoir
action filter_type
action find
entity Claude Renoir
relation child
type common name
['The Spy Who Loved Me', 'child', {'concept': 'common name'}] ['Elena and Her Men', 'child', {'concept': 'common name'}] ['La Grande Vadrouille', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Renoir property:child ?t . ?t rdf:type ontology:common_name }
[]
common name
Q3159856 Q3491028
SYSTEM
Jacques Renoir, Sophie Renoir
Q3159856 Q3491028
(Q320423,P40,c(Q502895)) (Q1452426,P40,c(Q502895)) (Q487789,P40,c(Q502895))
action filter_type
action find
entity Q719916
relation P40
type Q502895
[ANSWERS] are children of that one
['Q320423', 'P40', {'concept': 'Q502895'}] ['Q1452426', 'P40', {'concept': 'Q502895'}] ['Q487789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q719916 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Jacques Renoir Sophie Renoir
Jacques Renoir and Sophie Renoir are children of that one
Jacques Renoir Sophie Renoir
action filter_type
action find
entity Claude Renoir
relation child
type common name
['The Spy Who Loved Me', 'child', {'concept': 'common name'}] ['Elena and Her Men', 'child', {'concept': 'common name'}] ['La Grande Vadrouille', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Renoir property:child ?t . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20088153 Q291765
P27 P17
Q15617994
USER
Which administrative territories do Brigitte Fossey belong to or are Dob pri Mirni Prison a part of ?
OR((Q291765,P27,c(Q15617994)), (Q20088153,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q291765
relation P27
action find
entity Q20088153
relation P17
type Q15617994
{'OR': [['Q291765', 'P27', {'concept': 'Q15617994'}], ['Q20088153', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20088153 property:P17 ?j } UNION { resource:Q291765 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Dob pri Mirni Prison Brigitte Fossey
action filter_type
action union
action find
entity Brigitte Fossey
relation country of citizenship
action find
entity Dob pri Mirni Prison
relation country
type designation for an administrative territorial entity
{'OR': [['Brigitte Fossey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dob pri Mirni Prison', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Dob_pri_Mirni_Prison property:country ?j } UNION { resource:Brigitte_Fossey property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q215
SYSTEM
France, Slovenia
Q142 Q215
OR((Q291765,P27,c(Q15617994)), (Q20088153,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q291765
relation P27
action find
entity Q20088153
relation P17
type Q15617994
Brigitte Fossey belong to or are Dob pri Mirni Prison in [ANSWERS] a part of
{'OR': [['Q291765', 'P27', {'concept': 'Q15617994'}], ['Q20088153', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20088153 property:P17 ?j } UNION { resource:Q291765 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
France Slovenia
Brigitte Fossey belong to or are Dob pri Mirni Prison in France and Slovenia a part of
France Slovenia
action filter_type
action union
action find
entity Brigitte Fossey
relation country of citizenship
action find
entity Dob pri Mirni Prison
relation country
type designation for an administrative territorial entity
{'OR': [['Brigitte Fossey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dob pri Mirni Prison', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Dob_pri_Mirni_Prison property:country ?j } UNION { resource:Brigitte_Fossey property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q320423
P840
Q56061 Q7275
USER
How many administrative territories or states are The Spy Who Loved Me set in ?
(Q320423,P840,c(Q56061)) (Q320423,P840,c(Q7275))
action count
action union
action filter_type
action find
entity Q320423
relation P840
type Q56061
action filter_type
action find
entity Q320423
relation P840
type Q7275
['Q320423', 'P840', {'concept': 'Q56061'}] ['Q320423', 'P840', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?u rdf:type ?v }
The Spy Who Loved Me
action count
action union
action filter_type
action find
entity The Spy Who Loved Me
relation narrative location
type administrative territorial entity
action filter_type
action find
entity The Spy Who Loved Me
relation narrative location
type state
['The Spy Who Loved Me', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Spy Who Loved Me', 'narrative location', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?u rdf:type ?v }
[]
administrative territorial entity state
SYSTEM
3
Q3820 Q15180 Q84
(Q320423,P840,c(Q56061)) (Q320423,P840,c(Q7275))
action count
action union
action filter_type
action find
entity Q320423
relation P840
type Q56061
action filter_type
action find
entity Q320423
relation P840
type Q7275
[ANSWER]
['Q320423', 'P840', {'concept': 'Q56061'}] ['Q320423', 'P840', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?u rdf:type ?v }
Beirut Soviet Union London
3
action count
action union
action filter_type
action find
entity The Spy Who Loved Me
relation narrative location
type administrative territorial entity
action filter_type
action find
entity The Spy Who Loved Me
relation narrative location
type state
['The Spy Who Loved Me', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Spy Who Loved Me', 'narrative location', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?u rdf:type ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P710
Q930933
USER
Which relationships were France a participant of ?
(c(Q930933),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q930933 . ?h property:P710 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:relationship . ?h property:participant resource:France }
[]
relationship
Q4793353 Q567497 Q3424182
SYSTEM
Armenia–France relations, France–Germany relations, France–Romania relations
Q4793353 Q567497 Q3424182
(c(Q930933),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q930933
France were in [ANSWERS]
[{'concept': 'Q930933'}, 'P710', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q930933 . ?h property:P710 resource:Q142 }
Armenia–France relations France–Germany relations France–Romania relations
France were in Armenia–France relations, France–Germany relations and France–Romania relations
Armenia–France relations France–Germany relations France–Romania relations
action filter_type
action find_reverse
entity France
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:relationship . ?h property:participant resource:France }
[]