Simple Question (Direct)
Simple Question
Q3382896
P140
Q879146
USER
What is the religious affiliation of Pierre-Bénigme Germain ?
(Q3382896,P140,c(Q879146))
action filter_type
action find
entity Q3382896
relation P140
type Q879146
['Q3382896', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q3382896 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Pierre-Bénigme Germain
action filter_type
action find
entity Pierre-Bénigme Germain
relation religion
type Christian denomination
['Pierre-Bénigme Germain', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Pierre-Bénigme_Germain property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q3382896,P140,c(Q879146))
action filter_type
action find
entity Q3382896
relation P140
type Q879146
The religious affiliation of Pierre-Bénigme Germain is a [ANSWER]
['Q3382896', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q3382896 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Pierre-Bénigme Germain is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Pierre-Bénigme Germain
relation religion
type Christian denomination
['Pierre-Bénigme Germain', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Pierre-Bénigme_Germain property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3382896
P734
Q82799
USER
Which name is associated with Pierre-Bénigme Germain ?
(Q3382896,P734,c(Q82799))
action filter_type
action find
entity Q3382896
relation P734
type Q82799
['Q3382896', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3382896 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Pierre-Bénigme Germain
action filter_type
action find
entity Pierre-Bénigme Germain
relation family name
type name
['Pierre-Bénigme Germain', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Pierre-Bénigme_Germain property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q16766322
SYSTEM
Germain
Q16766322
(Q3382896,P734,c(Q82799))
action filter_type
action find
entity Q3382896
relation P734
type Q82799
[ANSWER] is associated with Pierre-Bénigme [ANSWER]
['Q3382896', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3382896 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Germain
Germain is associated with Pierre-Bénigme Germain
Germain
action filter_type
action find
entity Pierre-Bénigme Germain
relation family name
type name
['Pierre-Bénigme Germain', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Pierre-Bénigme_Germain property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3084740
Q82799
USER
And also tell me about François Godefroy?
(Q3084740,P734,c(Q82799))
action filter_type
action find
entity Q3084740
relation P734
type Q82799
['Q3084740', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3084740 property:P734 ?h . ?h rdf:type ontology:Q82799 }
François Godefroy
action filter_type
action find
entity François Godefroy
relation family name
type name
['François Godefroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:François_Godefroy property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q24700460
SYSTEM
Godefroy
Q24700460
(Q3084740,P734,c(Q82799))
action filter_type
action find
entity Q3084740
relation P734
type Q82799
[ANSWER]
['Q3084740', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3084740 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Godefroy
Godefroy
action filter_type
action find
entity François Godefroy
relation family name
type name
['François Godefroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:François_Godefroy property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3084740
P106
Q12737077
USER
What do François Godefroy do for a living ?
(Q3084740,P106,c(Q12737077))
action filter_type
action find
entity Q3084740
relation P106
type Q12737077
['Q3084740', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q3084740 property:P106 ?u }
François Godefroy
action filter_type
action find
entity François Godefroy
relation occupation
type occupation
['François Godefroy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:François_Godefroy property:occupation ?u }
[]
occupation
Q10862983 Q15296811
SYSTEM
etcher, draughtsperson
Q10862983 Q15296811
(Q3084740,P106,c(Q12737077))
action filter_type
action find
entity Q3084740
relation P106
type Q12737077
François Godefroy do for a living [ANSWERS]
['Q3084740', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q3084740 property:P106 ?u }
etcher draughtsperson
François Godefroy do for a living etcher and draughtsperson
etcher draughtsperson
action filter_type
action find
entity François Godefroy
relation occupation
type occupation
['François Godefroy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:François_Godefroy property:occupation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3084740
P20
Q56061
USER
Where did the demise of François Godefroy occur ?
(Q3084740,P20,c(Q56061))
action filter_type
action find
entity Q3084740
relation P20
type Q56061
['Q3084740', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3084740 property:P20 ?q . ?q rdf:type ontology:Q56061 }
François Godefroy
action filter_type
action find
entity François Godefroy
relation place of death
type administrative territorial entity
['François Godefroy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:François_Godefroy property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3084740,P20,c(Q56061))
action filter_type
action find
entity Q3084740
relation P20
type Q56061
The demise of François Godefroy occurred in [ANSWER]
['Q3084740', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3084740 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Paris
The demise of François Godefroy occurred in Paris
Paris
action filter_type
action find
entity François Godefroy
relation place of death
type administrative territorial entity
['François Godefroy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:François_Godefroy property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3382896
P27
Q15617994
USER
Which administrative territory does Pierre-Bénigme Germain belong to ?
(Q3382896,P27,c(Q15617994))
action filter_type
action find
entity Q3382896
relation P27
type Q15617994
['Q3382896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3382896 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Pierre-Bénigme Germain
action filter_type
action find
entity Pierre-Bénigme Germain
relation country of citizenship
type designation for an administrative territorial entity
['Pierre-Bénigme Germain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pierre-Bénigme_Germain property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3382896,P27,c(Q15617994))
action filter_type
action find
entity Q3382896
relation P27
type Q15617994
Germain belongs to [ANSWER]
['Q3382896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3382896 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
France
Germain belongs to France
France
action filter_type
action find
entity Pierre-Bénigme Germain
relation country of citizenship
type designation for an administrative territorial entity
['Pierre-Bénigme Germain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pierre-Bénigme_Germain property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3382896
P21
Q290
USER
Which sex does that person possess ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3382896
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q3382896 property:P21 ?f . ?f rdf:type ontology:Q290 }
Pierre-Bénigme Germain
action filter_type
action find
entity Pierre-Bénigme Germain
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Pierre-Bénigme_Germain property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3382896
relation P21
type Q290
That person possesses a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q3382896 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Pierre-Bénigme Germain
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Pierre-Bénigme_Germain property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2958206 Q3382896
P19
Q20667921
USER
Which french administrative divisions are the birthplace of Pierre-Bénigme Germain or Charles-Louis Lesur ?
OR((Q3382896,P19,c(Q20667921)), (Q2958206,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3382896
relation P19
action find
entity Q2958206
relation P19
type Q20667921
{'OR': [['Q3382896', 'P19', {'concept': 'Q20667921'}], ['Q2958206', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3382896 property:P19 ?p } UNION { resource:Q2958206 property:P19 ?p } } . ?p rdf:type ontology:Q20667921 }
Charles-Louis Lesur Pierre-Bénigme Germain
action filter_type
action union
action find
entity Pierre-Bénigme Germain
relation place of birth
action find
entity Charles-Louis Lesur
relation place of birth
type type of french administrative division
{'OR': [['Pierre-Bénigme Germain', 'place of birth', {'concept': 'type of french administrative division'}], ['Charles-Louis Lesur', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Pierre-Bénigme_Germain property:place_of_birth ?p } UNION { resource:Charles-Louis_Lesur property:place_of_birth ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q271093 Q190827
SYSTEM
Guise, Autun
Q271093 Q190827
OR((Q3382896,P19,c(Q20667921)), (Q2958206,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3382896
relation P19
action find
entity Q2958206
relation P19
type Q20667921
[ANSWERS] are the birthplace of Pierre-Bénigme Germain or Charles-Louis Lesur
{'OR': [['Q3382896', 'P19', {'concept': 'Q20667921'}], ['Q2958206', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3382896 property:P19 ?p } UNION { resource:Q2958206 property:P19 ?p } } . ?p rdf:type ontology:Q20667921 }
Guise Autun
Guise and Autun are the birthplace of Pierre-Bénigme Germain or Charles-Louis Lesur
Guise Autun
action filter_type
action union
action find
entity Pierre-Bénigme Germain
relation place of birth
action find
entity Charles-Louis Lesur
relation place of birth
type type of french administrative division
{'OR': [['Pierre-Bénigme Germain', 'place of birth', {'concept': 'type of french administrative division'}], ['Charles-Louis Lesur', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Pierre-Bénigme_Germain property:place_of_birth ?p } UNION { resource:Charles-Louis_Lesur property:place_of_birth ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q43229 Q337567 Q56061
USER
How many administrative territories have around 1 organizations and still waterss as their toponym ?
(c(Q56061),P138,c(Q43229)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q43229
action find_tuple_counts
relation P138
type Q56061
type Q337567
value 1
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q43229'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q43229 ) ( ontology:Q337567 ) } . ?c rdf:type ?h } GROUP BY ?z } . FILTER ( ?k = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type organization
action find_tuple_counts
relation named after
type administrative territorial entity
type still waters
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'organization'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { VALUES ( ?h ) { ( ontology:organization ) ( ontology:still_waters ) } . ?c rdf:type ?h } GROUP BY ?z } . FILTER ( ?k = 1 ) }
[]
organization still waters administrative territorial entity
SYSTEM
11
Q83178 Q18682030 Q11899935 Q11870465 Q18659914 Q906740 Q12980087 Q11901984 Q2198018 Q11873198 Q11901400
(c(Q56061),P138,c(Q43229)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q43229
action find_tuple_counts
relation P138
type Q56061
type Q337567
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q43229'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q43229 ) ( ontology:Q337567 ) } . ?c rdf:type ?h } GROUP BY ?z } . FILTER ( ?k = 1 ) }
Almere Kivijärvi Vaalajärvi Kauhajärvi Kauhajärvi Diósgyőr-Vasgyár Flaten Vuontisjärvi Batadorp Kuivasjärvi Vikajärvi
11
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type organization
action find_tuple_counts
relation named after
type administrative territorial entity
type still waters
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'organization'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { VALUES ( ?h ) { ( ontology:organization ) ( ontology:still_waters ) } . ?c rdf:type ?h } GROUP BY ?z } . FILTER ( ?k = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q651131 Q271093
P19
Q502895
USER
Which people have birthplace at Guise or Kota Bharu ?
OR((c(Q502895),P19,Q271093), (c(Q502895),P19,Q651131))
action filter_type
action union
action find_reverse
entity Q271093
relation P19
action find_reverse
entity Q651131
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q271093'], [{'concept': 'Q502895'}, 'P19', 'Q651131']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P19 resource:Q651131 } UNION { ?v property:P19 resource:Q271093 } } . ?v rdf:type ontology:Q502895 }
Kota Bharu Guise
action filter_type
action union
action find_reverse
entity Guise
relation place of birth
action find_reverse
entity Kota Bharu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Guise'], [{'concept': 'common name'}, 'place of birth', 'Kota Bharu']]}
SELECT DISTINCT ?v WHERE { { { ?v property:place_of_birth resource:Kota_Bharu } UNION { ?v property:place_of_birth resource:Guise } } . ?v rdf:type ontology:common_name }
[]
common name
Q7508851 Q1356324 Q3407792 Q3093656 Q3288741 Q3101163 Q25915995 Q249313 Q16219208 Q6933011
SYSTEM
Some of them are Sidique Ali Merican, Roslin Hashim, Prosper Marchand, Gabriel Busiau, Marcel Bugain, Geoffroy de Billy, Fakhrul Zaman, Camille Desmoulins, Jeanne Macherez, Muhd Izuan Salahuddin
Q6893879 Q18049752 Q4207386 Q7699802 Q25915995 Q7387235 Q16219208 Q7508851 Q502178 Q3340013 Q7333556 Q1678029 Q7034615 Q10557085 Q6933011 Q5984578 Q2848487 Q3407792 Q1356324 Q31543 Q6399032 Q3507256 Q15220480 Q15404890 Q4200577 Q44586 Q58995 Q27854122 Q3288741 Q7444243 Q3093656 Q3386438 Q7699810 Q11176608 Q4746772 Q3370224 Q5244614 Q2927100 Q249313 Q3160246 Q20537071 Q58979 Q7967029 Q16761682 Q6399030 Q7682110 Q335901 Q22213046 Q15972067 Q10552070 Q16146681 Q900902 Q9033634 Q3101163 Q217382 Q6894049 Q16025790 Q4665509 Q3084082 Q3167267 Q6893935 Q7034616 Q2958206
OR((c(Q502895),P19,Q271093), (c(Q502895),P19,Q651131))
action filter_type
action union
action find_reverse
entity Q271093
relation P19
action find_reverse
entity Q651131
relation P19
type Q502895
[ANSWERS] have birthplace at Guise or Kota Bharu
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q271093'], [{'concept': 'Q502895'}, 'P19', 'Q651131']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P19 resource:Q651131 } UNION { ?v property:P19 resource:Q271093 } } . ?v rdf:type ontology:Q502895 }
Mohd Daudsu Jamaluddin Mohd Afif Amiruddin Tuanku Fauziah Tengku Hazman Raja Hassan Fakhrul Zaman S.M. Zakir Jeanne Macherez Sidique Ali Merican Mohd Badhri Mohd Radzi Nicolas Abraham de La Framboisière Fatimah Busu Jacques Mahieux Nik Ahmad Fadly Nik Leh Ahmad Syihan Hazmi Mohamed Muhd Izuan Salahuddin Ibrahim IV of Kelantan André Prudhommeaux Prosper Marchand Roslin Hashim Ismail Petra of Kelantan Khairan Ezuan Razali Sylvie-Catherine De Vailly Azman Ibrahim Nelydia Senrose Yahya Petra of Kelantan Muhammad Hafiz Hashim Mohd Halim Napi François Emmanuel Debranges Marcel Bugain Sutung Umar RS Gabriel Busiau Pierre Nicolas d'Agoult Tengku Razaleigh Hamzah Ng Yen Yen Amirizwan Taj Tajuddin Paul-Alexis Dubois Muhammad V of Kelantan Brutus Magnier Camille Desmoulins Jacques de Billy Jacques-Augustin Renouard Wan Rohaimi Wan Ismail Wan Zaman Wan Mustapha Tuan Mohd Faim Tuan Zainal Abidin Khairan Eroza Razali Tan Seng Giaw Mohd Shakir Shaari François Alexandre Thevenez d’Aoust André Berniquet Mohd Khairul Izuan Rosli Ahmad Ezrie Shafizie Khairul Fahmi Che Mat Misha Omar Geoffroy de Billy Zairul Fitree Ishak Mohd Shahrizan Ismail Camille Godelle Abdul Latiff Suhaimi François Boussus Jean-Luc Sokal Mohd Hashim Mustapha Nik Ahmad Kamil Nik Mahmud Charles-Louis Lesur
Sidique Ali Merican, Roslin Hashim, Prosper Marchand, Gabriel Busiau, Marcel Bugain, Geoffroy de Billy, Fakhrul Zaman, Camille Desmoulins, Jeanne Macherez and Muhd Izuan Salahuddin have birthplace at Guise or Kota Bharu
Sidique Ali Merican Roslin Hashim Prosper Marchand Gabriel Busiau Marcel Bugain Geoffroy de Billy Fakhrul Zaman Camille Desmoulins Jeanne Macherez Muhd Izuan Salahuddin
action filter_type
action union
action find_reverse
entity Guise
relation place of birth
action find_reverse
entity Kota Bharu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Guise'], [{'concept': 'common name'}, 'place of birth', 'Kota Bharu']]}
SELECT DISTINCT ?v WHERE { { { ?v property:place_of_birth resource:Kota_Bharu } UNION { ?v property:place_of_birth resource:Guise } } . ?v rdf:type ontology:common_name }
[]