Simple Question (Direct)
Simple Question
Q3083671
P22
Q502895
USER
Who was the father of François-Thomas Germain ?
(Q3083671,P22,c(Q502895))
action filter_type
action find
entity Q3083671
relation P22
type Q502895
['Q3083671', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3083671 property:P22 ?l . ?l rdf:type ontology:Q502895 }
François-Thomas Germain
action filter_type
action find
entity François-Thomas Germain
relation father
type common name
['François-Thomas Germain', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:François-Thomas_Germain property:father ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2398991
SYSTEM
Thomas Germain
Q2398991
(Q3083671,P22,c(Q502895))
action filter_type
action find
entity Q3083671
relation P22
type Q502895
The father of François-[ANSWER] was called [ANSWER]
['Q3083671', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3083671 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Thomas Germain
The father of François-Thomas Germain was called Thomas Germain
Thomas Germain
action filter_type
action find
entity François-Thomas Germain
relation father
type common name
['François-Thomas Germain', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:François-Thomas_Germain property:father ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2398991
P40
Q502895
USER
Which people are a successors of that one ?
(Q2398991,P40,c(Q502895))
action filter_type
action find
entity Q2398991
relation P40
type Q502895
['Q2398991', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2398991 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Thomas Germain
action filter_type
action find
entity Thomas Germain
relation child
type common name
['Thomas Germain', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Thomas_Germain property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2842357 Q3083671
SYSTEM
Ambroise-François Germain, François-Thomas Germain
Q2842357 Q3083671
(Q2398991,P40,c(Q502895))
action filter_type
action find
entity Q2398991
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q2398991', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2398991 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Ambroise-François Germain François-Thomas Germain
Ambroise-François Germain and François-Thomas Germain are a successors of that one
Ambroise-François Germain François-Thomas Germain
action filter_type
action find
entity Thomas Germain
relation child
type common name
['Thomas Germain', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Thomas_Germain property:child ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2842357 Q3083671
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q2842357) (c(Q502895),P40,Q3083671)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2842357'] [{'concept': 'Q502895'}, 'P40', 'Q3083671']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Q2842357 ) ( resource:Q3083671 ) } . ?w rdf:type ontology:Q502895 . ?w property:P40 ?k }
Ambroise-François Germain François-Thomas Germain
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ambroise-François Germain'] [{'concept': 'common name'}, 'child', 'François-Thomas Germain']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Ambroise-François_Germain ) ( resource:François-Thomas_Germain ) } . ?w rdf:type ontology:common_name . ?w property:child ?k }
[]
common name
Q2398991
SYSTEM
Thomas Germain
Q2398991
(c(Q502895),P40,Q2842357) (c(Q502895),P40,Q3083671)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q2842357'] [{'concept': 'Q502895'}, 'P40', 'Q3083671']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Q2842357 ) ( resource:Q3083671 ) } . ?w rdf:type ontology:Q502895 . ?w property:P40 ?k }
Thomas Germain
Thomas Germain have those ones as a child
Thomas Germain
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ambroise-François Germain'] [{'concept': 'common name'}, 'child', 'François-Thomas Germain']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Ambroise-François_Germain ) ( resource:François-Thomas_Germain ) } . ?w rdf:type ontology:common_name . ?w property:child ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842357
P19
Q56061
USER
Which administrative territory is the birthplace of Ambroise-François Germain ?
(Q2842357,P19,c(Q56061))
action filter_type
action find
entity Q2842357
relation P19
type Q56061
['Q2842357', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q2842357 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Ambroise-François Germain
action filter_type
action find
entity Ambroise-François Germain
relation place of birth
type administrative territorial entity
['Ambroise-François Germain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ambroise-François_Germain property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2842357,P19,c(Q56061))
action filter_type
action find
entity Q2842357
relation P19
type Q56061
[ANSWER] is the birthplace of Ambroise-François Germain
['Q2842357', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q2842357 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Paris
Paris is the birthplace of Ambroise-François Germain
Paris
action filter_type
action find
entity Ambroise-François Germain
relation place of birth
type administrative territorial entity
['Ambroise-François Germain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ambroise-François_Germain property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2842357
P7
Q502895
USER
Who has that one as their sibling ?
(c(Q502895),P7,Q90)
action filter_type
action find
entity Q2842357
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q90']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2842357 property:P7 ?g }
Ambroise-François Germain
action filter_type
action find
entity Ambroise-François Germain
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paris']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Ambroise-François_Germain property:brother ?g }
[]
common name
Q3083671
SYSTEM
François-Thomas Germain
Q3083671
(c(Q502895),P7,Q90)
action filter_type
action find
entity Q2842357
relation P7
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q90']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2842357 property:P7 ?g }
François-Thomas Germain
François-Thomas Germain has that one as their sibling
François-Thomas Germain
action filter_type
action find
entity Ambroise-François Germain
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paris']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Ambroise-François_Germain property:brother ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories did that person die ?
(Q3083671,P20,c(Q56061))
action count
action filter_type
action find
entity Q3083671
relation P20
type Q56061
['Q3083671', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q3083671 property:P20 ?w . ?w rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity François-Thomas Germain
relation place of death
type administrative territorial entity
['François-Thomas Germain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:François-Thomas_Germain property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q3083671,P20,c(Q56061))
action count
action filter_type
action find
entity Q3083671
relation P20
type Q56061
[ANSWER]
['Q3083671', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q3083671 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Paris
1
action count
action filter_type
action find
entity François-Thomas Germain
relation place of death
type administrative territorial entity
['François-Thomas Germain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:François-Thomas_Germain property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14942517 Q2842357
P735 P22
Q502895
USER
Which people have Ambroise-François Germain as a father and have Sophie as forename ?
AND((c(Q502895),P22,Q2842357), (c(Q502895),P735,Q14942517))
action filter_type
action intersection
action find_reverse
entity Q2842357
relation P22
action find_reverse
entity Q14942517
relation P735
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q2842357'], [{'concept': 'Q502895'}, 'P735', 'Q14942517']]}
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q2842357 . ?w property:P735 resource:Q14942517 . ?w rdf:type ontology:Q502895 }
Sophie Ambroise-François Germain
action filter_type
action intersection
action find_reverse
entity Ambroise-François Germain
relation father
action find_reverse
entity Sophie
relation given name
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ambroise-François Germain'], [{'concept': 'common name'}, 'given name', 'Sophie']]}
SELECT DISTINCT ?w WHERE { ?w property:father resource:Ambroise-François_Germain . ?w property:given_name resource:Sophie . ?w rdf:type ontology:common_name }
[]
common name
Q7103
SYSTEM
Sophie Germain
Q7103
AND((c(Q502895),P22,Q2842357), (c(Q502895),P735,Q14942517))
action filter_type
action intersection
action find_reverse
entity Q2842357
relation P22
action find_reverse
entity Q14942517
relation P735
type Q502895
[ANSWER] have Ambroise-François Germain as a father and have Sophie as forename
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q2842357'], [{'concept': 'Q502895'}, 'P735', 'Q14942517']]}
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q2842357 . ?w property:P735 resource:Q14942517 . ?w rdf:type ontology:Q502895 }
Sophie Germain
Sophie Germain have Ambroise-François Germain as a father and have Sophie as forename
Sophie Germain
action filter_type
action intersection
action find_reverse
entity Ambroise-François Germain
relation father
action find_reverse
entity Sophie
relation given name
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ambroise-François Germain'], [{'concept': 'common name'}, 'given name', 'Sophie']]}
SELECT DISTINCT ?w WHERE { ?w property:father resource:Ambroise-François_Germain . ?w property:given_name resource:Sophie . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7103 Q2842357
P40
Q502895
USER
Does Ambroise-François Germain have that one as a child ?
(Q2842357,P40,Q7103)
action is_in
entity Q7103
action find
entity Q2842357
relation P40
['Q2842357', 'P40', 'Q7103']
ASK WHERE { resource:Q2842357 property:P40 resource:Q7103 }
Sophie Germain Ambroise-François Germain
action is_in
entity Sophie Germain
action find
entity Ambroise-François Germain
relation child
['Ambroise-François Germain', 'child', 'Sophie Germain']
ASK WHERE { resource:Ambroise-François_Germain property:child resource:Sophie_Germain }
[]
common name
SYSTEM
YES
(Q2842357,P40,Q7103)
action is_in
entity Q7103
action find
entity Q2842357
relation P40
[ANSWER]
['Q2842357', 'P40', 'Q7103']
ASK WHERE { resource:Q2842357 property:P40 resource:Q7103 }
Yes
action is_in
entity Sophie Germain
action find
entity Ambroise-François Germain
relation child
['Ambroise-François Germain', 'child', 'Sophie Germain']
ASK WHERE { resource:Ambroise-François_Germain property:child resource:Sophie_Germain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q90 Q21903263 Q1471
P206
Q355304
USER
Is Paris located next to Splitters Creek and Seine ?
(Q90,P206,Q21903263) (Q90,P206,Q1471)
action is_in
entity Q90
action intersection
action find_reverse
entity Q21903263
relation P206
action find_reverse
entity Q1471
relation P206
['Q90', 'P206', 'Q21903263'] ['Q90', 'P206', 'Q1471']
ASK WHERE { resource:Q90 property:P206 resource:Q21903263 . resource:Q90 property:P206 resource:Q1471 }
Paris Splitters Creek Seine
action is_in
entity Paris
action intersection
action find_reverse
entity Splitters Creek
relation located next to body of water
action find_reverse
entity Seine
relation located next to body of water
['Paris', 'located next to body of water', 'Splitters Creek'] ['Paris', 'located next to body of water', 'Seine']
ASK WHERE { resource:Paris property:located_next_to_body_of_water resource:Splitters_Creek . resource:Paris property:located_next_to_body_of_water resource:Seine }
[]
watercourse
SYSTEM
NO and YES respectively
(Q90,P206,Q21903263) (Q90,P206,Q1471)
action is_in
entity Q90
action intersection
action find_reverse
entity Q21903263
relation P206
action find_reverse
entity Q1471
relation P206
[ANSWER]
['Q90', 'P206', 'Q21903263'] ['Q90', 'P206', 'Q1471']
ASK WHERE { resource:Q90 property:P206 resource:Q21903263 . resource:Q90 property:P206 resource:Q1471 }
NO and YES respectively
action is_in
entity Paris
action intersection
action find_reverse
entity Splitters Creek
relation located next to body of water
action find_reverse
entity Seine
relation located next to body of water
['Paris', 'located next to body of water', 'Splitters Creek'] ['Paris', 'located next to body of water', 'Seine']
ASK WHERE { resource:Paris property:located_next_to_body_of_water resource:Splitters_Creek . resource:Paris property:located_next_to_body_of_water resource:Seine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7103 Q142 Q624412
P27
Q15617994
USER
Is Sophie Germain a native of France and Scharnhorst, Lower Saxony ?
(Q7103,P27,Q142) (Q7103,P27,Q624412)
action is_in
entity Q7103
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q624412
relation P27
['Q7103', 'P27', 'Q142'] ['Q7103', 'P27', 'Q624412']
ASK WHERE { resource:Q7103 property:P27 resource:Q142 . resource:Q7103 property:P27 resource:Q624412 }
Sophie Germain France Scharnhorst, Lower Saxony
action is_in
entity Sophie Germain
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Scharnhorst, Lower Saxony
relation country of citizenship
['Sophie Germain', 'country of citizenship', 'France'] ['Sophie Germain', 'country of citizenship', 'Scharnhorst, Lower Saxony']
ASK WHERE { resource:Sophie_Germain property:country_of_citizenship resource:France . resource:Sophie_Germain property:country_of_citizenship resource:Scharnhorst,_Lower_Saxony }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q7103,P27,Q142) (Q7103,P27,Q624412)
action is_in
entity Q7103
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q624412
relation P27
[ANSWER]
['Q7103', 'P27', 'Q142'] ['Q7103', 'P27', 'Q624412']
ASK WHERE { resource:Q7103 property:P27 resource:Q142 . resource:Q7103 property:P27 resource:Q624412 }
YES and NO respectively
action is_in
entity Sophie Germain
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Scharnhorst, Lower Saxony
relation country of citizenship
['Sophie Germain', 'country of citizenship', 'France'] ['Sophie Germain', 'country of citizenship', 'Scharnhorst, Lower Saxony']
ASK WHERE { resource:Sophie_Germain property:country_of_citizenship resource:France . resource:Sophie_Germain property:country_of_citizenship resource:Scharnhorst,_Lower_Saxony }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7103
P40
Q502895
USER
How many people have Sophie Germain as an offspring ?
(c(Q502895),P40,Q7103)
action count
action filter_type
action find_reverse
entity Q7103
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7103']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P40 resource:Q7103 . ?u rdf:type ontology:Q502895 }
Sophie Germain
action count
action filter_type
action find_reverse
entity Sophie Germain
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sophie Germain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:child resource:Sophie_Germain . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2842357
(c(Q502895),P40,Q7103)
action count
action filter_type
action find_reverse
entity Q7103
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q7103']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P40 resource:Q7103 . ?u rdf:type ontology:Q502895 }
Ambroise-François Germain
1
action count
action filter_type
action find_reverse
entity Sophie Germain
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sophie Germain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:child resource:Sophie_Germain . ?u rdf:type ontology:common_name }
[]