Simple Question (Direct)
Simple Question
Q20991650
P140
Q874405
USER
Which social group is the religion of René Mouterde ?
(Q20991650,P140,c(Q874405))
action filter_type
action find
entity Q20991650
relation P140
type Q874405
['Q20991650', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . resource:Q20991650 property:P140 ?x }
René Mouterde
action filter_type
action find
entity René Mouterde
relation religion
type social group
['René Mouterde', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . resource:René_Mouterde property:religion ?x }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q20991650,P140,c(Q874405))
action filter_type
action find
entity Q20991650
relation P140
type Q874405
The [ANSWER] is the religion of René Mouterde
['Q20991650', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . resource:Q20991650 property:P140 ?x }
Catholicism
The Catholicism is the religion of René Mouterde
Catholicism
action filter_type
action find
entity René Mouterde
relation religion
type social group
['René Mouterde', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . resource:René_Mouterde property:religion ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20991650
P611
Q1530022
USER
What religion is that person affiliated to ?
(Q1841,P611,c(Q1530022))
action filter_type
action find
entity Q20991650
relation P611
type Q1530022
['Q1841', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1530022 . resource:Q20991650 property:P611 ?i }
René Mouterde
action filter_type
action find
entity René Mouterde
relation religious order
type religious organization
['Catholicism', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:religious_organization . resource:René_Mouterde property:religious_order ?i }
[]
religious organization
Q36380
SYSTEM
Society of Jesus
Q36380
(Q1841,P611,c(Q1530022))
action filter_type
action find
entity Q20991650
relation P611
type Q1530022
That person is affiliated to [ANSWER]
['Q1841', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1530022 . resource:Q20991650 property:P611 ?i }
Society of Jesus
That person is affiliated to Society of Jesus
Society of Jesus
action filter_type
action find
entity René Mouterde
relation religious order
type religious organization
['Catholicism', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:religious_organization . resource:René_Mouterde property:religious_order ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20991650
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q36380,P27,c(Q15617994))
action filter_type
action find
entity Q20991650
relation P27
type Q15617994
['Q36380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20991650 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
René Mouterde
action filter_type
action find
entity René Mouterde
relation country of citizenship
type designation for an administrative territorial entity
['Society of Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:René_Mouterde property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q36380,P27,c(Q15617994))
action filter_type
action find
entity Q20991650
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q36380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20991650 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
That person belongs to the France
France
action filter_type
action find
entity René Mouterde
relation country of citizenship
type designation for an administrative territorial entity
['Society of Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:René_Mouterde property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q223557 Q1076486
USER
How many administrative territories are around 274 physical objects and sports venues present in ?
(c(Q223557)|c(Q1076486),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
value 274
[[{'concept': 'Q223557'}, {'concept': 'Q1076486'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q223557 ) ( ontology:Q1076486 ) } . ?a rdf:type ?g } GROUP BY ?o } . FILTER ( ?u = 274 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
value 274
[[{'concept': 'physical object'}, {'concept': 'sports venue'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { VALUES ( ?g ) { ( ontology:physical_object ) ( ontology:sports_venue ) } . ?a rdf:type ?g } GROUP BY ?o } . FILTER ( ?u = 274 ) }
[]
designation for an administrative territorial entity physical object sports venue
SYSTEM
18
Q668 Q142 Q148 Q258 Q155 Q794 Q884 Q34 Q39 Q38 Q20 Q843 Q225 Q96 Q17 Q902 Q833 Q29
(c(Q223557)|c(Q1076486),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
value 274
[ANSWER]
[[{'concept': 'Q223557'}, {'concept': 'Q1076486'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q223557 ) ( ontology:Q1076486 ) } . ?a rdf:type ?g } GROUP BY ?o } . FILTER ( ?u = 274 ) }
India France People's Republic of China South Africa Brazil Iran South Korea Sweden Switzerland Italy Norway Pakistan Bosnia and Herzegovina Mexico Japan Bangladesh Malaysia Spain
18
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
value 274
[[{'concept': 'physical object'}, {'concept': 'sports venue'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?o WHERE { VALUES ( ?g ) { ( ontology:physical_object ) ( ontology:sports_venue ) } . ?a rdf:type ?g } GROUP BY ?o } . FILTER ( ?u = 274 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P551
Q502895 Q6619679
USER
How many people or fictional humanoids dwell at France ?
(c(Q502895),P551,Q142) (c(Q6619679),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q142
relation P551
type Q6619679
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q6619679'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:P551 resource:Q142 . ?o rdf:type ontology:Q6619679 } UNION { ?o property:P551 resource:Q142 . ?o rdf:type ontology:Q502895 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity France
relation residence
type fictional humanoid
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'fictional humanoid'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:residence resource:France . ?o rdf:type ontology:fictional_humanoid } UNION { ?o property:residence resource:France . ?o rdf:type ontology:common_name } }
[]
common name fictional humanoid
SYSTEM
67
Q17141465 Q34248 Q1287583 Q23726522 Q5612768 Q2907955 Q16663593 Q18278048 Q7915490 Q20721 Q7348968 Q19845625 Q2580510 Q22136999 Q17071396 Q18695634 Q557546 Q245363 Q4768865 Q23843063 Q23866372 Q20730830 Q102804 Q23888162 Q23888163 Q8006910 Q17486002 Q2866245 Q2877725 Q25865472 Q1399562 Q3553283 Q16734991 Q333563 Q3218950 Q3275875 Q3436933 Q729117 Q6072265 Q7925920 Q26741428 Q683660 Q42831 Q1010504 Q2895607 Q20872764 Q20203092 Q3131277 Q14943164 Q465681 Q15429884 Q18590538 Q2405968 Q2947608 Q93166 Q360312 Q2646836 Q19629253 Q5671358 Q26922710 Q12888221 Q326449 Q2848090 Q16533765 Q3186257 Q5398352 Q2254007
(c(Q502895),P551,Q142) (c(Q6619679),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q142
relation P551
type Q6619679
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q6619679'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:P551 resource:Q142 . ?o rdf:type ontology:Q6619679 } UNION { ?o property:P551 resource:Q142 . ?o rdf:type ontology:Q502895 } }
Altantuya Shaaribuu Camila Giorgi Momčilo Đujić Philippe Burin des Roziers Grégoire Burquier Bobby Holcomb Marvin Jefferson Gabriel Spat Varaz Samuelian Luigi Cherubini Robert Pope Andra Waagmeester Paul Haviland Nabil Canaan Mathias Bourgue Étienne Cornevin Tran Anh Hung Zygmunt Mineyko Anne Villiers, Countess of Morton Leonardo D'Antoni Delphine Lehericey Marc Boudin Henri Moissan Kim Tran-Nhut Thanh-Van Tran-Nhut William Close HJ Lim As Thiam Baba de Faucigny-Lucinge Michaël Magne Emil Grunzweig Vahé Katcha Mark Rappaport Niccolò dell'Abbate Laurence Vidal Adeline Dudlay Roberto Maria Grassi Edmund White Pere Puig Subinyà Victor Garcia Prince Philip Johann Gaudenz von Salis-Seewis Ivan Turgenev Gillian Hills Ben Zimet Mark Moogalian Victoria Muntean Henri Hiro Alain Schneider Sophie, Countess of Ségur Mary Elizabeth Hawker Esteban Pérez Pérez Gianni Mina Chahla Chafiq-Beski Milan Kundera Antoine-Augustin Parmentier Alice Anderson Jacques Dessalines Carles Reig i Morell Aline Gohard-Radenkovic Bruno Saura Abram Petrovich Gannibal André Larivière Bruno Duthoit José Cuneo Eslanda Goode Robeson Avner W. Less
67
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity France
relation residence
type fictional humanoid
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'fictional humanoid'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:residence resource:France . ?o rdf:type ontology:fictional_humanoid } UNION { ?o property:residence resource:France . ?o rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36380
P127
Q732577
USER
Which publication is owned by Society of Jesus ?
(c(Q732577),P127,Q36380)
action filter_type
action find_reverse
entity Q36380
relation P127
type Q732577
[{'concept': 'Q732577'}, 'P127', 'Q36380']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q36380 . ?f rdf:type ontology:Q732577 }
Society of Jesus
action filter_type
action find_reverse
entity Society of Jesus
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Society of Jesus']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Society_of_Jesus . ?f rdf:type ontology:publication }
[]
publication
Q186814
SYSTEM
Zeitschrift für katholische Theologie
Q186814
(c(Q732577),P127,Q36380)
action filter_type
action find_reverse
entity Q36380
relation P127
type Q732577
[ANSWER] is owned by Society of Jesus
[{'concept': 'Q732577'}, 'P127', 'Q36380']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q36380 . ?f rdf:type ontology:Q732577 }
Zeitschrift für katholische Theologie
Zeitschrift für katholische Theologie is owned by Society of Jesus
Zeitschrift für katholische Theologie
action filter_type
action find_reverse
entity Society of Jesus
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Society of Jesus']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Society_of_Jesus . ?f rdf:type ontology:publication }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20991650
P21
Q290
USER
Which sex does René Mouterde belong to ?
(Q20991650,P21,c(Q290))
action filter_type
action find
entity Q20991650
relation P21
type Q290
['Q20991650', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20991650 property:P21 ?y . ?y rdf:type ontology:Q290 }
René Mouterde
action filter_type
action find
entity René Mouterde
relation gender
type sex
['René Mouterde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:René_Mouterde property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20991650,P21,c(Q290))
action filter_type
action find
entity Q20991650
relation P21
type Q290
René Mouterde belongs to [ANSWER]
['Q20991650', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20991650 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
René Mouterde belongs to male
male
action filter_type
action find
entity René Mouterde
relation gender
type sex
['René Mouterde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:René_Mouterde property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20991650
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q6581097,P19,c(Q20667921))
action filter_type
action find
entity Q20991650
relation P19
type Q20667921
['Q6581097', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q20991650 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
René Mouterde
action filter_type
action find
entity René Mouterde
relation place of birth
type type of french administrative division
['male', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:René_Mouterde property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q683037
SYSTEM
Tarare
Q683037
(Q6581097,P19,c(Q20667921))
action filter_type
action find
entity Q20991650
relation P19
type Q20667921
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q20991650 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Tarare
That person was born in Tarare
Tarare
action filter_type
action find
entity René Mouterde
relation place of birth
type type of french administrative division
['male', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:René_Mouterde property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions are adjacent to that french administrative division ?
(Q683037,P47,c(Q20667921))
action count
action filter_type
action find
entity Q683037
relation P47
type Q20667921
['Q683037', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q20667921 . resource:Q683037 property:P47 ?d }
action count
action filter_type
action find
entity Tarare
relation shares border with
type type of french administrative division
['Tarare', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Tarare property:shares_border_with ?d }
[]
type of french administrative division
SYSTEM
7
Q602756 Q1970 Q930482 Q840219 Q1388809 Q1548 Q1440211
(Q683037,P47,c(Q20667921))
action count
action filter_type
action find
entity Q683037
relation P47
type Q20667921
[ANSWER]
['Q683037', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:Q20667921 . resource:Q683037 property:P47 ?d }
Les Sauvages Saint-Clément-sur-Valsonne Saint-Loup, Rhône Saint-Forgeux Saint-Marcel-l'Éclairé Valsonne Joux
7
action count
action filter_type
action find
entity Tarare
relation shares border with
type type of french administrative division
['Tarare', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Tarare property:shares_border_with ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20246370
P20
Q56061
USER
How many administrative territories did the demise of Jules Hochet occur ?
(Q20246370,P20,c(Q56061))
action count
action filter_type
action find
entity Q20246370
relation P20
type Q56061
['Q20246370', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:Q56061 . resource:Q20246370 property:P20 ?i }
Jules Hochet
action count
action filter_type
action find
entity Jules Hochet
relation place of death
type administrative territorial entity
['Jules Hochet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Jules_Hochet property:place_of_death ?i }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q20246370,P20,c(Q56061))
action count
action filter_type
action find
entity Q20246370
relation P20
type Q56061
[ANSWER]
['Q20246370', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:Q56061 . resource:Q20246370 property:P20 ?i }
Paris
1
action count
action filter_type
action find
entity Jules Hochet
relation place of death
type administrative territorial entity
['Jules Hochet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Jules_Hochet property:place_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20246370
P7
Q502895
USER
Which person has that one as their brother ?
action filter_type
action find
entity Q20246370
relation P7
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q20246370 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Jules Hochet
action filter_type
action find
entity Jules Hochet
relation brother
type common name
SELECT DISTINCT ?c WHERE { resource:Jules_Hochet property:brother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q15969125
SYSTEM
Prosper Hochet
Q15969125
action filter_type
action find
entity Q20246370
relation P7
type Q502895
[ANSWER] has that one as their brother
SELECT DISTINCT ?c WHERE { resource:Q20246370 property:P7 ?c . ?c rdf:type ontology:Q502895 }
Prosper Hochet
Prosper Hochet has that one as their brother
Prosper Hochet
action filter_type
action find
entity Jules Hochet
relation brother
type common name
SELECT DISTINCT ?c WHERE { resource:Jules_Hochet property:brother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20246370
P40
Q502895
USER
Who have Jules Hochet as a child ?
(c(Q502895),P40,Q20246370)
action filter_type
action find_reverse
entity Q20246370
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q20246370']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q20246370 }
Jules Hochet
action filter_type
action find_reverse
entity Jules Hochet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jules Hochet']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Jules_Hochet }
[]
common name
Q2977548 Q20246776
SYSTEM
Claude Hochet, Gabrielle Boigues
Q2977548 Q20246776
(c(Q502895),P40,Q20246370)
action filter_type
action find_reverse
entity Q20246370
relation P40
type Q502895
[ANSWERS] have Jules Hochet as a child
[{'concept': 'Q502895'}, 'P40', 'Q20246370']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q20246370 }
Claude Hochet Gabrielle Boigues
Claude Hochet and Gabrielle Boigues have Jules Hochet as a child
Claude Hochet Gabrielle Boigues
action filter_type
action find_reverse
entity Jules Hochet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jules Hochet']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Jules_Hochet }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2977548
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q2977548)
action filter_type
action find
entity Q2977548
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2977548']
SELECT DISTINCT ?f WHERE { resource:Q2977548 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Claude Hochet
action filter_type
action find
entity Claude Hochet
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Claude Hochet']
SELECT DISTINCT ?f WHERE { resource:Claude_Hochet property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20246776
SYSTEM
Did you mean Gabrielle Boigues ?
Q2977548 Q20246776
(c(Q502895),P26,Q2977548) (c(Q502895),P26,Q20246776)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2977548'] [{'concept': 'Q502895'}, 'P26', 'Q20246776']
SELECT DISTINCT ?f WHERE { resource:Q2977548 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Claude Hochet Gabrielle Boigues
Did you mean Gabrielle Boigues ?
Gabrielle Boigues
[{'concept': 'common name'}, 'spouse', 'Claude Hochet'] [{'concept': 'common name'}, 'spouse', 'Gabrielle Boigues']
SELECT DISTINCT ?f WHERE { resource:Claude_Hochet property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Claude Hochet. Could you tell me the answer for that?
(c(Q502895),P26,Q2977548)
Q2977548
[{'concept': 'Q502895'}, 'P26', 'Q2977548']
[{'concept': 'common name'}, 'spouse', 'Claude Hochet']
[]
Q20246776
SYSTEM
Gabrielle Boigues
Q20246776
(c(Q502895),P26,Q2977548)
action filter_type
action find
entity Q2977548
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q2977548']
SELECT DISTINCT ?f WHERE { resource:Q2977548 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Gabrielle Boigues
Gabrielle Boigues is married to that one
Gabrielle Boigues
action filter_type
action find
entity Claude Hochet
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Claude Hochet']
SELECT DISTINCT ?f WHERE { resource:Claude_Hochet property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P25
Q502895
USER
How many people have that person as mom ?
(c(Q502895),P25,Q20246776)
action count
action filter_type
action find_reverse
entity Q20246776
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q20246776']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P25 resource:Q20246776 . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Gabrielle Boigues
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Gabrielle Boigues']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:mother resource:Gabrielle_Boigues . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q20246370 Q15969125
(c(Q502895),P25,Q20246776)
action count
action filter_type
action find_reverse
entity Q20246776
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q20246776']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P25 resource:Q20246776 . ?g rdf:type ontology:Q502895 }
Jules Hochet Prosper Hochet
2
action count
action filter_type
action find_reverse
entity Gabrielle Boigues
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Gabrielle Boigues']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:mother resource:Gabrielle_Boigues . ?g rdf:type ontology:common_name }
[]