Simple Question (Direct)
Simple Question
Q3262998
P39
Q12737077
USER
Which occupation was a position held by Louis Renon ?
(Q3262998,P39,c(Q12737077))
action filter_type
action find
entity Q3262998
relation P39
type Q12737077
['Q3262998', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3262998 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Louis Renon
action filter_type
action find
entity Louis Renon
relation position held
type occupation
['Louis Renon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Renon property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q382617
SYSTEM
maire
Q382617
(Q3262998,P39,c(Q12737077))
action filter_type
action find
entity Q3262998
relation P39
type Q12737077
The [ANSWER] was a position held by Louis Renon
['Q3262998', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3262998 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
maire
The maire was a position held by Louis Renon
maire
action filter_type
action find
entity Louis Renon
relation position held
type occupation
['Louis Renon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Renon property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382617
P106
Q502895
USER
Who have a job as that occupation ?
(c(Q502895),P106,Q382617)
action filter_type
action find_reverse
entity Q382617
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q382617']
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q382617 . ?h rdf:type ontology:Q502895 }
maire
action filter_type
action find_reverse
entity maire
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'maire']
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:maire . ?h rdf:type ontology:common_name }
[]
common name
Q3383859 Q16011375 Q22338515
SYSTEM
Pierre Barbier, Jules Hunebelle, Charles Devos
Q16011375 Q22338515 Q20748069 Q20747968 Q3383859 Q26723529
(c(Q502895),P106,Q382617)
action filter_type
action find_reverse
entity Q382617
relation P106
type Q502895
[ANSWERS] have a job as that occupation
[{'concept': 'Q502895'}, 'P106', 'Q382617']
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q382617 . ?h rdf:type ontology:Q502895 }
Jules Hunebelle Charles Devos Jean-Pierre Duprat Guy Bergerault Pierre Barbier Louis Mallet
Pierre Barbier, Jules Hunebelle and Charles Devos have a job as that occupation
Pierre Barbier Jules Hunebelle Charles Devos
action filter_type
action find_reverse
entity maire
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'maire']
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:maire . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22338515
P20
Q20667921
USER
Where did the expiration of that person occur ?
(Q22338515,P20,c(Q20667921))
action filter_type
action find
entity Q22338515
relation P20
type Q20667921
['Q22338515', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q22338515 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Charles Devos
action filter_type
action find
entity Charles Devos
relation place of death
type type of french administrative division
['Charles Devos', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Devos property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q22338515
SYSTEM
Did you mean Charles Devos ?
Q3383859 Q16011375 Q22338515
(Q3383859,P20,c(Q20667921)) (Q16011375,P20,c(Q20667921)) (Q22338515,P20,c(Q20667921))
[ANSWER]
['Q3383859', 'P20', {'concept': 'Q20667921'}] ['Q16011375', 'P20', {'concept': 'Q20667921'}] ['Q22338515', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q22338515 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Pierre Barbier Jules Hunebelle Charles Devos
Did you mean Charles Devos ?
Charles Devos
['Pierre Barbier', 'place of death', {'concept': 'type of french administrative division'}] ['Jules Hunebelle', 'place of death', {'concept': 'type of french administrative division'}] ['Charles Devos', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Devos property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22338515,P20,c(Q20667921))
['Q22338515', 'P20', {'concept': 'Q20667921'}]
['Charles Devos', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q246199
SYSTEM
Garches
Q246199
(Q22338515,P20,c(Q20667921))
action filter_type
action find
entity Q22338515
relation P20
type Q20667921
The expiration of that person occurred in [ANSWER]
['Q22338515', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q22338515 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Garches
The expiration of that person occurred in Garches
Garches
action filter_type
action find
entity Charles Devos
relation place of death
type type of french administrative division
['Charles Devos', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Devos property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P20
Q502895
USER
How many people have that french administrative division as the location of death ?
(c(Q502895),P20,Q246199)
action count
action filter_type
action find_reverse
entity Q246199
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q246199']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P20 resource:Q246199 . ?o rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Garches
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Garches']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:place_of_death resource:Garches . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
40
Q451637 Q3341923 Q3261932 Q15970294 Q49636 Q16798419 Q2407741 Q3104148 Q22338515 Q153153 Q3288604 Q3573791 Q3387147 Q295123 Q3099095 Q3174415 Q585722 Q3170722 Q2899512 Q1444510 Q156272 Q1553744 Q15969837 Q3434873 Q3158554 Q3122281 Q74042 Q1651791 Q3372476 Q313519 Q3120146 Q2965232 Q956009 Q3061034 Q3327856 Q13500118 Q718398 Q16739807 Q1047478 Q19956605
(c(Q502895),P20,Q246199)
action count
action filter_type
action find_reverse
entity Q246199
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q246199']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P20 resource:Q246199 . ?o rdf:type ontology:Q502895 }
Christine Pascal Nina Dyer Louis François Foucher de Careil Nicolas Pierre Amaranthe Roulliet Sunsiaré of Larcône Georges Ahnne Pol Neveux Germain Van der Steen Charles Devos Simone Renant Marcel Aboulker Yves Leenhardt Pierre Trabaud Guillaume Depardieu Gaston Mialaret Jean Rosenthal Maurice Raichenbach Jean Bernasconi Bertrand Fagalde Frank Gerhard Zwillinger André Derain Jean Orieux Marie Colombier Robert Crégut Jacques Clarion Guy de Montlaur Guy Béart Gilles Kahn Paul de Garros Sidney Bechet Guillaume Radot Christian Duvaleix Pierre Canivet Eustache-Marie Courtin Marguerite Muni Charles Edward La Haye Robert Veyron-Lacroix Charles-Henri Serres Casimir Davaine Marcel Méral
40
action count
action filter_type
action find_reverse
entity Garches
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Garches']
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:place_of_death resource:Garches . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16011375
P21
Q290
USER
Which sex does Jules Hunebelle belong to ?
(Q16011375,P21,c(Q290))
action filter_type
action find
entity Q16011375
relation P21
type Q290
['Q16011375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16011375 property:P21 ?s . ?s rdf:type ontology:Q290 }
Jules Hunebelle
action filter_type
action find
entity Jules Hunebelle
relation gender
type sex
['Jules Hunebelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jules_Hunebelle property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16011375,P21,c(Q290))
action filter_type
action find
entity Q16011375
relation P21
type Q290
Jules Hunebelle belongs to [ANSWER]
['Q16011375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16011375 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Jules Hunebelle belongs to male
male
action filter_type
action find
entity Jules Hunebelle
relation gender
type sex
['Jules Hunebelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jules_Hunebelle property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2723718 Q246199
P17
Q15617994
USER
Which administrative territories are Garches or Braljina located in ?
OR((Q246199,P17,c(Q15617994)), (Q2723718,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q246199
relation P17
action find
entity Q2723718
relation P17
type Q15617994
{'OR': [['Q246199', 'P17', {'concept': 'Q15617994'}], ['Q2723718', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q246199 property:P17 ?y } UNION { resource:Q2723718 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Braljina Garches
action filter_type
action union
action find
entity Garches
relation country
action find
entity Braljina
relation country
type designation for an administrative territorial entity
{'OR': [['Garches', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Braljina', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Garches property:country ?y } UNION { resource:Braljina property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q403
SYSTEM
France, Serbia
Q142 Q403
OR((Q246199,P17,c(Q15617994)), (Q2723718,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q246199
relation P17
action find
entity Q2723718
relation P17
type Q15617994
Garches or Braljina are located in [ANSWERS]
{'OR': [['Q246199', 'P17', {'concept': 'Q15617994'}], ['Q2723718', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q246199 property:P17 ?y } UNION { resource:Q2723718 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
France Serbia
Garches or Braljina are located in France and Serbia
France Serbia
action filter_type
action union
action find
entity Garches
relation country
action find
entity Braljina
relation country
type designation for an administrative territorial entity
{'OR': [['Garches', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Braljina', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Garches property:country ?y } UNION { resource:Braljina property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2270148
P495
Q838948
USER
Are those administrative territories a country of origin of Promise Me This ?
(Q2270148,P495,Q142) (Q2270148,P495,Q403)
action is_in
entity prev_answer
action find
entity Q2270148
relation P495
['Q2270148', 'P495', 'Q142'] ['Q2270148', 'P495', 'Q403']
ASK WHERE { VALUES ( ?m ) { ( resource:Q142 ) ( resource:Q403 ) } . resource:Q2270148 property:P495 ?m }
Promise Me This
action is_in
entity prev_answer
action find
entity Promise Me This
relation country of origin
['Promise Me This', 'country of origin', 'France'] ['Promise Me This', 'country of origin', 'Serbia']
ASK WHERE { VALUES ( ?m ) { ( resource:France ) ( resource:Serbia ) } . resource:Promise_Me_This property:country_of_origin ?m }
[]
work of art
SYSTEM
YES
(Q2270148,P495,Q142) (Q2270148,P495,Q403)
action is_in
entity prev_answer
action find
entity Q2270148
relation P495
[ANSWER]
['Q2270148', 'P495', 'Q142'] ['Q2270148', 'P495', 'Q403']
ASK WHERE { VALUES ( ?m ) { ( resource:Q142 ) ( resource:Q403 ) } . resource:Q2270148 property:P495 ?m }
Yes
action is_in
entity prev_answer
action find
entity Promise Me This
relation country of origin
['Promise Me This', 'country of origin', 'France'] ['Promise Me This', 'country of origin', 'Serbia']
ASK WHERE { VALUES ( ?m ) { ( resource:France ) ( resource:Serbia ) } . resource:Promise_Me_This property:country_of_origin ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16011375 Q506853
P27
Q15617994
USER
Does Jules Hunebelle belong to Hassendorf ?
(Q16011375,P27,Q506853)
action is_in
entity Q506853
action find
entity Q16011375
relation P27
['Q16011375', 'P27', 'Q506853']
ASK WHERE { resource:Q16011375 property:P27 resource:Q506853 }
Jules Hunebelle Hassendorf
action is_in
entity Hassendorf
action find
entity Jules Hunebelle
relation country of citizenship
['Jules Hunebelle', 'country of citizenship', 'Hassendorf']
ASK WHERE { resource:Jules_Hunebelle property:country_of_citizenship resource:Hassendorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16011375,P27,Q506853)
action is_in
entity Q506853
action find
entity Q16011375
relation P27
[ANSWER]
['Q16011375', 'P27', 'Q506853']
ASK WHERE { resource:Q16011375 property:P27 resource:Q506853 }
No
action is_in
entity Hassendorf
action find
entity Jules Hunebelle
relation country of citizenship
['Jules Hunebelle', 'country of citizenship', 'Hassendorf']
ASK WHERE { resource:Jules_Hunebelle property:country_of_citizenship resource:Hassendorf }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q7507960
P272
Q838948
USER
How many works of art were released from the production company named France or Sid and Marty Krofft ?
(c(Q838948),P272,Q142) (c(Q838948),P272,Q7507960)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
action filter_type
action find_reverse
entity Q7507960
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q142'] [{'concept': 'Q838948'}, 'P272', 'Q7507960']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:P272 resource:Q142 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P272 resource:Q7507960 . ?i rdf:type ontology:Q838948 } }
France Sid and Marty Krofft
action count
action union
action filter_type
action find_reverse
entity France
relation production company
type work of art
action filter_type
action find_reverse
entity Sid and Marty Krofft
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'France'] [{'concept': 'work of art'}, 'production company', 'Sid and Marty Krofft']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:production_company resource:France . ?i rdf:type ontology:work_of_art } UNION { ?i property:production_company resource:Sid_and_Marty_Krofft . ?i rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
3
Q1407653 Q3720922 Q780981
(c(Q838948),P272,Q142) (c(Q838948),P272,Q7507960)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
action filter_type
action find_reverse
entity Q7507960
relation P272
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q142'] [{'concept': 'Q838948'}, 'P272', 'Q7507960']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:P272 resource:Q142 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P272 resource:Q7507960 . ?i rdf:type ontology:Q838948 } }
The Naked Maja El Greco Land of the Lost
3
action count
action union
action filter_type
action find_reverse
entity France
relation production company
type work of art
action filter_type
action find_reverse
entity Sid and Marty Krofft
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'France'] [{'concept': 'work of art'}, 'production company', 'Sid and Marty Krofft']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:production_company resource:France . ?i rdf:type ontology:work_of_art } UNION { ?i property:production_company resource:Sid_and_Marty_Krofft . ?i rdf:type ontology:work_of_art } }
[]