Simple Question (Direct)
Simple Question
Q2641964
P7
Q502895
USER
Who have Hendrick Bloemaert as their brother ?
(Q2641964,P7,c(Q502895))
action filter_type
action find
entity Q2641964
relation P7
type Q502895
['Q2641964', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q2641964 property:P7 ?k }
Hendrick Bloemaert
action filter_type
action find
entity Hendrick Bloemaert
relation brother
type common name
['Hendrick Bloemaert', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Hendrick_Bloemaert property:brother ?k }
[]
common name
Q2207316 Q5499257 Q518767
SYSTEM
Adriaan Bloemaert, Frederik Bloemaert, Cornelis Bloemaert
Q2207316 Q5499257 Q518767
(Q2641964,P7,c(Q502895))
action filter_type
action find
entity Q2641964
relation P7
type Q502895
[ANSWERS] have Hendrick Bloemaert as their brother
['Q2641964', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q2641964 property:P7 ?k }
Adriaan Bloemaert Frederik Bloemaert Cornelis Bloemaert
Adriaan Bloemaert, Frederik Bloemaert and Cornelis Bloemaert have Hendrick Bloemaert as their brother
Adriaan Bloemaert Frederik Bloemaert Cornelis Bloemaert
action filter_type
action find
entity Hendrick Bloemaert
relation brother
type common name
['Hendrick Bloemaert', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Hendrick_Bloemaert property:brother ?k }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2207316 Q5499257 Q518767
P7
Q502895
USER
Who are the brother of those ones ?
(Q2207316,P7,c(Q502895)) (Q5499257,P7,c(Q502895)) (Q518767,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q2207316', 'P7', {'concept': 'Q502895'}] ['Q5499257', 'P7', {'concept': 'Q502895'}] ['Q518767', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?a property:P7 ?d . ?d rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q2207316 ) ( resource:Q5499257 ) ( resource:Q518767 ) } }
Adriaan Bloemaert Frederik Bloemaert Cornelis Bloemaert
action filter_type
action find
entity prev_answer
relation brother
type common name
['Adriaan Bloemaert', 'brother', {'concept': 'common name'}] ['Frederik Bloemaert', 'brother', {'concept': 'common name'}] ['Cornelis Bloemaert', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?a property:brother ?d . ?d rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Adriaan_Bloemaert ) ( resource:Frederik_Bloemaert ) ( resource:Cornelis_Bloemaert ) } }
[]
common name
Q2641964 Q518767 Q2641964
SYSTEM
Hendrick Bloemaert for 1st, 3rd, Cornelis Bloemaert for 2nd
Q2641964 Q5499257 Q518767 Q2207316 Q2641964 Q518767 Q2207316 Q2641964 Q5499257
(Q2207316,P7,c(Q502895)) (Q5499257,P7,c(Q502895)) (Q518767,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS]
['Q2207316', 'P7', {'concept': 'Q502895'}] ['Q5499257', 'P7', {'concept': 'Q502895'}] ['Q518767', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?a property:P7 ?d . ?d rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q2207316 ) ( resource:Q5499257 ) ( resource:Q518767 ) } }
Hendrick Bloemaert Frederik Bloemaert Cornelis Bloemaert Adriaan Bloemaert Hendrick Bloemaert Cornelis Bloemaert Adriaan Bloemaert Hendrick Bloemaert Frederik Bloemaert
The brother of those ones are Hendrick Bloemaert, Cornelis Bloemaert and Hendrick Bloemaert
Hendrick Bloemaert Cornelis Bloemaert Hendrick Bloemaert
action filter_type
action find
entity prev_answer
relation brother
type common name
['Adriaan Bloemaert', 'brother', {'concept': 'common name'}] ['Frederik Bloemaert', 'brother', {'concept': 'common name'}] ['Cornelis Bloemaert', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?a property:brother ?d . ?d rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Adriaan_Bloemaert ) ( resource:Frederik_Bloemaert ) ( resource:Cornelis_Bloemaert ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2641964
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q2641964)
action filter_type
action find_reverse
entity Q2641964
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2641964']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q2641964 . ?i rdf:type ontology:Q502895 }
Hendrick Bloemaert
action filter_type
action find_reverse
entity Hendrick Bloemaert
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hendrick Bloemaert']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Hendrick_Bloemaert . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q518767
SYSTEM
Did you mean Cornelis Bloemaert ?
Q2641964 Q518767 Q2641964
(c(Q502895),P40,Q2641964) (c(Q502895),P40,Q518767) (c(Q502895),P40,Q2641964)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q2641964'] [{'concept': 'Q502895'}, 'P40', 'Q518767'] [{'concept': 'Q502895'}, 'P40', 'Q2641964']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q2641964 . ?i rdf:type ontology:Q502895 }
Hendrick Bloemaert Cornelis Bloemaert Hendrick Bloemaert
Did you mean Cornelis Bloemaert ?
Cornelis Bloemaert
[{'concept': 'common name'}, 'child', 'Hendrick Bloemaert'] [{'concept': 'common name'}, 'child', 'Cornelis Bloemaert'] [{'concept': 'common name'}, 'child', 'Hendrick Bloemaert']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Hendrick_Bloemaert . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Hendrick Bloemaert. Could you tell me the answer for that?
(c(Q502895),P40,Q2641964)
Q2641964
[{'concept': 'Q502895'}, 'P40', 'Q2641964']
[{'concept': 'common name'}, 'child', 'Hendrick Bloemaert']
[]
Q329811
SYSTEM
Abraham Bloemaert
Q329811
(c(Q502895),P40,Q2641964)
action filter_type
action find_reverse
entity Q2641964
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q2641964']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q2641964 . ?i rdf:type ontology:Q502895 }
Abraham Bloemaert
Abraham Bloemaert is that one
Abraham Bloemaert
action filter_type
action find_reverse
entity Hendrick Bloemaert
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hendrick Bloemaert']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Hendrick_Bloemaert . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329811
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q329811,P19,c(Q56061))
action filter_type
action find
entity Q329811
relation P19
type Q56061
['Q329811', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q329811 property:P19 ?p }
Abraham Bloemaert
action filter_type
action find
entity Abraham Bloemaert
relation place of birth
type administrative territorial entity
['Abraham Bloemaert', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Abraham_Bloemaert property:place_of_birth ?p }
[]
administrative territorial entity
Q244327
SYSTEM
Gorinchem
Q244327
(Q329811,P19,c(Q56061))
action filter_type
action find
entity Q329811
relation P19
type Q56061
That person was born in [ANSWER]
['Q329811', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q329811 property:P19 ?p }
Gorinchem
That person was born in Gorinchem
Gorinchem
action filter_type
action find
entity Abraham Bloemaert
relation place of birth
type administrative territorial entity
['Abraham Bloemaert', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Abraham_Bloemaert property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q244327
P47
Q13220204
USER
Which administrative country subdivisions are bordered by that administrative territory ?
(c(Q13220204),P47,Q244327)
action filter_type
action find
entity Q244327
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q244327']
SELECT DISTINCT ?t WHERE { resource:Q244327 property:P47 ?t . ?t rdf:type ontology:Q13220204 }
Gorinchem
action filter_type
action find
entity Gorinchem
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Gorinchem']
SELECT DISTINCT ?t WHERE { resource:Gorinchem property:shares_border_with ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9880 Q1532373 Q1124998
SYSTEM
Werkendam, Zaltbommel, Giessenlanden
Q9880 Q952948 Q953012 Q1124998 Q1532373
(c(Q13220204),P47,Q244327)
action filter_type
action find
entity Q244327
relation P47
type Q13220204
[ANSWERS] are bordered by that administrative territory
[{'concept': 'Q13220204'}, 'P47', 'Q244327']
SELECT DISTINCT ?t WHERE { resource:Q244327 property:P47 ?t . ?t rdf:type ontology:Q13220204 }
Werkendam Lingewaal Hardinxveld-Giessendam Giessenlanden Zaltbommel
Werkendam, Zaltbommel and Giessenlanden are bordered by that administrative territory
Werkendam Zaltbommel Giessenlanden
action filter_type
action find
entity Gorinchem
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Gorinchem']
SELECT DISTINCT ?t WHERE { resource:Gorinchem property:shares_border_with ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q15617994 Q13220204
USER
Which administrative territories are namesakes of exactly 1 administrative country subdivision ?
(c(Q13220204),P138,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q13220204 . ?q property:P138 ?t } GROUP BY ?t } }
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?q property:named_after ?t } GROUP BY ?t } }
[]
designation for an administrative territorial entity second-level administrative country subdivision
Q159856 Q2719360
SYSTEM
Duchy of Brabant, Duchy of Luxembourg
Q159856 Q2719360
(c(Q13220204),P138,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[ANSWERS] are namesakes of exactly 1 administrative country subdivision
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q13220204 . ?q property:P138 ?t } GROUP BY ?t } }
Duchy of Brabant Duchy of Luxembourg
Duchy of Brabant and Duchy of Luxembourg are namesakes of exactly 1 administrative country subdivision
Duchy of Brabant Duchy of Luxembourg
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?c ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?q property:named_after ?t } GROUP BY ?t } }
[]