Simple Question (Direct)
Simple Question
Q1606646
P20
Q56061
USER
Where did the demise of Henry D. Flood occur ?
(Q1606646,P20,c(Q56061))
action filter_type
action find
entity Q1606646
relation P20
type Q56061
['Q1606646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1606646 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Henry D. Flood
action filter_type
action find
entity Henry D. Flood
relation place of death
type administrative territorial entity
['Henry D. Flood', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Henry_D._Flood property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q1606646,P20,c(Q56061))
action filter_type
action find
entity Q1606646
relation P20
type Q56061
The demise of Henry D. Flood occurred in [ANSWER]
['Q1606646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1606646 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Washington, D.C.
The demise of Henry D. Flood occurred in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Henry D. Flood
relation place of death
type administrative territorial entity
['Henry D. Flood', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Henry_D._Flood property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606646
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q61,P39,c(Q12737077))
action filter_type
action find
entity Q1606646
relation P39
type Q12737077
['Q61', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1606646 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Henry D. Flood
action filter_type
action find
entity Henry D. Flood
relation position held
type occupation
['Washington, D.C.', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_D._Flood property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q13218630 Q18694588 Q18604340
SYSTEM
United States representative, Member of the United States House of Representatives from Virginia, member of the State Senate of Virginia
Q13218630 Q18694588 Q18604340
(Q61,P39,c(Q12737077))
action filter_type
action find
entity Q1606646
relation P39
type Q12737077
The [ANSWERS] were the positions for which that person were appointed
['Q61', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1606646 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
United States representative Member of the United States House of Representatives from Virginia member of the State Senate of Virginia
The United States representative, Member of the United States House of Representatives from Virginia and member of the State Senate of Virginia were the positions for which that person were appointed
United States representative Member of the United States House of Representatives from Virginia member of the State Senate of Virginia
action filter_type
action find
entity Henry D. Flood
relation position held
type occupation
['Washington, D.C.', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_D._Flood property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9336005 Q1606646
P27
Q15617994
USER
Which administrative territories are Henry D. Flood or Sheri Mita a civilian of ?
OR((Q1606646,P27,c(Q15617994)), (Q9336005,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606646
relation P27
action find
entity Q9336005
relation P27
type Q15617994
{'OR': [['Q1606646', 'P27', {'concept': 'Q15617994'}], ['Q9336005', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1606646 property:P27 ?s } UNION { resource:Q9336005 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Sheri Mita Henry D. Flood
action filter_type
action union
action find
entity Henry D. Flood
relation country of citizenship
action find
entity Sheri Mita
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henry D. Flood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sheri Mita', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Henry_D._Flood property:country_of_citizenship ?s } UNION { resource:Sheri_Mita property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q222
SYSTEM
United States of America, Albania
Q30 Q222
OR((Q1606646,P27,c(Q15617994)), (Q9336005,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606646
relation P27
action find
entity Q9336005
relation P27
type Q15617994
[ANSWERS] are Henry D. Flood or Sheri Mita a civilian of
{'OR': [['Q1606646', 'P27', {'concept': 'Q15617994'}], ['Q9336005', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1606646 property:P27 ?s } UNION { resource:Q9336005 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
United States of America Albania
United States of America and Albania are Henry D. Flood or Sheri Mita a civilian of
United States of America Albania
action filter_type
action union
action find
entity Henry D. Flood
relation country of citizenship
action find
entity Sheri Mita
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henry D. Flood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sheri Mita', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Henry_D._Flood property:country_of_citizenship ?s } UNION { resource:Sheri_Mita property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q222
P6
Q502895
USER
Which people have those administrative territories as their heads of government ?
(Q30,P6,c(Q502895)) (Q222,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q222', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?d ) { ( resource:Q30 ) ( resource:Q222 ) } . ?d property:P6 ?m . ?m rdf:type ontology:Q502895 }
United States of America Albania
action filter_type
action find
entity prev_answer
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Albania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?d ) { ( resource:United_States_of_America ) ( resource:Albania ) } . ?d property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q316901
(Q30,P6,c(Q502895)) (Q222,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] have those administrative territories as their heads of government
['Q30', 'P6', {'concept': 'Q502895'}] ['Q222', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?d ) { ( resource:Q30 ) ( resource:Q222 ) } . ?d property:P6 ?m . ?m rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk Edi Rama
Barack Obama, Dwight D. Eisenhower and Donald Trump have those administrative territories as their heads of government
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity prev_answer
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Albania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?d ) { ( resource:United_States_of_America ) ( resource:Albania ) } . ?d property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q76 Q9916 Q22686
P26
Q502895
USER
Who are the spouses of those ones ?
(Q76,P26,c(Q502895)) (Q9916,P26,c(Q502895)) (Q22686,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q76', 'P26', {'concept': 'Q502895'}] ['Q9916', 'P26', {'concept': 'Q502895'}] ['Q22686', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?g property:P26 ?b . ?b rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Barack Obama', 'spouse', {'concept': 'common name'}] ['Dwight D. Eisenhower', 'spouse', {'concept': 'common name'}] ['Donald Trump', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?g property:spouse ?b . ?b rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
common name
Q13133 Q432473 Q233686
SYSTEM
Michelle Obama, Melania Trump, Mamie Eisenhower
Q13133 Q233686 Q2597050 Q242351 Q432473
(Q76,P26,c(Q502895)) (Q9916,P26,c(Q502895)) (Q22686,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouses of those ones are [ANSWERS]
['Q76', 'P26', {'concept': 'Q502895'}] ['Q9916', 'P26', {'concept': 'Q502895'}] ['Q22686', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?g property:P26 ?b . ?b rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
Michelle Obama Mamie Eisenhower Marla Maples Ivana Trump Melania Trump
The spouses of those ones are Michelle Obama, Melania Trump and Mamie Eisenhower
Michelle Obama Melania Trump Mamie Eisenhower
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Barack Obama', 'spouse', {'concept': 'common name'}] ['Dwight D. Eisenhower', 'spouse', {'concept': 'common name'}] ['Donald Trump', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?g property:spouse ?b . ?b rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q13133 Q432473 Q233686
P19
Q56061
USER
Which administrative territories are the places of birth of Michelle Obama, Melania Trump and Mamie Eisenhower ?
(Q13133,P19,c(Q56061)) (Q432473,P19,c(Q56061)) (Q233686,P19,c(Q56061))
action union
action filter_type
action find
entity Q13133
relation P19
type Q56061
action filter_type
action find
entity Q432473
relation P19
type Q56061
action filter_type
action find
entity Q233686
relation P19
type Q56061
['Q13133', 'P19', {'concept': 'Q56061'}] ['Q432473', 'P19', {'concept': 'Q56061'}] ['Q233686', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?z property:P19 ?c . VALUES ( ?z ) { ( resource:Q13133 ) ( resource:Q432473 ) } }
Michelle Obama Melania Trump Mamie Eisenhower
action union
action filter_type
action find
entity Michelle Obama
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Melania Trump
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mamie Eisenhower
relation place of birth
type administrative territorial entity
['Michelle Obama', 'place of birth', {'concept': 'administrative territorial entity'}] ['Melania Trump', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mamie Eisenhower', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?z property:place_of_birth ?c . VALUES ( ?z ) { ( resource:Michelle_Obama ) ( resource:Melania_Trump ) } }
[]
administrative territorial entity
Q1297 Q5266 Q1898112
SYSTEM
Chicago, Novo Mesto, Boone
Q1297 Q5266 Q1898112
(Q13133,P19,c(Q56061)) (Q432473,P19,c(Q56061)) (Q233686,P19,c(Q56061))
action union
action filter_type
action find
entity Q13133
relation P19
type Q56061
action filter_type
action find
entity Q432473
relation P19
type Q56061
action filter_type
action find
entity Q233686
relation P19
type Q56061
[ANSWERS] are the places of birth of Michelle Obama, Melania Trump and Mamie Eisenhower
['Q13133', 'P19', {'concept': 'Q56061'}] ['Q432473', 'P19', {'concept': 'Q56061'}] ['Q233686', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?z property:P19 ?c . VALUES ( ?z ) { ( resource:Q13133 ) ( resource:Q432473 ) } }
Chicago Novo Mesto Boone
Chicago, Novo Mesto and Boone are the places of birth of Michelle Obama, Melania Trump and Mamie Eisenhower
Chicago Novo Mesto Boone
action union
action filter_type
action find
entity Michelle Obama
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Melania Trump
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mamie Eisenhower
relation place of birth
type administrative territorial entity
['Michelle Obama', 'place of birth', {'concept': 'administrative territorial entity'}] ['Melania Trump', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mamie Eisenhower', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?z property:place_of_birth ?c . VALUES ( ?z ) { ( resource:Michelle_Obama ) ( resource:Melania_Trump ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1297 Q5266 Q1898112
P17
Q15617994
USER
Which administrative territories are Chicago, Novo Mesto and Boone present in ?
(Q1297,P17,c(Q15617994)) (Q5266,P17,c(Q15617994)) (Q1898112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1297
relation P17
type Q15617994
action filter_type
action find
entity Q5266
relation P17
type Q15617994
action filter_type
action find
entity Q1898112
relation P17
type Q15617994
['Q1297', 'P17', {'concept': 'Q15617994'}] ['Q5266', 'P17', {'concept': 'Q15617994'}] ['Q1898112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?g ) { ( resource:Q1297 ) ( resource:Q5266 ) } . ?g property:P17 ?f }
Chicago Novo Mesto Boone
action union
action filter_type
action find
entity Chicago
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Novo Mesto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Boone
relation country
type designation for an administrative territorial entity
['Chicago', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Novo Mesto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Boone', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?g ) { ( resource:Chicago ) ( resource:Novo_Mesto ) } . ?g property:country ?f }
[]
designation for an administrative territorial entity
Q30 Q215 Q30
SYSTEM
United States of America for 1st, 3rd, Slovenia for 2nd
Q30 Q215 Q30
(Q1297,P17,c(Q15617994)) (Q5266,P17,c(Q15617994)) (Q1898112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1297
relation P17
type Q15617994
action filter_type
action find
entity Q5266
relation P17
type Q15617994
action filter_type
action find
entity Q1898112
relation P17
type Q15617994
[ANSWERS]
['Q1297', 'P17', {'concept': 'Q15617994'}] ['Q5266', 'P17', {'concept': 'Q15617994'}] ['Q1898112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?g ) { ( resource:Q1297 ) ( resource:Q5266 ) } . ?g property:P17 ?f }
United States of America Slovenia United States of America
Which administrative territories are Chicago, Novo Mesto and Boone present in
United States of America Slovenia United States of America
action union
action filter_type
action find
entity Chicago
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Novo Mesto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Boone
relation country
type designation for an administrative territorial entity
['Chicago', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Novo Mesto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Boone', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?g ) { ( resource:Chicago ) ( resource:Novo_Mesto ) } . ?g property:country ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P35
Q502895
USER
Who is the head of state of Slovenia ?
(Q215,P35,c(Q502895))
action filter_type
action find
entity Q215
relation P35
type Q502895
['Q215', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q215 property:P35 ?r . ?r rdf:type ontology:Q502895 }
Slovenia
action filter_type
action find
entity Slovenia
relation head of state
type common name
['Slovenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Slovenia property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]
common name
Q206471
SYSTEM
Borut Pahor
Q206471
(Q215,P35,c(Q502895))
action filter_type
action find
entity Q215
relation P35
type Q502895
The head of state of Slovenia is Prince [ANSWER]
['Q215', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q215 property:P35 ?r . ?r rdf:type ontology:Q502895 }
Borut Pahor
The head of state of Slovenia is Prince Borut Pahor
Borut Pahor
action filter_type
action find
entity Slovenia
relation head of state
type common name
['Slovenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Slovenia property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P206
Q15324
USER
Which body of water is situated in the neighbourhood of Slovenia ?
(Q215,P206,c(Q15324))
action filter_type
action find
entity Q215
relation P206
type Q15324
['Q215', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q215 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Slovenia
action filter_type
action find
entity Slovenia
relation located next to body of water
type body of water
['Slovenia', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Slovenia property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q215,P206,c(Q15324))
action filter_type
action find
entity Q215
relation P206
type Q15324
[ANSWER] is situated in the neighbourhood of Slovenia
['Q215', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q215 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Adriatic Sea
Adriatic Sea is situated in the neighbourhood of Slovenia
Adriatic Sea
action filter_type
action find
entity Slovenia
relation located next to body of water
type body of water
['Slovenia', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Slovenia property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222
P163
Q14660
USER
Which flag is associated with Albania ?
(Q222,P163,c(Q14660))
action filter_type
action find
entity Q222
relation P163
type Q14660
['Q222', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { resource:Q222 property:P163 ?c . ?c rdf:type ontology:Q14660 }
Albania
action filter_type
action find
entity Albania
relation flag
type flag
['Albania', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { resource:Albania property:flag ?c . ?c rdf:type ontology:flag }
[]
flag
Q48409
SYSTEM
flag of Albania
Q48409
(Q222,P163,c(Q14660))
action filter_type
action find
entity Q222
relation P163
type Q14660
War [ANSWER] is associated with Albania
['Q222', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { resource:Q222 property:P163 ?c . ?c rdf:type ontology:Q14660 }
flag of Albania
War flag of Albania is associated with Albania
flag of Albania
action filter_type
action find
entity Albania
relation flag
type flag
['Albania', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { resource:Albania property:flag ?c . ?c rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222
P463
Q874405
USER
What were that administrative territory a member of ?
(Q48409,P463,c(Q874405))
action filter_type
action find
entity Q222
relation P463
type Q874405
['Q48409', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q222 property:P463 ?j . ?j rdf:type ontology:Q874405 }
Albania
action filter_type
action find
entity Albania
relation member of
type social group
['flag of Albania', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Albania property:member_of ?j . ?j rdf:type ontology:social_group }
[]
social group
Q47543 Q8908
SYSTEM
Organisation of Islamic Cooperation, Council of Europe
Q47543 Q8908
(Q48409,P463,c(Q874405))
action filter_type
action find
entity Q222
relation P463
type Q874405
The [ANSWERS] a member of
['Q48409', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q222 property:P463 ?j . ?j rdf:type ontology:Q874405 }
Organisation of Islamic Cooperation Council of Europe
The Organisation of Islamic Cooperation and Council of Europe a member of
Organisation of Islamic Cooperation Council of Europe
action filter_type
action find
entity Albania
relation member of
type social group
['flag of Albania', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Albania property:member_of ?j . ?j rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2167
P138
Q15700808 Q874405
USER
Which urban unit definitions are approximately the same number of social groups named after as Lund ?
(c(Q874405),P138,c(Q15700808))
action approx
action find_reverse_tuple_counts
relation P138
type Q15700808
type Q874405
action count
action filter_type
action find
entity Q2167
relation P138
type Q15700808
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15700808'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P138 ?d . ?d rdf:type ontology:Q15700808 . ?e rdf:type ontology:Q874405 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:Q15700808 . resource:Q2167 property:P138 ?y } } . FILTER ( ?n = ?w ) }
Lund
action approx
action find_reverse_tuple_counts
relation named after
type urban unit definition
type social group
action count
action filter_type
action find
entity Lund
relation named after
type urban unit definition
[{'concept': 'social group'}, 'named after', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:named_after ?d . ?d rdf:type ontology:urban_unit_definition . ?e rdf:type ontology:social_group } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:urban_unit_definition . resource:Lund property:named_after ?y } } . FILTER ( ?n = ?w ) }
[]
urban unit definition social group
Q7849121 Q54356 Q1109698
SYSTEM
Trångsund, Nyköping, Collingwood
Q5133240 Q3908652 Q660299 Q2167 Q26518 Q4353510 Q812628 Q3146766 Q26515 Q934689 Q83715 Q6923352 Q21169 Q21168 Q21167 Q1018430 Q4117115 Q926728 Q14226542 Q7056074 Q5685475 Q7128820 Q5433948 Q2495286 Q1456393 Q1623026 Q1370248 Q1703720 Q5528458 Q3354585 Q2521010 Q2180312 Q5050929 Q5466574 Q3240427 Q5455513 Q54356 Q54358 Q4894660 Q28287 Q673418 Q2250574 Q661608 Q4724190 Q1733565 Q1783858 Q54748 Q54343 Q175797 Q823531 Q25412 Q25411 Q1368694 Q25457 Q443946 Q388953 Q1958953 Q1544751 Q1483611 Q7967917 Q569800 Q1916777 Q1574991 Q910007 Q1479259 Q5391401 Q503050 Q54728 Q769709 Q2919661 Q12877467 Q7849121 Q7033778 Q2430301 Q2551945 Q259046 Q2653806 Q1021557 Q83232 Q3183470 Q1109698 Q6935818 Q2560819 Q591771 Q1770360 Q1015454 Q3588743 Q1969315 Q4972237 Q3622685 Q1632006 Q748559 Q2328356 Q5445148 Q994135 Q47002 Q972028 Q748257 Q738338 Q990771 Q1343999 Q1012076 Q2257230
(c(Q874405),P138,c(Q15700808))
action approx
action find_reverse_tuple_counts
relation P138
type Q15700808
type Q874405
action count
action filter_type
action find
entity Q2167
relation P138
type Q15700808
[ANSWERS] are approximately the same number of social groups named after as Lund
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15700808'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P138 ?d . ?d rdf:type ontology:Q15700808 . ?e rdf:type ontology:Q874405 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:Q15700808 . resource:Q2167 property:P138 ?y } } . FILTER ( ?n = ?w ) }
Clifton Hill Port Adelaide Sturkö Lund Södertälje Kallhäll Bayswater Rosersberg Östersund Alby Tumba Mount Rumney Piteå Varberg Enköping Grundsund Flemingsberg Bromma Nelson Bay North Melbourne Hawthorn Paluma Fannie Bay Rydbo Järna Port Melbourne Jakobsberg Jordbro Gawler East Rotebro Kårsta Älta Casuarina Footscray Härnösand Fittja Nyköping Vallentuna Berowra Ystad Bondi Beach Fisksätra Bålsta Algester Prahran Kooyong Märsta Upplands Väsby Norsborg St Kilda Västerås Helsingborg Essendon Karlstad Altona Holmsund Hasslö Västerhaninge Tingstäde Wanguri Södra Sandby Lindholmen Handen Drottningholm Fårösund Rönninge Laholm Åkersberga Kifisia Rushcutters Bay Zakaki Trångsund Nightcliff Bro Norberg Gällivare Kautokeino Gislaved Kiruna Sigtuna Collingwood Mundingburra Barsebäck Albert Park Røra Styrsö Norrtälje Strömsholm Broadmeadows Tullinge Kungsängen Strömstad Clontarf Ferntree Gully Brunswick Carlton Ösmo Dalarö Nynäshamn Saltsjöbaden Hemse Richmond Olshammar
Trångsund, Nyköping and Collingwood are approximately the same number of social groups named after as Lund
Trångsund Nyköping Collingwood
action approx
action find_reverse_tuple_counts
relation named after
type urban unit definition
type social group
action count
action filter_type
action find
entity Lund
relation named after
type urban unit definition
[{'concept': 'social group'}, 'named after', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:named_after ?d . ?d rdf:type ontology:urban_unit_definition . ?e rdf:type ontology:social_group } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:urban_unit_definition . resource:Lund property:named_after ?y } } . FILTER ( ?n = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222
P931
Q62447
USER
What city is served by Albania ?
(c(Q62447),P931,Q222)
action filter_type
action find_reverse
entity Q222
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q222']
SELECT DISTINCT ?m WHERE { ?m property:P931 resource:Q222 . ?m rdf:type ontology:Q62447 }
Albania
action filter_type
action find_reverse
entity Albania
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Albania']
SELECT DISTINCT ?m WHERE { ?m property:place_served_by_airport resource:Albania . ?m rdf:type ontology:aerodrome }
[]
aerodrome
Q217226
SYSTEM
Tirana International Airport
Q217226
(c(Q62447),P931,Q222)
action filter_type
action find_reverse
entity Q222
relation P931
type Q62447
[ANSWER] is served by Albania
[{'concept': 'Q62447'}, 'P931', 'Q222']
SELECT DISTINCT ?m WHERE { ?m property:P931 resource:Q222 . ?m rdf:type ontology:Q62447 }
Tirana International Airport
Tirana International Airport is served by Albania
Tirana International Airport
action filter_type
action find_reverse
entity Albania
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Albania']
SELECT DISTINCT ?m WHERE { ?m property:place_served_by_airport resource:Albania . ?m rdf:type ontology:aerodrome }
[]