Simple Question (Direct)
Simple Question
Q257472
P1344
Q16510064
USER
What sporting events did María Espinoza participate in ?
(Q257472,P1344,c(Q16510064))
action filter_type
action find
entity Q257472
relation P1344
type Q16510064
['Q257472', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?n WHERE { resource:Q257472 property:P1344 ?n . ?n rdf:type ontology:Q16510064 }
María Espinoza
action filter_type
action find
entity María Espinoza
relation participant of
type sporting event
['María Espinoza', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?n WHERE { resource:María_Espinoza property:participant_of ?n . ?n rdf:type ontology:sporting_event }
[]
sporting event
Q2157561 Q1067970
SYSTEM
Taekwondo at the 2012 Summer Olympics – Women's +67 kg, Taekwondo at the 2008 Summer Olympics – Women's +67 kg
Q2157561 Q1067970
(Q257472,P1344,c(Q16510064))
action filter_type
action find
entity Q257472
relation P1344
type Q16510064
María Espinoza participated in [ANSWERS]
['Q257472', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?n WHERE { resource:Q257472 property:P1344 ?n . ?n rdf:type ontology:Q16510064 }
Taekwondo at the 2012 Summer Olympics – Women's +67 kg Taekwondo at the 2008 Summer Olympics – Women's +67 kg
María Espinoza participated in Taekwondo at the 2012 Summer Olympics – Women's +67 kg and Taekwondo at the 2008 Summer Olympics – Women's +67 kg
Taekwondo at the 2012 Summer Olympics – Women's +67 kg Taekwondo at the 2008 Summer Olympics – Women's +67 kg
action filter_type
action find
entity María Espinoza
relation participant of
type sporting event
['María Espinoza', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?n WHERE { resource:María_Espinoza property:participant_of ?n . ?n rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257472
P1412
Q34770
USER
Which language does María Espinoza speak in ?
(Q257472,P1412,c(Q34770))
action filter_type
action find
entity Q257472
relation P1412
type Q34770
['Q257472', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q257472 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
María Espinoza
action filter_type
action find
entity María Espinoza
relation languages spoken, written or signed
type language
['María Espinoza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:María_Espinoza property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q257472,P1412,c(Q34770))
action filter_type
action find
entity Q257472
relation P1412
type Q34770
María Espinoza speaks [ANSWER]
['Q257472', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q257472 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
María Espinoza speaks Spanish
Spanish
action filter_type
action find
entity María Espinoza
relation languages spoken, written or signed
type language
['María Espinoza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:María_Espinoza property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257472
P641
Q1914636
USER
Which activity was María Espinoza a part of ?
(Q257472,P641,c(Q1914636))
action filter_type
action find
entity Q257472
relation P641
type Q1914636
['Q257472', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q257472 property:P641 ?h . ?h rdf:type ontology:Q1914636 }
María Espinoza
action filter_type
action find
entity María Espinoza
relation sport
type activity
['María Espinoza', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:María_Espinoza property:sport ?h . ?h rdf:type ontology:activity }
[]
activity
Q36389
SYSTEM
taekwondo
Q36389
(Q257472,P641,c(Q1914636))
action filter_type
action find
entity Q257472
relation P641
type Q1914636
The [ANSWER] was María Espinoza a part of
['Q257472', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q257472 property:P641 ?h . ?h rdf:type ontology:Q1914636 }
taekwondo
The taekwondo was María Espinoza a part of
taekwondo
action filter_type
action find
entity María Espinoza
relation sport
type activity
['María Espinoza', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:María_Espinoza property:sport ?h . ?h rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257472
P106
Q12737077
USER
Which occupation is the profession of María Espinoza ?
(Q257472,P106,c(Q12737077))
action filter_type
action find
entity Q257472
relation P106
type Q12737077
['Q257472', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q257472 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
María Espinoza
action filter_type
action find
entity María Espinoza
relation occupation
type occupation
['María Espinoza', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:María_Espinoza property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q13382533
SYSTEM
taekwondo athlete
Q13382533
(Q257472,P106,c(Q12737077))
action filter_type
action find
entity Q257472
relation P106
type Q12737077
[ANSWER] is the profession of María Espinoza
['Q257472', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q257472 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
taekwondo athlete
Taekwondo athlete is the profession of María Espinoza
taekwondo athlete
action filter_type
action find
entity María Espinoza
relation occupation
type occupation
['María Espinoza', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:María_Espinoza property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19856920
Q12737077
USER
And what about François Bernadi?
(Q19856920,P106,c(Q12737077))
action filter_type
action find
entity Q19856920
relation P106
type Q12737077
['Q19856920', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q19856920 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
François Bernadi
action filter_type
action find
entity François Bernadi
relation occupation
type occupation
['François Bernadi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:François_Bernadi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1028181 Q36180 Q1281618
SYSTEM
painter, writer, sculptor
Q1028181 Q36180 Q1281618
(Q19856920,P106,c(Q12737077))
action filter_type
action find
entity Q19856920
relation P106
type Q12737077
[ANSWERS]
['Q19856920', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q19856920 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
painter writer sculptor
painter writer sculptor
action filter_type
action find
entity François Bernadi
relation occupation
type occupation
['François Bernadi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:François_Bernadi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3651392
P106
Q502895
USER
Do Camilian Demetrescu have the profession of those occupations ?
(Q3651392,P106,Q1028181) (Q3651392,P106,Q36180) (Q3651392,P106,Q1281618)
action is_in
entity prev_answer
action find
entity Q3651392
relation P106
['Q3651392', 'P106', 'Q1028181'] ['Q3651392', 'P106', 'Q36180'] ['Q3651392', 'P106', 'Q1281618']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1028181 ) ( resource:Q36180 ) ( resource:Q1281618 ) } . resource:Q3651392 property:P106 ?k }
Camilian Demetrescu
action is_in
entity prev_answer
action find
entity Camilian Demetrescu
relation occupation
['Camilian Demetrescu', 'occupation', 'painter'] ['Camilian Demetrescu', 'occupation', 'writer'] ['Camilian Demetrescu', 'occupation', 'sculptor']
ASK WHERE { VALUES ( ?k ) { ( resource:painter ) ( resource:writer ) ( resource:sculptor ) } . resource:Camilian_Demetrescu property:occupation ?k }
[]
common name
SYSTEM
YES
(Q3651392,P106,Q1028181) (Q3651392,P106,Q36180) (Q3651392,P106,Q1281618)
action is_in
entity prev_answer
action find
entity Q3651392
relation P106
[ANSWER]
['Q3651392', 'P106', 'Q1028181'] ['Q3651392', 'P106', 'Q36180'] ['Q3651392', 'P106', 'Q1281618']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1028181 ) ( resource:Q36180 ) ( resource:Q1281618 ) } . resource:Q3651392 property:P106 ?k }
Yes
action is_in
entity prev_answer
action find
entity Camilian Demetrescu
relation occupation
['Camilian Demetrescu', 'occupation', 'painter'] ['Camilian Demetrescu', 'occupation', 'writer'] ['Camilian Demetrescu', 'occupation', 'sculptor']
ASK WHERE { VALUES ( ?k ) { ( resource:painter ) ( resource:writer ) ( resource:sculptor ) } . resource:Camilian_Demetrescu property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Who has writer as the associated field of occupation ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { resource:Q36180 property:P425 ?c . ?c rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { resource:writer property:field_of_this_occupation ?c . ?c rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] has writer as the associated field of occupation
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { resource:Q36180 property:P425 ?c . ?c rdf:type ontology:Q1914636 }
literature
The literature has writer as the associated field of occupation
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { resource:writer property:field_of_this_occupation ?c . ?c rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q164236
Q1914636
USER
And also tell me about war correspondent?
(Q164236,P425,c(Q1914636))
action filter_type
action find
entity Q164236
relation P425
type Q1914636
['Q164236', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?m WHERE { resource:Q164236 property:P425 ?m . ?m rdf:type ontology:Q1914636 }
war correspondent
action filter_type
action find
entity war correspondent
relation field of this occupation
type activity
['war correspondent', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?m WHERE { resource:war_correspondent property:field_of_this_occupation ?m . ?m rdf:type ontology:activity }
[]
activity
Q17042980
SYSTEM
war journalism
Q17042980
(Q164236,P425,c(Q1914636))
action filter_type
action find
entity Q164236
relation P425
type Q1914636
[ANSWER]
['Q164236', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?m WHERE { resource:Q164236 property:P425 ?m . ?m rdf:type ontology:Q1914636 }
war journalism
war journalism
action filter_type
action find
entity war correspondent
relation field of this occupation
type activity
['war correspondent', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?m WHERE { resource:war_correspondent property:field_of_this_occupation ?m . ?m rdf:type ontology:activity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1028181
P180
Q838948 Q3305213
USER
How many works of art and paintings depict painter ?
(c(Q838948),P180,Q1028181) (c(Q3305213),P180,Q1028181)
action count
action union
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q3305213
[{'concept': 'Q838948'}, 'P180', 'Q1028181'] [{'concept': 'Q3305213'}, 'P180', 'Q1028181']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } }
painter
action count
action union
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
action filter_type
action find_reverse
entity painter
relation depicts
type painting
[{'concept': 'work of art'}, 'depicts', 'painter'] [{'concept': 'painting'}, 'depicts', 'painter']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:painting ) } }
[]
work of art painting
SYSTEM
2 works of art and 1 paintings
Q19060290 Q19346610 Q20064508
(c(Q838948),P180,Q1028181) (c(Q3305213),P180,Q1028181)
action count
action union
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q1028181'] [{'concept': 'Q3305213'}, 'P180', 'Q1028181']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } }
Domenichino Bust of Martin Fréminet Painter at the easel
2 works of art and 1 paintings
action count
action union
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
action filter_type
action find_reverse
entity painter
relation depicts
type painting
[{'concept': 'work of art'}, 'depicts', 'painter'] [{'concept': 'painting'}, 'depicts', 'painter']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:painting ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q502895 Q11204 Q12737077
USER
How many occupations did approximately 1 people and legislatures appoint ?
(c(Q12737077),P748,c(Q502895)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?b ) WHERE { { ?s property:P748 ?w . ?s rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q502895 } UNION { ?s property:P748 ?w . ?s rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q11204 } } GROUP BY ?s } }
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?b ) WHERE { { ?s property:appointed_by ?w . ?s rdf:type ontology:occupation . ?w rdf:type ontology:common_name } UNION { ?s property:appointed_by ?w . ?s rdf:type ontology:occupation . ?w rdf:type ontology:legislature } } GROUP BY ?s } }
[]
common name legislature occupation
SYSTEM
46
Q1846384 Q11793630 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q3246797 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q835586 Q531471 Q596123 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q1043568 Q862559 Q182762 Q1060844 Q3397406 Q691615 Q866680 Q152814 Q26000995 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q4122271 Q3315134 Q3777749 Q111784 Q1362216 Q25860233
(c(Q12737077),P748,c(Q502895)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?b ) WHERE { { ?s property:P748 ?w . ?s rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q502895 } UNION { ?s property:P748 ?w . ?s rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q11204 } } GROUP BY ?s } }
Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Chancellor of the Exchequer president of Bangladesh Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Vietnam Prime Minister of Malaysia Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands President of Vietnam Prime Minister of Malta President of the Parliament of Catalonia Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Premier of the People's Republic of China Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Secretary of State for Exiting the European Union
46
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?b ) WHERE { { ?s property:appointed_by ?w . ?s rdf:type ontology:occupation . ?w rdf:type ontology:common_name } UNION { ?s property:appointed_by ?w . ?s rdf:type ontology:occupation . ?w rdf:type ontology:legislature } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P39
Q502895
USER
Who was responsible for occupying the position of painter ?
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q1028181 . ?u rdf:type ontology:Q502895 }
painter
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:painter . ?u rdf:type ontology:common_name }
[]
common name
Q1677284
SYSTEM
Jean-Pierre Côté
Q1677284
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of painter
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q1028181 . ?u rdf:type ontology:Q502895 }
Jean-Pierre Côté
Jean-Pierre Côté was responsible for occupying the position of painter
Jean-Pierre Côté
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:painter . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028181
P101
Q502895
USER
Which people have field of work as that occupation ?
(c(Q502895),P101,Q1677284)
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1677284']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 resource:Q1028181 }
painter
action filter_type
action find_reverse
entity painter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Jean-Pierre Côté']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work resource:painter }
[]
common name
Q5582 Q352 Q102139
SYSTEM
Vincent van Gogh, Adolf Hitler, Margrethe II of Denmark
Q5582 Q352 Q102139
(c(Q502895),P101,Q1677284)
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
[ANSWERS] have field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q1677284']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 resource:Q1028181 }
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark have field of work as that occupation
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
action filter_type
action find_reverse
entity painter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Jean-Pierre Côté']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work resource:painter }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5582 Q352 Q102139
P40
Q502895
USER
Who have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child ?
(c(Q502895),P40,Q5582) (c(Q502895),P40,Q352) (c(Q502895),P40,Q102139)
action union
action filter_type
action find_reverse
entity Q5582
relation P40
type Q502895
action filter_type
action find_reverse
entity Q352
relation P40
type Q502895
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5582'] [{'concept': 'Q502895'}, 'P40', 'Q352'] [{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?o WHERE { { ?o property:P40 resource:Q5582 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P40 resource:Q352 . ?o rdf:type ontology:Q502895 } }
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
action union
action filter_type
action find_reverse
entity Vincent van Gogh
relation child
type common name
action filter_type
action find_reverse
entity Adolf Hitler
relation child
type common name
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vincent van Gogh'] [{'concept': 'common name'}, 'child', 'Adolf Hitler'] [{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?o WHERE { { ?o property:child resource:Vincent_van_Gogh . ?o rdf:type ontology:common_name } UNION { ?o property:child resource:Adolf_Hitler . ?o rdf:type ontology:common_name } }
[]
common name
Q78500 Q158314 Q151312
SYSTEM
Alois Hitler, Klara Hitler, Frederick IX of Denmark
Q2233061 Q158314 Q78500 Q151312 Q163010
(c(Q502895),P40,Q5582) (c(Q502895),P40,Q352) (c(Q502895),P40,Q102139)
action union
action filter_type
action find_reverse
entity Q5582
relation P40
type Q502895
action filter_type
action find_reverse
entity Q352
relation P40
type Q502895
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[ANSWERS] have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child
[{'concept': 'Q502895'}, 'P40', 'Q5582'] [{'concept': 'Q502895'}, 'P40', 'Q352'] [{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?o WHERE { { ?o property:P40 resource:Q5582 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P40 resource:Q352 . ?o rdf:type ontology:Q502895 } }
Theodorus van Gogh Klara Hitler Alois Hitler Frederick IX of Denmark Ingrid of Sweden
Alois Hitler, Klara Hitler and Frederick IX of Denmark have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child
Alois Hitler Klara Hitler Frederick IX of Denmark
action union
action filter_type
action find_reverse
entity Vincent van Gogh
relation child
type common name
action filter_type
action find_reverse
entity Adolf Hitler
relation child
type common name
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vincent van Gogh'] [{'concept': 'common name'}, 'child', 'Adolf Hitler'] [{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?o WHERE { { ?o property:child resource:Vincent_van_Gogh . ?o rdf:type ontology:common_name } UNION { ?o property:child resource:Adolf_Hitler . ?o rdf:type ontology:common_name } }
[]