Simple Question (Direct)
Simple Question
Q6293823
P20
Q515
USER
Which city is the place of death of José Ramón Medina ?
(Q6293823,P20,c(Q515))
action filter_type
action find
entity Q6293823
relation P20
type Q515
['Q6293823', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q6293823 property:P20 ?o . ?o rdf:type ontology:Q515 }
José Ramón Medina
action filter_type
action find
entity José Ramón Medina
relation place of death
type city
['José Ramón Medina', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:José_Ramón_Medina property:place_of_death ?o . ?o rdf:type ontology:city }
[]
city
Q1533
SYSTEM
Caracas
Q1533
(Q6293823,P20,c(Q515))
action filter_type
action find
entity Q6293823
relation P20
type Q515
[ANSWER] is the place of death of José Ramón Medina
['Q6293823', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q6293823 property:P20 ?o . ?o rdf:type ontology:Q515 }
Caracas
Caracas is the place of death of José Ramón Medina
Caracas
action filter_type
action find
entity José Ramón Medina
relation place of death
type city
['José Ramón Medina', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:José_Ramón_Medina property:place_of_death ?o . ?o rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6293823
P136
Q1792379
USER
What can be considered as category for José Ramón Medina ?
(Q6293823,P136,c(Q1792379))
action filter_type
action find
entity Q6293823
relation P136
type Q1792379
['Q6293823', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q6293823 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
José Ramón Medina
action filter_type
action find
entity José Ramón Medina
relation genre
type art genre
['José Ramón Medina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:José_Ramón_Medina property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q6293823,P136,c(Q1792379))
action filter_type
action find
entity Q6293823
relation P136
type Q1792379
[ANSWER] can be considered as category for José Ramón Medina
['Q6293823', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q6293823 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
poetry
Poetry can be considered as category for José Ramón Medina
poetry
action filter_type
action find
entity José Ramón Medina
relation genre
type art genre
['José Ramón Medina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:José_Ramón_Medina property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1533 Q141810
P740
Q2088357
USER
How many musical ensembles were formed at Caracas or Laval ?
(c(Q2088357),P740,Q1533) (c(Q2088357),P740,Q141810)
action count
action union
action filter_type
action find_reverse
entity Q1533
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q141810
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1533'] [{'concept': 'Q2088357'}, 'P740', 'Q141810']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P740 resource:Q141810 . ?c rdf:type ontology:Q2088357 } UNION { ?c property:P740 resource:Q1533 . ?c rdf:type ontology:Q2088357 } }
Caracas Laval
action count
action union
action filter_type
action find_reverse
entity Caracas
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Laval
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Caracas'] [{'concept': 'musical ensemble'}, 'location of formation', 'Laval']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:location_of_formation resource:Laval . ?c rdf:type ontology:musical_ensemble } UNION { ?c property:location_of_formation resource:Caracas . ?c rdf:type ontology:musical_ensemble } }
[]
musical ensemble
SYSTEM
3
Q7714634 Q4915281 Q5223178
(c(Q2088357),P740,Q1533) (c(Q2088357),P740,Q141810)
action count
action union
action filter_type
action find_reverse
entity Q1533
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q141810
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q1533'] [{'concept': 'Q2088357'}, 'P740', 'Q141810']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P740 resource:Q141810 . ?c rdf:type ontology:Q2088357 } UNION { ?c property:P740 resource:Q1533 . ?c rdf:type ontology:Q2088357 } }
The Asbestos Bioshaft Dark Covenant
3
action count
action union
action filter_type
action find_reverse
entity Caracas
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Laval
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Caracas'] [{'concept': 'musical ensemble'}, 'location of formation', 'Laval']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:location_of_formation resource:Laval . ?c rdf:type ontology:musical_ensemble } UNION { ?c property:location_of_formation resource:Caracas . ?c rdf:type ontology:musical_ensemble } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5279175 Q6293823
P27
Q15617994
USER
Which administrative territories are José Ramón Medina and Diogenes Rivas a civilian of ?
AND((Q6293823,P27,c(Q15617994)), (Q5279175,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6293823
relation P27
action find
entity Q5279175
relation P27
type Q15617994
{'AND': [['Q6293823', 'P27', {'concept': 'Q15617994'}], ['Q5279175', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q6293823 property:P27 ?x . resource:Q5279175 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Diogenes Rivas José Ramón Medina
action filter_type
action intersection
action find
entity José Ramón Medina
relation country of citizenship
action find
entity Diogenes Rivas
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['José Ramón Medina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diogenes Rivas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:José_Ramón_Medina property:country_of_citizenship ?x . resource:Diogenes_Rivas property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
AND((Q6293823,P27,c(Q15617994)), (Q5279175,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6293823
relation P27
action find
entity Q5279175
relation P27
type Q15617994
[ANSWER] is José Ramón Medina and Diogenes Rivas a civilian of
{'AND': [['Q6293823', 'P27', {'concept': 'Q15617994'}], ['Q5279175', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q6293823 property:P27 ?x . resource:Q5279175 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Venezuela
Venezuela is José Ramón Medina and Diogenes Rivas a civilian of
Venezuela
action filter_type
action intersection
action find
entity José Ramón Medina
relation country of citizenship
action find
entity Diogenes Rivas
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['José Ramón Medina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diogenes Rivas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:José_Ramón_Medina property:country_of_citizenship ?x . resource:Diogenes_Rivas property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5279175
P106
Q12737077
USER
What does Diogenes Rivas do for a living?
(Q717,P106,c(Q12737077))
action filter_type
action find
entity Q5279175
relation P106
type Q12737077
['Q717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5279175 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Diogenes Rivas
action filter_type
action find
entity Diogenes Rivas
relation occupation
type occupation
['Venezuela', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Diogenes_Rivas property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q717,P106,c(Q12737077))
action filter_type
action find
entity Q5279175
relation P106
type Q12737077
[ANSWER] Diogenes Rivas does for a living
['Q717', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5279175 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
composer
Composer Diogenes Rivas does for a living
composer
action filter_type
action find
entity Diogenes Rivas
relation occupation
type occupation
['Venezuela', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Diogenes_Rivas property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q14660 Q17335294
USER
Which administrative territories come under the jurisdiction of min number of flags or coats of arms ?
(c(Q14660)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[[{'concept': 'Q14660'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } } GROUP BY ?v } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P1001 ?u . ?q rdf:type ontology:Q14660 . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q17335294 . ?q property:P1001 ?u } } GROUP BY ?u } } }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
[[{'concept': 'flag'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?v } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:applies_to_jurisdiction ?u . ?q rdf:type ontology:flag . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag_or_coat_of_arms . ?q property:applies_to_jurisdiction ?u } } GROUP BY ?u } } }
[]
designation for an administrative territorial entity flag flag or coat of arms
Q2007 Q1904 Q158095
SYSTEM
Northwest Territories, Ontario, Charlottenburg-Wilmersdorf
Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q7688 Q3097 Q158893 Q2942 Q11340 Q11343 Q1142326 Q2899 Q2758 Q1952 Q4712 Q155019 Q3389 Q163966 Q3068 Q11323 Q119284 Q3403547 Q2009 Q2007 Q1904 Q3462133 Q1989 Q2838 Q22274534 Q11337 Q11331 Q12642 Q154547 Q1216 Q12753 Q2805 Q2107 Q2380910 Q11301 Q2904 Q158095 Q158083 Q1243 Q72449 Q12549 Q22273285 Q329609 Q2938 Q1231 Q1237
(c(Q14660)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[ANSWERS] come under the jurisdiction of min number of flags or coats of arms
[[{'concept': 'Q14660'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } } GROUP BY ?v } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P1001 ?u . ?q rdf:type ontology:Q14660 . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q17335294 . ?q property:P1001 ?u } } GROUP BY ?u } } }
Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France raion Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Seine Mülheim an der Ruhr Mönchengladbach Nova Scotia Duchy of Burgundy Duchy of Lorraine Finistère Mitte Loire-Atlantique Breckerfeld Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Yukon Northwest Territories Ontario Saxe-Coburg and Gotha Saskatchewan Oberhausen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Piedmont Seine-et-Marne Krefeld Wuppertal Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise Lichtenberg Leverkusen Kosovo Region Trentino-South Tyrol
Northwest Territories, Ontario and Charlottenburg-Wilmersdorf come under the jurisdiction of min number of flags or coats of arms
Northwest Territories Ontario Charlottenburg-Wilmersdorf
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
[[{'concept': 'flag'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?v } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:applies_to_jurisdiction ?u . ?q rdf:type ontology:flag . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag_or_coat_of_arms . ?q property:applies_to_jurisdiction ?u } } GROUP BY ?u } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1524596 Q717
P530 P915
Q1048835
USER
Which political territories have diplomatic relationships with Venezuela and were Chalet Girl filmed ?
AND((Q717,P530,c(Q1048835)), (Q1524596,P915,c(Q1048835)))
action filter_type
action intersection
action find
entity Q717
relation P530
action find
entity Q1524596
relation P915
type Q1048835
{'AND': [['Q717', 'P530', {'concept': 'Q1048835'}], ['Q1524596', 'P915', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { resource:Q717 property:P530 ?x . resource:Q1524596 property:P915 ?x . ?x rdf:type ontology:Q1048835 }
Chalet Girl Venezuela
action filter_type
action intersection
action find
entity Venezuela
relation diplomatic relation
action find
entity Chalet Girl
relation filming location
type political territorial entity
{'AND': [['Venezuela', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chalet Girl', 'filming location', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Venezuela property:diplomatic_relation ?x . resource:Chalet_Girl property:filming_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q717,P530,c(Q1048835)), (Q1524596,P915,c(Q1048835)))
action filter_type
action intersection
action find
entity Q717
relation P530
action find
entity Q1524596
relation P915
type Q1048835
[ANSWER] have diplomatic relationships with Venezuela and were Chalet Girl filmed
{'AND': [['Q717', 'P530', {'concept': 'Q1048835'}], ['Q1524596', 'P915', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { resource:Q717 property:P530 ?x . resource:Q1524596 property:P915 ?x . ?x rdf:type ontology:Q1048835 }
Germany
Germany have diplomatic relationships with Venezuela and were Chalet Girl filmed
Germany
action filter_type
action intersection
action find
entity Venezuela
relation diplomatic relation
action find
entity Chalet Girl
relation filming location
type political territorial entity
{'AND': [['Venezuela', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chalet Girl', 'filming location', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Venezuela property:diplomatic_relation ?x . resource:Chalet_Girl property:filming_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q42924 Q158095
P47
Q15617994
USER
Which administrative territories do Charlottenburg-Wilmersdorf or Corbetta share a border with ?
OR((c(Q15617994),P47,Q158095), (c(Q15617994),P47,Q42924))
action filter_type
action union
action find_reverse
entity Q158095
relation P47
action find_reverse
entity Q42924
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q158095'], [{'concept': 'Q15617994'}, 'P47', 'Q42924']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { VALUES ( ?e ) { ( resource:Q158095 ) ( resource:Q42924 ) } . ?l property:P47 ?e } }
Corbetta Charlottenburg-Wilmersdorf
action filter_type
action union
action find_reverse
entity Charlottenburg-Wilmersdorf
relation shares border with
action find_reverse
entity Corbetta
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Charlottenburg-Wilmersdorf'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Corbetta']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Charlottenburg-Wilmersdorf ) ( resource:Corbetta ) } . ?l property:shares_border_with ?e } }
[]
designation for an administrative territorial entity
Q42896 Q158064 Q43045 Q42526 Q42916 Q42791 Q163966 Q158106 Q158083 Q158876
SYSTEM
Some of them are Albairate, Steglitz-Zehlendorf, Santo Stefano Ticino, Robecco sul Naviglio, Arluno, Vittuone, Mitte, Tempelhof-Schöneberg, Spandau, Reinickendorf
Q163966 Q43045 Q42526 Q42791 Q158083 Q42465 Q42916 Q158876 Q158064 Q158106 Q42896 Q42830
OR((c(Q15617994),P47,Q158095), (c(Q15617994),P47,Q42924))
action filter_type
action union
action find_reverse
entity Q158095
relation P47
action find_reverse
entity Q42924
relation P47
type Q15617994
[ANSWERS] Charlottenburg-Wilmersdorf or Corbetta share a border with
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q158095'], [{'concept': 'Q15617994'}, 'P47', 'Q42924']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { VALUES ( ?e ) { ( resource:Q158095 ) ( resource:Q42924 ) } . ?l property:P47 ?e } }
Mitte Santo Stefano Ticino Robecco sul Naviglio Vittuone Spandau Cassinetta di Lugagnano Arluno Reinickendorf Steglitz-Zehlendorf Tempelhof-Schöneberg Albairate Cisliano
Albairate, Steglitz-Zehlendorf, Santo Stefano Ticino, Robecco sul Naviglio, Arluno, Vittuone, Mitte, Tempelhof-Schöneberg, Spandau and Reinickendorf Charlottenburg-Wilmersdorf or Corbetta share a border with
Albairate Steglitz-Zehlendorf Santo Stefano Ticino Robecco sul Naviglio Arluno Vittuone Mitte Tempelhof-Schöneberg Spandau Reinickendorf
action filter_type
action union
action find_reverse
entity Charlottenburg-Wilmersdorf
relation shares border with
action find_reverse
entity Corbetta
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Charlottenburg-Wilmersdorf'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Corbetta']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Charlottenburg-Wilmersdorf ) ( resource:Corbetta ) } . ?l property:shares_border_with ?e } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q42896 Q158064 Q43045 Q42526 Q42916 Q42791 Q163966 Q158106 Q158083 Q158876
P47
Q15617994
USER
Which administrative territories have a shared border with those ones ?
(Q42896,P47,c(Q15617994)) (Q158064,P47,c(Q15617994)) (Q43045,P47,c(Q15617994)) (Q42526,P47,c(Q15617994)) (Q42916,P47,c(Q15617994)) (Q42791,P47,c(Q15617994)) (Q163966,P47,c(Q15617994)) (Q158106,P47,c(Q15617994)) (Q158083,P47,c(Q15617994)) (Q158876,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q42896', 'P47', {'concept': 'Q15617994'}] ['Q158064', 'P47', {'concept': 'Q15617994'}] ['Q43045', 'P47', {'concept': 'Q15617994'}] ['Q42526', 'P47', {'concept': 'Q15617994'}] ['Q42916', 'P47', {'concept': 'Q15617994'}] ['Q42791', 'P47', {'concept': 'Q15617994'}] ['Q163966', 'P47', {'concept': 'Q15617994'}] ['Q158106', 'P47', {'concept': 'Q15617994'}] ['Q158083', 'P47', {'concept': 'Q15617994'}] ['Q158876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?l property:P47 ?i . VALUES ( ?l ) { ( resource:Q163966 ) ( resource:Q43045 ) ( resource:Q42526 ) } . ?i rdf:type ontology:Q15617994 }
Albairate Steglitz-Zehlendorf Santo Stefano Ticino Robecco sul Naviglio Arluno Vittuone Mitte Tempelhof-Schöneberg Spandau Reinickendorf
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Albairate', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Steglitz-Zehlendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santo Stefano Ticino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Robecco sul Naviglio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Arluno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Vittuone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mitte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Tempelhof-Schöneberg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spandau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Reinickendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?l property:shares_border_with ?i . VALUES ( ?l ) { ( resource:Mitte ) ( resource:Santo_Stefano_Ticino ) ( resource:Robecco_sul_Naviglio ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q158064 Q158064 Q158095
SYSTEM
Charlottenburg-Wilmersdorf for 3rd, Steglitz-Zehlendorf for 1st, 2nd
Q42777 Q42830 Q42465 Q42548 Q42924 Q42169 Q158095 Q158106 Q104192 Q158083 Q42924 Q42535 Q42243 Q42916 Q42924 Q42777 Q22176 Q42465 Q42990 Q42624 Q43045 Q42791 Q42629 Q42924 Q42535 Q43043 Q42459 Q42496 Q42924 Q42990 Q42830 Q42916 Q163012 Q158876 Q158095 Q158106 Q158893 Q4071168 Q158095 Q163966 Q158893 Q158064 Q158095 Q158876 Q158064 Q163966 Q158095 Q163012 Q158083
(Q42896,P47,c(Q15617994)) (Q158064,P47,c(Q15617994)) (Q43045,P47,c(Q15617994)) (Q42526,P47,c(Q15617994)) (Q42916,P47,c(Q15617994)) (Q42791,P47,c(Q15617994)) (Q163966,P47,c(Q15617994)) (Q158106,P47,c(Q15617994)) (Q158083,P47,c(Q15617994)) (Q158876,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
['Q42896', 'P47', {'concept': 'Q15617994'}] ['Q158064', 'P47', {'concept': 'Q15617994'}] ['Q43045', 'P47', {'concept': 'Q15617994'}] ['Q42526', 'P47', {'concept': 'Q15617994'}] ['Q42916', 'P47', {'concept': 'Q15617994'}] ['Q42791', 'P47', {'concept': 'Q15617994'}] ['Q163966', 'P47', {'concept': 'Q15617994'}] ['Q158106', 'P47', {'concept': 'Q15617994'}] ['Q158083', 'P47', {'concept': 'Q15617994'}] ['Q158876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?l property:P47 ?i . VALUES ( ?l ) { ( resource:Q163966 ) ( resource:Q43045 ) ( resource:Q42526 ) } . ?i rdf:type ontology:Q15617994 }
Abbiategrasso Cisliano Cassinetta di Lugagnano Vermezzo Corbetta Gaggiano Charlottenburg-Wilmersdorf Tempelhof-Schöneberg Kleinmachnow Spandau Corbetta Ossona Marcallo con Casone Arluno Corbetta Abbiategrasso Cerano Cassinetta di Lugagnano Sedriano Casorezzo Santo Stefano Ticino Vittuone Parabiago Corbetta Ossona Vanzago Pogliano Milanese Nerviano Corbetta Sedriano Cisliano Arluno Pankow Reinickendorf Charlottenburg-Wilmersdorf Tempelhof-Schöneberg Friedrichshain-Kreuzberg Neukölln Charlottenburg-Wilmersdorf Mitte Friedrichshain-Kreuzberg Steglitz-Zehlendorf Charlottenburg-Wilmersdorf Reinickendorf Steglitz-Zehlendorf Mitte Charlottenburg-Wilmersdorf Pankow Spandau
Steglitz-Zehlendorf, Steglitz-Zehlendorf and Charlottenburg-Wilmersdorf have a shared border with those ones
Steglitz-Zehlendorf Steglitz-Zehlendorf Charlottenburg-Wilmersdorf
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Albairate', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Steglitz-Zehlendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santo Stefano Ticino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Robecco sul Naviglio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Arluno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Vittuone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Mitte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Tempelhof-Schöneberg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spandau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Reinickendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?l property:shares_border_with ?i . VALUES ( ?l ) { ( resource:Mitte ) ( resource:Santo_Stefano_Ticino ) ( resource:Robecco_sul_Naviglio ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q158064
P190
Q15617994
USER
Which administrative territories are twin cities of Steglitz-Zehlendorf ?
(Q158064,P190,c(Q15617994))
action filter_type
action find
entity Q158064
relation P190
type Q15617994
['Q158064', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q158064 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Steglitz-Zehlendorf
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type designation for an administrative territorial entity
['Steglitz-Zehlendorf', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Steglitz-Zehlendorf property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q625897 Q116592 Q2871
SYSTEM
Nentershausen, Cassino, Hagen
Q625897 Q116592 Q2871
(Q158064,P190,c(Q15617994))
action filter_type
action find
entity Q158064
relation P190
type Q15617994
[ANSWERS] are twin cities of Steglitz-Zehlendorf
['Q158064', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q158064 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Nentershausen Cassino Hagen
Nentershausen, Cassino and Hagen are twin cities of Steglitz-Zehlendorf
Nentershausen Cassino Hagen
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type designation for an administrative territorial entity
['Steglitz-Zehlendorf', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Steglitz-Zehlendorf property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q158064
Q123705
USER
And which neighborhood?
(Q158064,P190,c(Q123705))
action filter_type
action find
entity Q158064
relation P190
type Q123705
['Q158064', 'P190', {'concept': 'Q123705'}]
SELECT DISTINCT ?k WHERE { resource:Q158064 property:P190 ?k . ?k rdf:type ontology:Q123705 }
Steglitz-Zehlendorf
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type neighborhood
['Steglitz-Zehlendorf', 'sister city', {'concept': 'neighborhood'}]
SELECT DISTINCT ?k WHERE { resource:Steglitz-Zehlendorf property:sister_city ?k . ?k rdf:type ontology:neighborhood }
[]
neighborhood
Q228445
SYSTEM
Zugló
Q228445
(Q158064,P190,c(Q123705))
action filter_type
action find
entity Q158064
relation P190
type Q123705
[ANSWER]
['Q158064', 'P190', {'concept': 'Q123705'}]
SELECT DISTINCT ?k WHERE { resource:Q158064 property:P190 ?k . ?k rdf:type ontology:Q123705 }
Zugló
Zugló
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type neighborhood
['Steglitz-Zehlendorf', 'sister city', {'concept': 'neighborhood'}]
SELECT DISTINCT ?k WHERE { resource:Steglitz-Zehlendorf property:sister_city ?k . ?k rdf:type ontology:neighborhood }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q139190 Q2871
P19
Q502895
USER
Which people have location of birth at Hagen or Terrebonne ?
OR((c(Q502895),P19,Q2871), (c(Q502895),P19,Q139190))
action filter_type
action union
action find_reverse
entity Q2871
relation P19
action find_reverse
entity Q139190
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q2871'], [{'concept': 'Q502895'}, 'P19', 'Q139190']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P19 resource:Q2871 } UNION { ?z property:P19 resource:Q139190 } } . ?z rdf:type ontology:Q502895 }
Terrebonne Hagen
action filter_type
action union
action find_reverse
entity Hagen
relation place of birth
action find_reverse
entity Terrebonne
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Hagen'], [{'concept': 'common name'}, 'place of birth', 'Terrebonne']]}
SELECT DISTINCT ?z WHERE { { { ?z property:place_of_birth resource:Hagen } UNION { ?z property:place_of_birth resource:Terrebonne } } . ?z rdf:type ontology:common_name }
[]
common name
Q3187999 Q103775 Q1645233 Q14214370 Q1583894 Q1371304 Q61488 Q317829 Q1363253 Q13424213
SYSTEM
Some of them are Judith Jasmin, Wilhelm Schäperclaus, Alfred Dörner, Jörg Mielke, Hansjörg Thurn, Franz Thedieck, Günther Bechem, Jonny Otten, Erwin Milzkott, Bernhard Everke
Q3295754 Q16063122 Q61139 Q1439969 Q15438678 Q1632376 Q2561136 Q748143 Q6836448 Q1468852 Q1716778 Q100360 Q5708412 Q1704879 Q1717357 Q18027100 Q2032744 Q16157611 Q1468744 Q1511308 Q1552793 Q1363286 Q1748070 Q1614629 Q16319660 Q344035 Q110526 Q1599236 Q3446464 Q118067 Q27107094 Q2562352 Q259078 Q1603511 Q61488 Q1730356 Q2168898 Q2140797 Q2287857 Q1597538 Q3524528 Q15794553 Q1504936 Q6371479 Q1243627 Q1279300 Q97812 Q1714798 Q1583894 Q2829917 Q1251489 Q206664 Q77583 Q804845 Q324173 Q13424213 Q1645233 Q153996 Q14466647 Q17321481 Q5649532 Q792148 Q16782556 Q104389 Q3127071 Q1686263 Q111175 Q20119954 Q19772432 Q1595942 Q65648 Q2839781 Q1485298 Q17621125 Q1715476 Q1364063 Q317829 Q823220 Q1730779 Q216424 Q823757 Q2574928 Q75495 Q1906136 Q1930023 Q1992446 Q1045585 Q25906197 Q1878075 Q2061797 Q1434614 Q103932 Q1352627 Q100363 Q2677989 Q1387370 Q74432 Q521051 Q1662702 Q446330 Q3507034 Q78334 Q1635411 Q2173344 Q2128428 Q5504880 Q6687606 Q19361193 Q1580182 Q1410062 Q321435 Q16058843 Q1630094 Q539435 Q1341925 Q1039474 Q108658 Q19911617 Q2572431 Q2654813 Q1548440 Q1904585 Q1506611 Q240763 Q97338 Q1715347 Q2941839 Q2638921 Q100521 Q1332827 Q77784 Q15990430 Q1757741 Q1871036 Q3558816 Q449119 Q1657923 Q2571219 Q1408741 Q1282213 Q5649543 Q207033 Q807558 Q1361192 Q2162852 Q1293242 Q3184198 Q1510561 Q1681422 Q18326506 Q1537719 Q122989 Q1559447 Q1358665 Q663451 Q2144834 Q2545986 Q1222804 Q19276589 Q1145343 Q1712793 Q18763303 Q17122260 Q1264047 Q2129188 Q100554 Q3187999 Q1228875 Q1260166 Q78191 Q1459645 Q1788829 Q527739 Q1371304 Q13422608 Q102880 Q4810675 Q4762708 Q1363253 Q1478862 Q1985845 Q1520973 Q608672 Q6381140 Q834331 Q70790 Q1604655 Q1468437 Q1436097 Q16864276 Q1441396 Q13422686 Q19959070 Q4999001 Q100558 Q977570 Q315982 Q1510999 Q1717289 Q1597634 Q103775 Q15850846 Q1298309 Q2018013 Q1299418 Q23060916 Q1223056 Q77750 Q16657478 Q1552865 Q1504436 Q1084843 Q10422436 Q1611647 Q113693 Q1336183 Q2467753 Q1290125 Q90198 Q1895419 Q84392 Q6372134 Q23061446 Q2474944 Q1415277 Q1329799 Q68563 Q2263074 Q566143 Q1413018 Q92486 Q655703 Q113451 Q95418 Q1594355 Q18620100 Q1686050 Q2163368 Q317318 Q562809 Q1526089 Q97477 Q1682126 Q2158853 Q1317027 Q3270671 Q109444 Q324821 Q2159832 Q14214370 Q1572568 Q316718 Q21536353 Q761257 Q2504837 Q126730 Q1670288 Q1042430 Q2574775 Q2061505 Q2040317 Q1041692 Q3438310 Q1047825 Q1352179 Q16295487 Q1732567 Q831208 Q21642442 Q3260638 Q15440129 Q106893 Q817575 Q2073961 Q216170 Q1504222 Q60574
OR((c(Q502895),P19,Q2871), (c(Q502895),P19,Q139190))
action filter_type
action union
action find_reverse
entity Q2871
relation P19
action find_reverse
entity Q139190
relation P19
type Q502895
[ANSWERS] have location of birth at Hagen or Terrebonne
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q2871'], [{'concept': 'Q502895'}, 'P19', 'Q139190']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P19 resource:Q2871 } UNION { ?z property:P19 resource:Q139190 } } . ?z rdf:type ontology:Q502895 }
Martine Chevrier Léon-Charles Clément Michael Kohlmann Willi Störring Eddy Kante Peter Demnitz Werner Feldscher Florian Thorwart Michel Klyne Ursula Verhoeven-van Elsbergen Sabriina Heuer Richard Laugs Hellmut Rohweder Josef Höchst Jürgen Kluge Rainer Wemcken Oscar Funcke Wilhelm Altenloh Fritz Vogt Gerhard Bergmann Ulrich Schmücker Erwin Niermann Werner Kaltefleiter Herta Schmidt Kurt Hancke İshak Doğan Ingrid Kötter Heinrich Wieschhoff Ruben Charles Laurier Arnd Neuhaus Jonas Brammen Werner Rhode Carl Baumann Helmut Erlinghagen Günther Bechem Karl August Gerhardi Rotraut Wisskirchen Reinhard Koester Simon Urban Heinrich Hawick Thierry St-Cyr Claus Janzen Georg Jöstingmeier Karl-Heinz Worthmann Dora Lösche Eberhard Risse Günter Goebel Peter Moers Hansjörg Thurn Alain Héroux Heinrich Hockermann Onur Cenik Herbert Reinecker Baldur Springmann Patrick Fabian Bernhard Everke Alfred Dörner Nena Kimberly Hyacinthe Erik O. Schulz Hans-Dieter von Basse Axel Gundrum Benjamin Piel Willi Weyer Hanskurt Höcker Karl Heinz Nolzen August Philip of Limburg Stirum Thomas Daum Thomas Winkelmann Hein Thorn Prikker Charles Hallé Alphonse Desjardins Liselotte Funcke Alex Guénette Jörg Puttlitz Josef Kleffner Jonny Otten Bernd-Dietrich Katthagen Karl Dönch Will Lammert Bernd Kruel Wilhelm Schmurr Hans Reichel Marwin Studtrucker Michaela Engelmeier-Heite Nils Sondermann Carsten Klomp Ulrich Biermann Lutz Eikelmann Paul Rasche Tobias Schröder Georg von Detten Erich Krause Wolfgang von Chamier-Glisczinski Dustin Demuth Hans-Joachim Gottschol Karl Ernst Osthaus Mousse T. Inga Humpe Sabrina Richter Sylvain Lacombe Bettina Hauert Hugo Ludwig Rath Rudolf Loskand Rainer Thielmann Fritz Bunse Louis Labrèche-Viger Rengha Rodewill Hans Henrici Frank Asbeck Abisag Tüllmann François X. Matthieu Ida Gerhardi Annette Humpe Engelbert Koch Carl Lomb Wilhelm Prentzel Wilhelm Claas Wilhelm Druck Armin Tebben Wolfgang Bonß Martin Molitor Georg von Holtzbrinck Heinrich Brocksieper Carl Bremiker Jörg Hartmann Catherine Brunet Albert Trumpetter Wolfgang Jörg Elmar Salmann Per Günther Detlef Kamke Oliver Herkelmann Lothar Wrede Stelios Sfakianakis Emil Schumacher Alfred Erich Sistig Wilfried Horn Utz Brocksieper Klaus Friese Hans-Georg Borck Ziyed Chennoufi Barbara Mittler Friedrich von Basse Roland E. Koch Franz Mannstaedt J. B. Turgeon Gerd Hirschauer Klaus-Hagen Latwesen Dietrich Urbach Martin Faulstich Kai Havaii Göran Kauermann Ernst Hildebrand Thomas Nicholson Gibbs René Röspel Walter Rodekamp Dieter Schrage Dörthe Binkert Curt Stoermer Julius Lenzmann Aurelio Savina Antje Vowinckel Reinhard Winterhoff Ralf Eilenberger Walter Hammer Judith Jasmin Hugo Paul Stefan Erbe Magdalene Hoff Friedrich Helmich Reinhard Hilker Andy Spyra Franz Thedieck Helmuth Althaus Monika Feth Asterios Karagiannis Angelika Knipping Erwin Milzkott Albert Schmidt Niclas Pieczkowski Heinrich Schaberg Louis-Olivier Taillon Yves Héroux Gaetano Manno Barbara Morgenstern Helwig Pütter Fritz Sotke Thomas Wolff Peter Reuter Wilhelm Lünenschloß Hermann Höllenreiner Sonja vom Brocke Burkhart Waldecker Helmut Diegel Gero Fischer Mambo Kurt Gerda Meyer-Bernstein Jürgen Hubbert Heinrich Holthaus Wilhelm Schäperclaus Thorsten Naumann Ferdinand David Olaf Machelett Michael Körner Kaspar Brüninghaus Dieter Ziegenfeuter Rob Mayth Paul Seuthe Louis-Rodrigue Masson Stefan Studtrucker Christoph Fasel Augustinus Lehmkuhl Hermann Jakobs Birte Wentzek Emil Karl Hartwig Maria Anna Blondin Eduard Sturm Hans Nieland Margret Homeyer Thomas Wessinghage Karl Ouimette Hermann Hiesgen Uli Becker Jörg Daniel Elsbeth Bonnemann Ralf Waldmann Sebastian Schneider Anneliese Fleyenschmidt Stephen Janetzko Emil Thuy Ariane Krampe Friedrich von Hövel Paul Schmidt Lina Beckmann Claudia Hirschfeld Jeannette Götte Rolf Escher Nizamettin Çalışkan Anna Oventrop Giovanni Federico Ernst Meister Jan Philipp Gloger Robert Stahl Wolfgang Schrage Léon Adolphe Chauvin Julia Hummer Willi Oberbeck Robin Kuhlmann Jörg Mielke Hildegard Wensch Salvatore Gambino Christian Solmecke August Fischer Uwe Voehl Jan-Ole Gerster Willi Bürger Carlo Ross Wilhelm Römer Paul Noack Otto Rippel Carlhans Scharpenseel Rodolphe Forget Caspar Butz Erich Flottmann Wolfgang Dürwald Karl Pawlowski Klaus-Dieter Seehaus René Eidams Louis-Joseph Forget Orlando M. Günther Baumgärtel Benjamin Knoche Peter Blecher Nicholas Rescher Georg Heinrich Julius Florschütz Artur Axmann
Judith Jasmin, Wilhelm Schäperclaus, Alfred Dörner, Jörg Mielke, Hansjörg Thurn, Franz Thedieck, Günther Bechem, Jonny Otten, Erwin Milzkott and Bernhard Everke have location of birth at Hagen or Terrebonne
Judith Jasmin Wilhelm Schäperclaus Alfred Dörner Jörg Mielke Hansjörg Thurn Franz Thedieck Günther Bechem Jonny Otten Erwin Milzkott Bernhard Everke
action filter_type
action union
action find_reverse
entity Hagen
relation place of birth
action find_reverse
entity Terrebonne
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Hagen'], [{'concept': 'common name'}, 'place of birth', 'Terrebonne']]}
SELECT DISTINCT ?z WHERE { { { ?z property:place_of_birth resource:Hagen } UNION { ?z property:place_of_birth resource:Terrebonne } } . ?z rdf:type ontology:common_name }
[]