Simple Question (Direct)
Simple Question
Q827545
P106
Q12737077
USER
What does Berta Kröger do for a living ?
(Q827545,P106,c(Q12737077))
action filter_type
action find
entity Q827545
relation P106
type Q12737077
['Q827545', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q827545 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Berta Kröger
action filter_type
action find
entity Berta Kröger
relation occupation
type occupation
['Berta Kröger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Berta_Kröger property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q827545,P106,c(Q12737077))
action filter_type
action find
entity Q827545
relation P106
type Q12737077
[ANSWER] Berta Kröger does for a living
['Q827545', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q827545 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
politician
Politician Berta Kröger does for a living
politician
action filter_type
action find
entity Berta Kröger
relation occupation
type occupation
['Berta Kröger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Berta_Kröger property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q827545
P937
Q486972
USER
What is the work location of that person ?
(Q82955,P937,c(Q486972))
action filter_type
action find
entity Q827545
relation P937
type Q486972
['Q82955', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q486972 . resource:Q827545 property:P937 ?v }
Berta Kröger
action filter_type
action find
entity Berta Kröger
relation work location
type human settlement
['politician', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_settlement . resource:Berta_Kröger property:work_location ?v }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q82955,P937,c(Q486972))
action filter_type
action find
entity Q827545
relation P937
type Q486972
The work location of that person is in [ANSWER]
['Q82955', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q486972 . resource:Q827545 property:P937 ?v }
Hamburg
The work location of that person is in Hamburg
Hamburg
action filter_type
action find
entity Berta Kröger
relation work location
type human settlement
['politician', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_settlement . resource:Berta_Kröger property:work_location ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q827545
P20
Q486972
USER
Where did the expiration of Berta Kröger occur ?
(Q827545,P20,c(Q486972))
action filter_type
action find
entity Q827545
relation P20
type Q486972
['Q827545', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q827545 property:P20 ?w }
Berta Kröger
action filter_type
action find
entity Berta Kröger
relation place of death
type human settlement
['Berta Kröger', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Berta_Kröger property:place_of_death ?w }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q827545,P20,c(Q486972))
action filter_type
action find
entity Q827545
relation P20
type Q486972
The expiration of Berta Kröger occurred in [ANSWER]
['Q827545', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q827545 property:P20 ?w }
Hamburg
The expiration of Berta Kröger occurred in Hamburg
Hamburg
action filter_type
action find
entity Berta Kröger
relation place of death
type human settlement
['Berta Kröger', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Berta_Kröger property:place_of_death ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q827545
P102
Q7278
USER
Which political party is that person a member of ?
(Q1055,P102,c(Q7278))
action filter_type
action find
entity Q827545
relation P102
type Q7278
['Q1055', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q827545 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Berta Kröger
action filter_type
action find
entity Berta Kröger
relation member of political party
type political party
['Hamburg', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Berta_Kröger property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1055,P102,c(Q7278))
action filter_type
action find
entity Q827545
relation P102
type Q7278
[ANSWER] is that person a member of
['Q1055', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q827545 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is that person a member of
Social Democratic Party of Germany
action filter_type
action find
entity Berta Kröger
relation member of political party
type political party
['Hamburg', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Berta_Kröger property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49768 Q1569286
P102
Q502895
USER
Is Mathias Jakobs affiliated to that political party ?
(Q1569286,P102,Q49768)
action is_in
entity Q49768
action find
entity Q1569286
relation P102
['Q1569286', 'P102', 'Q49768']
ASK WHERE { resource:Q1569286 property:P102 resource:Q49768 }
Social Democratic Party of Germany Mathias Jakobs
action is_in
entity Social Democratic Party of Germany
action find
entity Mathias Jakobs
relation member of political party
['Mathias Jakobs', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Mathias_Jakobs property:member_of_political_party resource:Social_Democratic_Party_of_Germany }
[]
common name
SYSTEM
YES
(Q1569286,P102,Q49768)
action is_in
entity Q49768
action find
entity Q1569286
relation P102
[ANSWER]
['Q1569286', 'P102', 'Q49768']
ASK WHERE { resource:Q1569286 property:P102 resource:Q49768 }
Yes
action is_in
entity Social Democratic Party of Germany
action find
entity Mathias Jakobs
relation member of political party
['Mathias Jakobs', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Mathias_Jakobs property:member_of_political_party resource:Social_Democratic_Party_of_Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q486972 Q515 Q15617994
USER
Which human settlements are sister towns of exactly 4 cities and administrative territories ?
(c(Q515)|c(Q15617994),P190,c(Q486972))
action equal
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
value 4
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:P190 ?y . ?y rdf:type ontology:Q486972 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P190 ?y . ?y rdf:type ontology:Q486972 . ?p rdf:type ontology:Q515 } } GROUP BY ?y } . FILTER ( ?g = 4 ) }
action equal
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
value 4
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:sister_city ?y . ?y rdf:type ontology:human_settlement . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:sister_city ?y . ?y rdf:type ontology:human_settlement . ?p rdf:type ontology:city } } GROUP BY ?y } . FILTER ( ?g = 4 ) }
[]
human settlement city designation for an administrative territorial entity
Q8969 Q106583 Q277965
SYSTEM
Cancún, Bielsko-Biała, Mödling
Q8969 Q106583 Q277965
(c(Q515)|c(Q15617994),P190,c(Q486972))
action equal
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
value 4
[ANSWERS] are sister towns of exactly 4 cities and administrative territories
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:P190 ?y . ?y rdf:type ontology:Q486972 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P190 ?y . ?y rdf:type ontology:Q486972 . ?p rdf:type ontology:Q515 } } GROUP BY ?y } . FILTER ( ?g = 4 ) }
Cancún Bielsko-Biała Mödling
Cancún, Bielsko-Biała and Mödling are sister towns of exactly 4 cities and administrative territories
Cancún Bielsko-Biała Mödling
action equal
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
value 4
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:sister_city ?y . ?y rdf:type ontology:human_settlement . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:sister_city ?y . ?y rdf:type ontology:human_settlement . ?p rdf:type ontology:city } } GROUP BY ?y } . FILTER ( ?g = 4 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q486972 Q43229 Q811979
USER
How many human settlements are around the same number of organizations or architectural structures a part of as that human settlement ?
(c(Q43229)|c(Q811979),P361,c(Q486972))
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P361 ?y } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q811979 }
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:part_of ?y } . ?z rdf:type ontology:organization . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:architectural_structure }
[]
human settlement organization architectural structure
Comparative|Count over More/Less|Mult. entity type|Clarification
Q8969
SYSTEM
Did you mean Cancún ?
(c(Q43229)|c(Q811979),P361,c(Q486972))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P361 ?y } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q811979 }
Did you mean Cancún ?
Cancún
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:part_of ?y } . ?z rdf:type ontology:organization . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q43229)|c(Q811979),P361,c(Q486972))
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q486972'}]
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'human settlement'}]
[]
SYSTEM
72
Q371876 Q12039539 Q5487991 Q1055 Q2169991 Q8032418 Q1493110 Q7137630 Q7971699 Q7828902 Q3664701 Q882843 Q8909 Q8343770 Q8969 Q477462 Q5859 Q682357 Q4936013 Q1743039 Q7605773 Q213464 Q2081422 Q6673772 Q7927343 Q3070648 Q2031883 Q1075342 Q7268736 Q4949656 Q6471490 Q1867529 Q5419566 Q1939043 Q179645 Q14692946 Q5578636 Q7986783 Q92689 Q787579 Q949898 Q768542 Q7084642 Q2165218 Q630974 Q326089 Q5602126 Q4956455 Q702521 Q517260 Q7413213 Q4874146 Q314066 Q423810 Q2945656 Q851124 Q7886036 Q5328476 Q141690 Q5019782 Q7997573 Q12031901 Q7974093 Q5084151 Q2944797 Q812889 Q1128906 Q5597738 Q12059678 Q3126518 Q3312826 Q2575801
(c(Q43229)|c(Q811979),P361,c(Q486972))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q811979 }
Noailles rural township of Taiwan Frank Lloyd Wright-Prairie School of Architecture Historic District Hamburg Schalkwijk Woodbridge Historic District Jumeirah Lake Towers Park Avenue Historic District Washington Boulevard Historic District Toumba Centro Direzionale di Milano Lichtenbusch Friedrichstadt Historic Centre of Évora Cancún Kizhi Pogost Chichen Itza Old Town Bobrówko, Warmian-Masurian Voivodeship Church grounds of Bremgarten Steele's Hill-Grafton Hill Historic District Adachi German campaign in Angola Longfellow Victorian Village Eastern Docklands Boda Tabán Quality Hill Boulevard Oaks Lafayette Park Historic District Michigan Avenue Exchange District Mission Hill Shinjuku-ku Nokomis Gold Coast Historic District West Vernor-Junction Historic District Sopot Cieszów, Lower Silesian Voivodeship Coahuila y Tejas Andrews Field Old Northside Historic District Rommersdorf Kerameikos Gräfrath Greektown Historic District Branchville Marzahn Königsberg in Bayern San Agustin de Laredo Historic District Bay View Bergen-Enkheim Stare Bogaczowice Centro Histórico de Angra do Heroísmo List of neighborhoods of Budapest Union Square East Grand Boulevard Historic District Back Bay Calhoun Isles Wholesale District Kumhrar Waterfront South Charleston Historic District reconstructed center of Le Havre Beacon Hill medina quarter Gratz Park Historic District Hawaii Capital Historic District Hammarby Sjöstad Mikage Red Sea Riviera
72
[[{'concept': 'organization'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8969
P1383
Q112865
USER
Which Mexican administrative territory contains settlement Cancún ?
(c(Q112865),P1383,Q8969)
action filter_type
action find_reverse
entity Q8969
relation P1383
type Q112865
[{'concept': 'Q112865'}, 'P1383', 'Q8969']
SELECT DISTINCT ?v WHERE { ?v property:P1383 resource:Q8969 . ?v rdf:type ontology:Q112865 }
Cancún
action filter_type
action find_reverse
entity Cancún
relation contains settlement
type administrative territorial entity of Mexico
[{'concept': 'administrative territorial entity of Mexico'}, 'contains settlement', 'Cancún']
SELECT DISTINCT ?v WHERE { ?v property:contains_settlement resource:Cancún . ?v rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
administrative territorial entity of Mexico
Q2279198
SYSTEM
Benito Juárez Municipality
Q2279198
(c(Q112865),P1383,Q8969)
action filter_type
action find_reverse
entity Q8969
relation P1383
type Q112865
Township [ANSWER] contains settlement Cancún
[{'concept': 'Q112865'}, 'P1383', 'Q8969']
SELECT DISTINCT ?v WHERE { ?v property:P1383 resource:Q8969 . ?v rdf:type ontology:Q112865 }
Benito Juárez Municipality
Township Benito Juárez Municipality contains settlement Cancún
Benito Juárez Municipality
action filter_type
action find_reverse
entity Cancún
relation contains settlement
type administrative territorial entity of Mexico
[{'concept': 'administrative territorial entity of Mexico'}, 'contains settlement', 'Cancún']
SELECT DISTINCT ?v WHERE { ?v property:contains_settlement resource:Cancún . ?v rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]