Simple Question (Direct)
Simple Question
Q3385482
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Pierre Héliot ?
(Q3385482,P27,c(Q15617994))
action filter_type
action find
entity Q3385482
relation P27
type Q15617994
['Q3385482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3385482 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Pierre Héliot
action filter_type
action find
entity Pierre Héliot
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Héliot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Héliot property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3385482,P27,c(Q15617994))
action filter_type
action find
entity Q3385482
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Pierre Héliot
['Q3385482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3385482 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Pierre Héliot
France
action filter_type
action find
entity Pierre Héliot
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Héliot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Héliot property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3385482
P106
Q12737077
USER
Which occupations have Pierre Héliot as his/her 's career ?
(Q3385482,P106,c(Q12737077))
action filter_type
action find
entity Q3385482
relation P106
type Q12737077
['Q3385482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3385482 property:P106 ?j }
Pierre Héliot
action filter_type
action find
entity Pierre Héliot
relation occupation
type occupation
['Pierre Héliot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Pierre_Héliot property:occupation ?j }
[]
occupation
Q26224000 Q182436
SYSTEM
castellologist, librarian
Q26224000 Q182436
(Q3385482,P106,c(Q12737077))
action filter_type
action find
entity Q3385482
relation P106
type Q12737077
[ANSWERS] have Pierre Héliot as his/her 's career
['Q3385482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3385482 property:P106 ?j }
castellologist librarian
Castellologist and librarian have Pierre Héliot as his/her 's career
castellologist librarian
action filter_type
action find
entity Pierre Héliot
relation occupation
type occupation
['Pierre Héliot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Pierre_Héliot property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3385482
P20
Q20667921
USER
Which french administrative division is the place of death of Pierre Héliot ?
(Q3385482,P20,c(Q20667921))
action filter_type
action find
entity Q3385482
relation P20
type Q20667921
['Q3385482', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q3385482 property:P20 ?i . ?i rdf:type ontology:Q20667921 }
Pierre Héliot
action filter_type
action find
entity Pierre Héliot
relation place of death
type type of french administrative division
['Pierre Héliot', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Héliot property:place_of_death ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q628213
SYSTEM
Couture-sur-Loir
Q628213
(Q3385482,P20,c(Q20667921))
action filter_type
action find
entity Q3385482
relation P20
type Q20667921
[ANSWER] is the place of death of Pierre Héliot
['Q3385482', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q3385482 property:P20 ?i . ?i rdf:type ontology:Q20667921 }
Couture-sur-Loir
Couture-sur-Loir is the place of death of Pierre Héliot
Couture-sur-Loir
action filter_type
action find
entity Pierre Héliot
relation place of death
type type of french administrative division
['Pierre Héliot', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Héliot property:place_of_death ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q628213
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q628213)
action filter_type
action find
entity Q628213
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q628213']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q628213 property:P47 ?m }
Couture-sur-Loir
action filter_type
action find
entity Couture-sur-Loir
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Couture-sur-Loir']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Couture-sur-Loir property:shares_border_with ?m }
[]
type of french administrative division
Q1170573 Q1382882 Q955469
SYSTEM
Montrouveau, Villedieu-le-Château, Artins
Q1225933 Q1382882 Q776473 Q1170603 Q1096298 Q955469 Q282243 Q1170573
(c(Q20667921),P47,Q628213)
action filter_type
action find
entity Q628213
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q628213']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q628213 property:P47 ?m }
Lavenay Villedieu-le-Château Poncé-sur-le-Loir Tréhet Les Essarts Artins Sougé Montrouveau
Montrouveau, Villedieu-le-Château and Artins share border with that one
Montrouveau Villedieu-le-Château Artins
action filter_type
action find
entity Couture-sur-Loir
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Couture-sur-Loir']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Couture-sur-Loir property:shares_border_with ?m }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q628213
P47
Q20667921
USER
Does Couture-sur-Loir share border with those ones ?
(Q628213,P47,Q1170573) (Q628213,P47,Q1382882) (Q628213,P47,Q955469)
action is_in
entity prev_answer
action find
entity Q628213
relation P47
['Q628213', 'P47', 'Q1170573'] ['Q628213', 'P47', 'Q1382882'] ['Q628213', 'P47', 'Q955469']
ASK WHERE { resource:Q628213 property:P47 ?u . VALUES ( ?u ) { ( resource:Q1225933 ) ( resource:Q1382882 ) ( resource:Q776473 ) } }
Couture-sur-Loir
action is_in
entity prev_answer
action find
entity Couture-sur-Loir
relation shares border with
['Couture-sur-Loir', 'shares border with', 'Montrouveau'] ['Couture-sur-Loir', 'shares border with', 'Villedieu-le-Château'] ['Couture-sur-Loir', 'shares border with', 'Artins']
ASK WHERE { resource:Couture-sur-Loir property:shares_border_with ?u . VALUES ( ?u ) { ( resource:Lavenay ) ( resource:Villedieu-le-Château ) ( resource:Poncé-sur-le-Loir ) } }
[]
type of french administrative division
SYSTEM
YES
(Q628213,P47,Q1170573) (Q628213,P47,Q1382882) (Q628213,P47,Q955469)
action is_in
entity prev_answer
action find
entity Q628213
relation P47
[ANSWER]
['Q628213', 'P47', 'Q1170573'] ['Q628213', 'P47', 'Q1382882'] ['Q628213', 'P47', 'Q955469']
ASK WHERE { resource:Q628213 property:P47 ?u . VALUES ( ?u ) { ( resource:Q1225933 ) ( resource:Q1382882 ) ( resource:Q776473 ) } }
Yes
action is_in
entity prev_answer
action find
entity Couture-sur-Loir
relation shares border with
['Couture-sur-Loir', 'shares border with', 'Montrouveau'] ['Couture-sur-Loir', 'shares border with', 'Villedieu-le-Château'] ['Couture-sur-Loir', 'shares border with', 'Artins']
ASK WHERE { resource:Couture-sur-Loir property:shares_border_with ?u . VALUES ( ?u ) { ( resource:Lavenay ) ( resource:Villedieu-le-Château ) ( resource:Poncé-sur-le-Loir ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q182436 Q179718 Q13405408
P417
Q502895
USER
Does librarian have Catherine of Alexandria and Bill Staines as their patron saint ?
(Q182436,P417,Q179718) (Q182436,P417,Q13405408)
action is_in
entity Q182436
action intersection
action find_reverse
entity Q179718
relation P417
action find_reverse
entity Q13405408
relation P417
['Q182436', 'P417', 'Q179718'] ['Q182436', 'P417', 'Q13405408']
ASK WHERE { resource:Q182436 property:P417 resource:Q179718 . resource:Q182436 property:P417 resource:Q13405408 }
librarian Catherine of Alexandria Bill Staines
action is_in
entity librarian
action intersection
action find_reverse
entity Catherine of Alexandria
relation patron saint
action find_reverse
entity Bill Staines
relation patron saint
['librarian', 'patron saint', 'Catherine of Alexandria'] ['librarian', 'patron saint', 'Bill Staines']
ASK WHERE { resource:librarian property:patron_saint resource:Catherine_of_Alexandria . resource:librarian property:patron_saint resource:Bill_Staines }
[]
common name
SYSTEM
YES and NO respectively
(Q182436,P417,Q179718) (Q182436,P417,Q13405408)
action is_in
entity Q182436
action intersection
action find_reverse
entity Q179718
relation P417
action find_reverse
entity Q13405408
relation P417
[ANSWER]
['Q182436', 'P417', 'Q179718'] ['Q182436', 'P417', 'Q13405408']
ASK WHERE { resource:Q182436 property:P417 resource:Q179718 . resource:Q182436 property:P417 resource:Q13405408 }
YES and NO respectively
action is_in
entity librarian
action intersection
action find_reverse
entity Catherine of Alexandria
relation patron saint
action find_reverse
entity Bill Staines
relation patron saint
['librarian', 'patron saint', 'Catherine of Alexandria'] ['librarian', 'patron saint', 'Bill Staines']
ASK WHERE { resource:librarian property:patron_saint resource:Catherine_of_Alexandria . resource:librarian property:patron_saint resource:Bill_Staines }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q182436 Q1043
P937
Q56061
USER
How many administrative territories are the work locations of librarian or Carl Linnaeus ?
(Q182436,P937,c(Q56061)) (Q1043,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q182436
relation P937
type Q56061
action filter_type
action find
entity Q1043
relation P937
type Q56061
['Q182436', 'P937', {'concept': 'Q56061'}] ['Q1043', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Q1043 property:P937 ?i . ?i rdf:type ontology:Q56061 } UNION { resource:Q182436 property:P937 ?i . ?i rdf:type ontology:Q56061 } }
librarian Carl Linnaeus
action count
action union
action filter_type
action find
entity librarian
relation work location
type administrative territorial entity
action filter_type
action find
entity Carl Linnaeus
relation work location
type administrative territorial entity
['librarian', 'work location', {'concept': 'administrative territorial entity'}] ['Carl Linnaeus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Carl_Linnaeus property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity } UNION { resource:librarian property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q25286 Q1754
(Q182436,P937,c(Q56061)) (Q1043,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q182436
relation P937
type Q56061
action filter_type
action find
entity Q1043
relation P937
type Q56061
[ANSWER]
['Q182436', 'P937', {'concept': 'Q56061'}] ['Q1043', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Q1043 property:P937 ?i . ?i rdf:type ontology:Q56061 } UNION { resource:Q182436 property:P937 ?i . ?i rdf:type ontology:Q56061 } }
Uppsala Stockholm
2
action count
action union
action filter_type
action find
entity librarian
relation work location
type administrative territorial entity
action filter_type
action find
entity Carl Linnaeus
relation work location
type administrative territorial entity
['librarian', 'work location', {'concept': 'administrative territorial entity'}] ['Carl Linnaeus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Carl_Linnaeus property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity } UNION { resource:librarian property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q955469
P19
Q502895
USER
Who have location of birth at Artins ?
(c(Q502895),P19,Q955469)
action filter_type
action find_reverse
entity Q955469
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q955469']
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q955469 . ?z rdf:type ontology:Q502895 }
Artins
action filter_type
action find_reverse
entity Artins
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Artins']
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Artins . ?z rdf:type ontology:common_name }
[]
common name
Q21519880 Q664948
SYSTEM
Louis Bourgeois, Alfred Albert Martineau
Q21519880 Q664948
(c(Q502895),P19,Q955469)
action filter_type
action find_reverse
entity Q955469
relation P19
type Q502895
[ANSWERS] have location of birth at Artins
[{'concept': 'Q502895'}, 'P19', 'Q955469']
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q955469 . ?z rdf:type ontology:Q502895 }
Louis Bourgeois Alfred Albert Martineau
Louis Bourgeois and Alfred Albert Martineau have location of birth at Artins
Louis Bourgeois Alfred Albert Martineau
action filter_type
action find_reverse
entity Artins
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Artins']
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Artins . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21519880 Q664948
P734
Q82799
USER
Who are associated with those people ?
(Q21519880,P734,c(Q82799)) (Q664948,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
['Q21519880', 'P734', {'concept': 'Q82799'}] ['Q664948', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?e ) { ( resource:Q21519880 ) ( resource:Q664948 ) } . ?e property:P734 ?m . ?m rdf:type ontology:Q82799 }
Louis Bourgeois Alfred Albert Martineau
action filter_type
action find
entity prev_answer
relation family name
type name
['Louis Bourgeois', 'family name', {'concept': 'name'}] ['Alfred Albert Martineau', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?e ) { ( resource:Louis_Bourgeois ) ( resource:Alfred_Albert_Martineau ) } . ?e property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q16860299 Q21504724
SYSTEM
Bourgeois, Martineau
Q16860299 Q21504724
(Q21519880,P734,c(Q82799)) (Q664948,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
[ANSWERS] are associated with those people
['Q21519880', 'P734', {'concept': 'Q82799'}] ['Q664948', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?e ) { ( resource:Q21519880 ) ( resource:Q664948 ) } . ?e property:P734 ?m . ?m rdf:type ontology:Q82799 }
Bourgeois Martineau
Bourgeois and Martineau are associated with those people
Bourgeois Martineau
action filter_type
action find
entity prev_answer
relation family name
type name
['Louis Bourgeois', 'family name', {'concept': 'name'}] ['Alfred Albert Martineau', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?e ) { ( resource:Louis_Bourgeois ) ( resource:Alfred_Albert_Martineau ) } . ?e property:family_name ?m . ?m rdf:type ontology:name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21519880
P21
Q290
USER
Which sex does that person possess ?
(Q21519880,P21,c(Q290))
action filter_type
action find
entity Q21519880
relation P21
type Q290
['Q21519880', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q21519880 property:P21 ?t . ?t rdf:type ontology:Q290 }
Louis Bourgeois
action filter_type
action find
entity Louis Bourgeois
relation gender
type sex
['Louis Bourgeois', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Bourgeois property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q21519880
SYSTEM
Did you mean Louis Bourgeois ?
Q16860299 Q21504724
(Q16860299,P21,c(Q290)) (Q21504724,P21,c(Q290))
[ANSWER]
['Q16860299', 'P21', {'concept': 'Q290'}] ['Q21504724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q21519880 property:P21 ?t . ?t rdf:type ontology:Q290 }
Bourgeois Martineau
Did you mean Louis Bourgeois ?
Louis Bourgeois
['Bourgeois', 'gender', {'concept': 'sex'}] ['Martineau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Bourgeois property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21519880,P21,c(Q290))
['Q21519880', 'P21', {'concept': 'Q290'}]
['Louis Bourgeois', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q21519880,P21,c(Q290))
action filter_type
action find
entity Q21519880
relation P21
type Q290
That person possesses a [ANSWER]
['Q21519880', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q21519880 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Louis Bourgeois
relation gender
type sex
['Louis Bourgeois', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Bourgeois property:gender ?t . ?t rdf:type ontology:sex }
[]