Simple Question (Direct)
Simple Question
Q3186435
P106
Q12737077
USER
Which occupation has José Martínez de Velasco as his/her 's career ?
(Q3186435,P106,c(Q12737077))
action filter_type
action find
entity Q3186435
relation P106
type Q12737077
['Q3186435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3186435 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
José Martínez de Velasco
action filter_type
action find
entity José Martínez de Velasco
relation occupation
type occupation
['José Martínez de Velasco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:José_Martínez_de_Velasco property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3186435,P106,c(Q12737077))
action filter_type
action find
entity Q3186435
relation P106
type Q12737077
The [ANSWER] has José Martínez de Velasco as his/her 's career
['Q3186435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3186435 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
The politician has José Martínez de Velasco as his/her 's career
politician
action filter_type
action find
entity José Martínez de Velasco
relation occupation
type occupation
['José Martínez de Velasco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:José_Martínez_de_Velasco property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3186435
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q3186435
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3186435 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
José Martínez de Velasco
action filter_type
action find
entity José Martínez de Velasco
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:José_Martínez_de_Velasco property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q3186435
relation P39
type Q12737077
[ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3186435 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain
action filter_type
action find
entity José Martínez de Velasco
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:José_Martínez_de_Velasco property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3186435
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q18171345,P102,c(Q7210356))
action filter_type
action find
entity Q3186435
relation P102
type Q7210356
['Q18171345', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q3186435 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
José Martínez de Velasco
action filter_type
action find
entity José Martínez de Velasco
relation member of political party
type political organization
['Member of the Congress of Deputies of Spain', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:José_Martínez_de_Velasco property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q3178479
SYSTEM
Liberal Party
Q3178479
(Q18171345,P102,c(Q7210356))
action filter_type
action find
entity Q3186435
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q18171345', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q3186435 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Liberal Party
The Liberal Party is that person a member of
Liberal Party
action filter_type
action find
entity José Martínez de Velasco
relation member of political party
type political organization
['Member of the Congress of Deputies of Spain', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:José_Martínez_de_Velasco property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5006729 Q3186435
P102
Q7210356
USER
Or C. N. Visvanathan?
OR((Q3186435,P102,c(Q7210356)), (Q5006729,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q3186435
relation P102
action find
entity Q5006729
relation P102
type Q7210356
{'OR': [['Q3186435', 'P102', {'concept': 'Q7210356'}], ['Q5006729', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3186435 property:P102 ?g } UNION { resource:Q5006729 property:P102 ?g } } . ?g rdf:type ontology:Q7210356 }
C. N. Visvanathan José Martínez de Velasco
action filter_type
action union
action find
entity José Martínez de Velasco
relation member of political party
action find
entity C. N. Visvanathan
relation member of political party
type political organization
{'OR': [['José Martínez de Velasco', 'member of political party', {'concept': 'political organization'}], ['C. N. Visvanathan', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?g WHERE { { { resource:José_Martínez_de_Velasco property:member_of_political_party ?g } UNION { resource:C._N._Visvanathan property:member_of_political_party ?g } } . ?g rdf:type ontology:political_organization }
[]
political organization
Q3178479 Q651141
SYSTEM
Liberal Party, All India Anna Dravida Munnetra Kazhagam
Q3178479 Q651141
OR((Q3186435,P102,c(Q7210356)), (Q5006729,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q3186435
relation P102
action find
entity Q5006729
relation P102
type Q7210356
[ANSWERS]
{'OR': [['Q3186435', 'P102', {'concept': 'Q7210356'}], ['Q5006729', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3186435 property:P102 ?g } UNION { resource:Q5006729 property:P102 ?g } } . ?g rdf:type ontology:Q7210356 }
Liberal Party All India Anna Dravida Munnetra Kazhagam
Liberal Party All India Anna Dravida Munnetra Kazhagam
action filter_type
action union
action find
entity José Martínez de Velasco
relation member of political party
action find
entity C. N. Visvanathan
relation member of political party
type political organization
{'OR': [['José Martínez de Velasco', 'member of political party', {'concept': 'political organization'}], ['C. N. Visvanathan', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?g WHERE { { { resource:José_Martínez_de_Velasco property:member_of_political_party ?g } UNION { resource:C._N._Visvanathan property:member_of_political_party ?g } } . ?g rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15709879 Q386724
USER
How many occupations are depicted in exactly 2 artwork series and works ?
(c(Q15709879)|c(Q386724),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 2
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?i . ?x rdf:type ontology:Q386724 . ?i rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?g = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 2
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:depicts ?i . ?i rdf:type ontology:occupation . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?i . ?x rdf:type ontology:work . ?i rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?g = 2 ) }
[]
occupation artwork series work
SYSTEM
3
Q54128 Q2730732 Q838811
(c(Q15709879)|c(Q386724),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 2
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?i . ?x rdf:type ontology:Q386724 . ?i rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?g = 2 ) }
domestic worker equestrian peasant
3
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 2
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:depicts ?i . ?i rdf:type ontology:occupation . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?i . ?x rdf:type ontology:work . ?i rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?g = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16003605
P921
Q12737077 Q386724 Q191067
USER
How many occupations were the main subjects of approximately the same number of works or articles 's work as elementary school student ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q386724
type Q191067
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } . ?x rdf:type ?c } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P921 resource:Q16003605 . { { ?n rdf:type ontology:Q191067 } UNION { ?n rdf:type ontology:Q386724 } } } } . FILTER ( ?j = ?i ) }
elementary school student
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type work
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:work ) ( ontology:article ) } . ?x rdf:type ?c } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:main_subject resource:elementary_school_student . { { ?n rdf:type ontology:article } UNION { ?n rdf:type ontology:work } } } } . FILTER ( ?j = ?i ) }
[]
occupation work article
SYSTEM
92
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q386724
type Q191067
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } . ?x rdf:type ?c } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P921 resource:Q16003605 . { { ?n rdf:type ontology:Q191067 } UNION { ?n rdf:type ontology:Q386724 } } } } . FILTER ( ?j = ?i ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type work
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:work ) ( ontology:article ) } . ?x rdf:type ?c } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:main_subject resource:elementary_school_student . { { ?n rdf:type ontology:article } UNION { ?n rdf:type ontology:work } } } } . FILTER ( ?j = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q158852
P921
Q12737077 Q386724 Q191067
USER
And how about conductor?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q158852
relation P921
type Q386724
type Q191067
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P921 resource:Q158852 . { { ?q rdf:type ontology:Q386724 } UNION { ?q rdf:type ontology:Q191067 } } } } . FILTER ( ?x = ?w ) }
conductor
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity conductor
relation main subject
type work
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:main_subject resource:conductor . { { ?q rdf:type ontology:work } UNION { ?q rdf:type ontology:article } } } } . FILTER ( ?x = ?w ) }
[]
occupation work article
SYSTEM
92
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q158852
relation P921
type Q386724
type Q191067
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P921 resource:Q158852 . { { ?q rdf:type ontology:Q386724 } UNION { ?q rdf:type ontology:Q191067 } } } } . FILTER ( ?x = ?w ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity conductor
relation main subject
type work
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:main_subject resource:conductor . { { ?q rdf:type ontology:work } UNION { ?q rdf:type ontology:article } } } } . FILTER ( ?x = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q651141
P1142
Q7257
USER
Which ideology does All India Anna Dravida Munnetra Kazhagam believe in ?
(Q651141,P1142,c(Q7257))
action filter_type
action find
entity Q651141
relation P1142
type Q7257
['Q651141', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?k WHERE { resource:Q651141 property:P1142 ?k . ?k rdf:type ontology:Q7257 }
All India Anna Dravida Munnetra Kazhagam
action filter_type
action find
entity All India Anna Dravida Munnetra Kazhagam
relation political ideology
type ideology
['All India Anna Dravida Munnetra Kazhagam', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?k WHERE { resource:All_India_Anna_Dravida_Munnetra_Kazhagam property:political_ideology ?k . ?k rdf:type ontology:ideology }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q651141,P1142,c(Q7257))
action filter_type
action find
entity Q651141
relation P1142
type Q7257
All India Anna Dravida Munnetra Kazhagam believes in a [ANSWER]
['Q651141', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?k WHERE { resource:Q651141 property:P1142 ?k . ?k rdf:type ontology:Q7257 }
social democracy
All India Anna Dravida Munnetra Kazhagam believes in a social democracy
social democracy
action filter_type
action find
entity All India Anna Dravida Munnetra Kazhagam
relation political ideology
type ideology
['All India Anna Dravida Munnetra Kazhagam', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?k WHERE { resource:All_India_Anna_Dravida_Munnetra_Kazhagam property:political_ideology ?k . ?k rdf:type ontology:ideology }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15980784 Q651141
P1142
Q7257
USER
And also Brazilian Labour Party (historical)
AND((Q651141,P1142,c(Q7257)), (Q15980784,P1142,c(Q7257)))
action filter_type
action intersection
action find
entity Q651141
relation P1142
action find
entity Q15980784
relation P1142
type Q7257
{'AND': [['Q651141', 'P1142', {'concept': 'Q7257'}], ['Q15980784', 'P1142', {'concept': 'Q7257'}]]}
SELECT DISTINCT ?h WHERE { resource:Q651141 property:P1142 ?h . resource:Q15980784 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
Brazilian Labour Party (historical) All India Anna Dravida Munnetra Kazhagam
action filter_type
action intersection
action find
entity All India Anna Dravida Munnetra Kazhagam
relation political ideology
action find
entity Brazilian Labour Party (historical)
relation political ideology
type ideology
{'AND': [['All India Anna Dravida Munnetra Kazhagam', 'political ideology', {'concept': 'ideology'}], ['Brazilian Labour Party (historical)', 'political ideology', {'concept': 'ideology'}]]}
SELECT DISTINCT ?h WHERE { resource:All_India_Anna_Dravida_Munnetra_Kazhagam property:political_ideology ?h . resource:Brazilian_Labour_Party_(historical) property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
AND((Q651141,P1142,c(Q7257)), (Q15980784,P1142,c(Q7257)))
action filter_type
action intersection
action find
entity Q651141
relation P1142
action find
entity Q15980784
relation P1142
type Q7257
[ANSWER]
{'AND': [['Q651141', 'P1142', {'concept': 'Q7257'}], ['Q15980784', 'P1142', {'concept': 'Q7257'}]]}
SELECT DISTINCT ?h WHERE { resource:Q651141 property:P1142 ?h . resource:Q15980784 property:P1142 ?h . ?h rdf:type ontology:Q7257 }
social democracy
social democracy
action filter_type
action intersection
action find
entity All India Anna Dravida Munnetra Kazhagam
relation political ideology
action find
entity Brazilian Labour Party (historical)
relation political ideology
type ideology
{'AND': [['All India Anna Dravida Munnetra Kazhagam', 'political ideology', {'concept': 'ideology'}], ['Brazilian Labour Party (historical)', 'political ideology', {'concept': 'ideology'}]]}
SELECT DISTINCT ?h WHERE { resource:All_India_Anna_Dravida_Munnetra_Kazhagam property:political_ideology ?h . resource:Brazilian_Labour_Party_(historical) property:political_ideology ?h . ?h rdf:type ontology:ideology }
[]