Simple Question (Direct)
Simple Question
Q12010998
P9
Q502895
USER
Who are the sisters of Yngvil Armand ?
(Q12010998,P9,c(Q502895))
action filter_type
action find
entity Q12010998
relation P9
type Q502895
['Q12010998', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q12010998 property:P9 ?p . ?p rdf:type ontology:Q502895 }
Yngvil Armand
action filter_type
action find
entity Yngvil Armand
relation sister
type common name
['Yngvil Armand', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yngvil_Armand property:sister ?p . ?p rdf:type ontology:common_name }
[]
common name
Q5564966 Q4582058 Q11989079
SYSTEM
Gisken Armand, Frøydis Armand, Merete Armand
Q5564966 Q4582058 Q11989079
(Q12010998,P9,c(Q502895))
action filter_type
action find
entity Q12010998
relation P9
type Q502895
The sisters of Yngvil Armand are [ANSWERS]
['Q12010998', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q12010998 property:P9 ?p . ?p rdf:type ontology:Q502895 }
Gisken Armand Frøydis Armand Merete Armand
The sisters of Yngvil Armand are Gisken Armand, Frøydis Armand and Merete Armand
Gisken Armand Frøydis Armand Merete Armand
action filter_type
action find
entity Yngvil Armand
relation sister
type common name
['Yngvil Armand', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yngvil_Armand property:sister ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5564966 Q4582058 Q11989079
P40
Q502895
USER
Who have Gisken Armand, Frøydis Armand and Merete Armand as a child ?
(c(Q502895),P40,Q5564966) (c(Q502895),P40,Q4582058) (c(Q502895),P40,Q11989079)
action union
action filter_type
action find_reverse
entity Q5564966
relation P40
type Q502895
action filter_type
action find_reverse
entity Q4582058
relation P40
type Q502895
action filter_type
action find_reverse
entity Q11989079
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5564966'] [{'concept': 'Q502895'}, 'P40', 'Q4582058'] [{'concept': 'Q502895'}, 'P40', 'Q11989079']
SELECT DISTINCT ?l WHERE { { ?l property:P40 resource:Q4582058 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P40 resource:Q5564966 . ?l rdf:type ontology:Q502895 } }
Gisken Armand Frøydis Armand Merete Armand
action union
action filter_type
action find_reverse
entity Gisken Armand
relation child
type common name
action filter_type
action find_reverse
entity Frøydis Armand
relation child
type common name
action filter_type
action find_reverse
entity Merete Armand
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gisken Armand'] [{'concept': 'common name'}, 'child', 'Frøydis Armand'] [{'concept': 'common name'}, 'child', 'Merete Armand']
SELECT DISTINCT ?l WHERE { { ?l property:child resource:Frøydis_Armand . ?l rdf:type ontology:common_name } UNION { ?l property:child resource:Gisken_Armand . ?l rdf:type ontology:common_name } }
[]
common name
Q1304102
SYSTEM
Eilif Armand
Q1304102
(c(Q502895),P40,Q5564966) (c(Q502895),P40,Q4582058) (c(Q502895),P40,Q11989079)
action union
action filter_type
action find_reverse
entity Q5564966
relation P40
type Q502895
action filter_type
action find_reverse
entity Q4582058
relation P40
type Q502895
action filter_type
action find_reverse
entity Q11989079
relation P40
type Q502895
[ANSWER] have Gisken Armand, Frøydis Armand and Merete Armand as a child
[{'concept': 'Q502895'}, 'P40', 'Q5564966'] [{'concept': 'Q502895'}, 'P40', 'Q4582058'] [{'concept': 'Q502895'}, 'P40', 'Q11989079']
SELECT DISTINCT ?l WHERE { { ?l property:P40 resource:Q4582058 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P40 resource:Q5564966 . ?l rdf:type ontology:Q502895 } }
Eilif Armand
Eilif Armand have Gisken Armand, Frøydis Armand and Merete Armand as a child
Eilif Armand
action union
action filter_type
action find_reverse
entity Gisken Armand
relation child
type common name
action filter_type
action find_reverse
entity Frøydis Armand
relation child
type common name
action filter_type
action find_reverse
entity Merete Armand
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gisken Armand'] [{'concept': 'common name'}, 'child', 'Frøydis Armand'] [{'concept': 'common name'}, 'child', 'Merete Armand']
SELECT DISTINCT ?l WHERE { { ?l property:child resource:Frøydis_Armand . ?l rdf:type ontology:common_name } UNION { ?l property:child resource:Gisken_Armand . ?l rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12010998
P19
Q13220204
USER
Where was Yngvil Armand born ?
(Q12010998,P19,c(Q13220204))
action filter_type
action find
entity Q12010998
relation P19
type Q13220204
['Q12010998', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q12010998 property:P19 ?a . ?a rdf:type ontology:Q13220204 }
Yngvil Armand
action filter_type
action find
entity Yngvil Armand
relation place of birth
type second-level administrative country subdivision
['Yngvil Armand', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Yngvil_Armand property:place_of_birth ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q113720
SYSTEM
Høyanger
Q113720
(Q12010998,P19,c(Q13220204))
action filter_type
action find
entity Q12010998
relation P19
type Q13220204
Yngvil Armand was born in [ANSWER]
['Q12010998', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q12010998 property:P19 ?a . ?a rdf:type ontology:Q13220204 }
Høyanger
Yngvil Armand was born in Høyanger
Høyanger
action filter_type
action find
entity Yngvil Armand
relation place of birth
type second-level administrative country subdivision
['Yngvil Armand', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Yngvil_Armand property:place_of_birth ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2376398
Q13220204
USER
And also tell me about Piet Camps?
(Q2376398,P19,c(Q13220204))
action filter_type
action find
entity Q2376398
relation P19
type Q13220204
['Q2376398', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q2376398 property:P19 ?u }
Piet Camps
action filter_type
action find
entity Piet Camps
relation place of birth
type second-level administrative country subdivision
['Piet Camps', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Piet_Camps property:place_of_birth ?u }
[]
second-level administrative country subdivision
Q9777
SYSTEM
Venlo
Q9777
(Q2376398,P19,c(Q13220204))
action filter_type
action find
entity Q2376398
relation P19
type Q13220204
[ANSWER]
['Q2376398', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q2376398 property:P19 ?u }
Venlo
Venlo
action filter_type
action find
entity Piet Camps
relation place of birth
type second-level administrative country subdivision
['Piet Camps', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Piet_Camps property:place_of_birth ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q486972
USER
How many administrative territories or human settlements are partner towns of that administrative country subdivision ?
(Q9777,P190,c(Q15617994)) (Q9777,P190,c(Q486972)) (Q9777,P190,c(Q15617994)) (Q9777,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q9777
relation P190
type Q15617994
action filter_type
action find
entity Q9777
relation P190
type Q486972
['Q9777', 'P190', {'concept': 'Q15617994'}] ['Q9777', 'P190', {'concept': 'Q486972'}] ['Q9777', 'P190', {'concept': 'Q15617994'}] ['Q9777', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { ?s rdf:type ontology:Q15617994 . resource:Q9777 property:P190 ?s } UNION { resource:Q9777 property:P190 ?s . ?s rdf:type ontology:Q486972 } }
action count
action union
action filter_type
action find
entity Venlo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Venlo
relation sister city
type human settlement
['Venlo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Venlo', 'sister city', {'concept': 'human settlement'}] ['Venlo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Venlo', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venlo property:sister_city ?s } UNION { resource:Venlo property:sister_city ?s . ?s rdf:type ontology:human_settlement } }
[]
designation for an administrative territorial entity human settlement
SYSTEM
3
Q41753 Q2805 Q6596
(Q9777,P190,c(Q15617994)) (Q9777,P190,c(Q486972)) (Q9777,P190,c(Q15617994)) (Q9777,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q9777
relation P190
type Q15617994
action filter_type
action find
entity Q9777
relation P190
type Q486972
[ANSWER]
['Q9777', 'P190', {'concept': 'Q15617994'}] ['Q9777', 'P190', {'concept': 'Q486972'}] ['Q9777', 'P190', {'concept': 'Q15617994'}] ['Q9777', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { ?s rdf:type ontology:Q15617994 . resource:Q9777 property:P190 ?s } UNION { resource:Q9777 property:P190 ?s . ?s rdf:type ontology:Q486972 } }
Klagenfurt Krefeld Gorizia
3
action count
action union
action filter_type
action find
entity Venlo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Venlo
relation sister city
type human settlement
['Venlo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Venlo', 'sister city', {'concept': 'human settlement'}] ['Venlo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Venlo', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venlo property:sister_city ?s } UNION { resource:Venlo property:sister_city ?s . ?s rdf:type ontology:human_settlement } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q9035 Q5564966
P161 P364
Q838948
USER
Which works of art have Gisken Armand as actor and were done in Danish language during their inception ?
AND((c(Q838948),P161,Q5564966), (c(Q838948),P364,Q9035))
action filter_type
action intersection
action find_reverse
entity Q5564966
relation P161
action find_reverse
entity Q9035
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q5564966'], [{'concept': 'Q838948'}, 'P364', 'Q9035']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q5564966 . ?d property:P364 resource:Q9035 }
Danish Gisken Armand
action filter_type
action intersection
action find_reverse
entity Gisken Armand
relation cast member
action find_reverse
entity Danish
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Gisken Armand'], [{'concept': 'work of art'}, 'original language of work', 'Danish']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Gisken_Armand . ?d property:original_language_of_work resource:Danish }
[]
work of art
Q1766342
SYSTEM
A Cry in the Woods
Q1766342
AND((c(Q838948),P161,Q5564966), (c(Q838948),P364,Q9035))
action filter_type
action intersection
action find_reverse
entity Q5564966
relation P161
action find_reverse
entity Q9035
relation P364
type Q838948
[ANSWER] have Gisken Armand as actor and were done in Danish language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q5564966'], [{'concept': 'Q838948'}, 'P364', 'Q9035']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q5564966 . ?d property:P364 resource:Q9035 }
A Cry in the Woods
A Cry in the Woods have Gisken Armand as actor and were done in Danish language during their inception
A Cry in the Woods
action filter_type
action intersection
action find_reverse
entity Gisken Armand
relation cast member
action find_reverse
entity Danish
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Gisken Armand'], [{'concept': 'work of art'}, 'original language of work', 'Danish']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Gisken_Armand . ?d property:original_language_of_work resource:Danish }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1766342 Q556472
P495
Q15617994
USER
Is Alperstedt the country of origin of that work of art ?
(Q1766342,P495,Q556472)
action is_in
entity Q556472
action find
entity Q1766342
relation P495
['Q1766342', 'P495', 'Q556472']
ASK WHERE { resource:Q1766342 property:P495 resource:Q556472 }
A Cry in the Woods Alperstedt
action is_in
entity Alperstedt
action find
entity A Cry in the Woods
relation country of origin
['A Cry in the Woods', 'country of origin', 'Alperstedt']
ASK WHERE { resource:A_Cry_in_the_Woods property:country_of_origin resource:Alperstedt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1766342,P495,Q556472)
action is_in
entity Q556472
action find
entity Q1766342
relation P495
[ANSWER]
['Q1766342', 'P495', 'Q556472']
ASK WHERE { resource:Q1766342 property:P495 resource:Q556472 }
No
action is_in
entity Alperstedt
action find
entity A Cry in the Woods
relation country of origin
['A Cry in the Woods', 'country of origin', 'Alperstedt']
ASK WHERE { resource:A_Cry_in_the_Woods property:country_of_origin resource:Alperstedt }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q150 Q9035
P1412
Q502895
USER
Which people talks in Danish and French ?
AND((c(Q502895),P1412,Q9035), (c(Q502895),P1412,Q150))
action filter_type
action intersection
action find_reverse
entity Q9035
relation P1412
action find_reverse
entity Q150
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q9035'], [{'concept': 'Q502895'}, 'P1412', 'Q150']]}
SELECT DISTINCT ?x WHERE { ?x property:P1412 resource:Q9035 . ?x property:P1412 resource:Q150 . ?x rdf:type ontology:Q502895 }
French Danish
action filter_type
action intersection
action find_reverse
entity Danish
relation languages spoken, written or signed
action find_reverse
entity French
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Danish'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'French']]}
SELECT DISTINCT ?x WHERE { ?x property:languages_spoken,_written_or_signed resource:Danish . ?x property:languages_spoken,_written_or_signed resource:French . ?x rdf:type ontology:common_name }
[]
common name
Q117763 Q971702 Q3430368 Q254265 Q472147 Q1369400 Q3076966 Q12331855 Q980235 Q22230918
SYSTEM
Some of them are Giuseppe Caspar Mezzofanti, Thor Lange, Ludvig Müller, James Robertson Justice, Charles Berlitz, Peter Ryom, Frederik Winkel Horn, Pierre Collignon, Conrad Malte-Brun, Mette Sophie Gad
Q689120 Q254265 Q83578 Q12331855 Q472147 Q1369400 Q117763 Q3076966 Q3455700 Q102139 Q971702 Q1389258 Q980235 Q12319776 Q3430368 Q22230918
AND((c(Q502895),P1412,Q9035), (c(Q502895),P1412,Q150))
action filter_type
action intersection
action find_reverse
entity Q9035
relation P1412
action find_reverse
entity Q150
relation P1412
type Q502895
[ANSWERS] talk in Danish and French
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q9035'], [{'concept': 'Q502895'}, 'P1412', 'Q150']]}
SELECT DISTINCT ?x WHERE { ?x property:P1412 resource:Q9035 . ?x property:P1412 resource:Q150 . ?x rdf:type ontology:Q502895 }
Erling Mandelmann James Robertson Justice Asger Jorn Pierre Collignon Charles Berlitz Peter Ryom Giuseppe Caspar Mezzofanti Frederik Winkel Horn Régis Boyer Margrethe II of Denmark Thor Lange Henrik, Prince Consort of Denmark Conrad Malte-Brun Joachim Wasserschlebe Ludvig Müller Mette Sophie Gad
Giuseppe Caspar Mezzofanti, Thor Lange, Ludvig Müller, James Robertson Justice, Charles Berlitz, Peter Ryom, Frederik Winkel Horn, Pierre Collignon, Conrad Malte-Brun and Mette Sophie Gad talk in Danish and French
Giuseppe Caspar Mezzofanti Thor Lange Ludvig Müller James Robertson Justice Charles Berlitz Peter Ryom Frederik Winkel Horn Pierre Collignon Conrad Malte-Brun Mette Sophie Gad
action filter_type
action intersection
action find_reverse
entity Danish
relation languages spoken, written or signed
action find_reverse
entity French
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Danish'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'French']]}
SELECT DISTINCT ?x WHERE { ?x property:languages_spoken,_written_or_signed resource:Danish . ?x property:languages_spoken,_written_or_signed resource:French . ?x rdf:type ontology:common_name }
[]