Simple Question (Direct)
Simple Question
Q1580204
P21
Q290
USER
Which sex does Hans Hermann Dieckvoß belong to ?
(Q1580204,P21,c(Q290))
action filter_type
action find
entity Q1580204
relation P21
type Q290
['Q1580204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q1580204 property:P21 ?g }
Hans Hermann Dieckvoß
action filter_type
action find
entity Hans Hermann Dieckvoß
relation gender
type sex
['Hans Hermann Dieckvoß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Hans_Hermann_Dieckvoß property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1580204,P21,c(Q290))
action filter_type
action find
entity Q1580204
relation P21
type Q290
Hans Hermann Dieckvoß belongs to [ANSWER]
['Q1580204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q1580204 property:P21 ?g }
male
Hans Hermann Dieckvoß belongs to male
male
action filter_type
action find
entity Hans Hermann Dieckvoß
relation gender
type sex
['Hans Hermann Dieckvoß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Hans_Hermann_Dieckvoß property:gender ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1580204
P937
Q515
USER
What is the work location of Hans Hermann Dieckvoß ?
(Q1580204,P937,c(Q515))
action filter_type
action find
entity Q1580204
relation P937
type Q515
['Q1580204', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1580204 property:P937 ?p . ?p rdf:type ontology:Q515 }
Hans Hermann Dieckvoß
action filter_type
action find
entity Hans Hermann Dieckvoß
relation work location
type city
['Hans Hermann Dieckvoß', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Hermann_Dieckvoß property:work_location ?p . ?p rdf:type ontology:city }
[]
city
Q1720
SYSTEM
Mainz
Q1720
(Q1580204,P937,c(Q515))
action filter_type
action find
entity Q1580204
relation P937
type Q515
The work location of Hans Hermann Dieckvoß is in [ANSWER]
['Q1580204', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1580204 property:P937 ?p . ?p rdf:type ontology:Q515 }
Mainz
The work location of Hans Hermann Dieckvoß is in Mainz
Mainz
action filter_type
action find
entity Hans Hermann Dieckvoß
relation work location
type city
['Hans Hermann Dieckvoß', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Hermann_Dieckvoß property:work_location ?p . ?p rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1580204
P102
Q7210356
USER
Which party is Hans Hermann Dieckvoß affiliated with ?
(Q1580204,P102,c(Q7210356))
action filter_type
action find
entity Q1580204
relation P102
type Q7210356
['Q1580204', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q1580204 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Hans Hermann Dieckvoß
action filter_type
action find
entity Hans Hermann Dieckvoß
relation member of political party
type political organization
['Hans Hermann Dieckvoß', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Hermann_Dieckvoß property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q13124
SYSTEM
Free Democratic Party
Q13124
(Q1580204,P102,c(Q7210356))
action filter_type
action find
entity Q1580204
relation P102
type Q7210356
Hans Hermann Dieckvoß is affiliated with [ANSWER]
['Q1580204', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q1580204 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Free Democratic Party
Hans Hermann Dieckvoß is affiliated with Free Democratic Party
Free Democratic Party
action filter_type
action find
entity Hans Hermann Dieckvoß
relation member of political party
type political organization
['Hans Hermann Dieckvoß', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Hermann_Dieckvoß property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1580204
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q13124,P27,c(Q1048835))
action filter_type
action find
entity Q1580204
relation P27
type Q1048835
['Q13124', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1580204 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Hans Hermann Dieckvoß
action filter_type
action find
entity Hans Hermann Dieckvoß
relation country of citizenship
type political territorial entity
['Free Democratic Party', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Hermann_Dieckvoß property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q13124,P27,c(Q1048835))
action filter_type
action find
entity Q1580204
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q13124', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1580204 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Hans Hermann Dieckvoß
relation country of citizenship
type political territorial entity
['Free Democratic Party', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Hermann_Dieckvoß property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1089968 Q13124
P488 P161
Q502895
USER
Which people were the chairpersons of Free Democratic Party or were casted in Crown Prince Rudolph's Last Love ?
OR((Q13124,P488,c(Q502895)), (Q1089968,P161,c(Q502895)))
action filter_type
action union
action find
entity Q13124
relation P488
action find
entity Q1089968
relation P161
type Q502895
{'OR': [['Q13124', 'P488', {'concept': 'Q502895'}], ['Q1089968', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1089968 property:P161 ?z } UNION { resource:Q13124 property:P488 ?z } } . ?z rdf:type ontology:Q502895 }
Crown Prince Rudolph's Last Love Free Democratic Party
action filter_type
action union
action find
entity Free Democratic Party
relation chairperson
action find
entity Crown Prince Rudolph's Last Love
relation cast member
type common name
{'OR': [['Free Democratic Party', 'chairperson', {'concept': 'common name'}], ["Crown Prince Rudolph's Last Love", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Crown_Prince_Rudolph's_Last_Love property:cast_member ?z } UNION { resource:Free_Democratic_Party property:chairperson ?z } } . ?z rdf:type ontology:common_name }
[]
common name
Q2594 Q58284 Q1546025 Q106235 Q91034 Q491610 Q377463 Q548112 Q66115 Q85436
SYSTEM
Some of them are Theodor Heuss, Guido Westerwelle, Grete Zimmer, Hans-Dietrich Genscher, Winnie Markus, Erich Mende, Adrienne Gessner, Christiane Hörbiger, Lil Dagover, Walther Reyer
Q548112 Q2571 Q66115 Q159913 Q57789 Q58284 Q85436 Q491610 Q61250 Q106235 Q85343 Q205357 Q85806 Q60153 Q2594 Q215092 Q377463 Q1732963 Q1546025 Q213976 Q90432 Q1022573 Q69029 Q91034 Q1730833 Q94636
OR((Q13124,P488,c(Q502895)), (Q1089968,P161,c(Q502895)))
action filter_type
action union
action find
entity Q13124
relation P488
action find
entity Q1089968
relation P161
type Q502895
[ANSWERS] were the chairpersons of Free Democratic Party or were casted in Crown Prince Rudolph's Last Love
{'OR': [['Q13124', 'P488', {'concept': 'Q502895'}], ['Q1089968', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1089968 property:P161 ?z } UNION { resource:Q13124 property:P488 ?z } } . ?z rdf:type ontology:Q502895 }
Christiane Hörbiger Walter Scheel Lil Dagover Klaus Kinkel Philipp Rösler Guido Westerwelle Walther Reyer Erich Mende Martin Bangemann Hans-Dietrich Genscher Attila Hörbiger Franz Blücher Christian Lindner Otto Graf Lambsdorff Theodor Heuss Thomas Dehler Adrienne Gessner Karl Schwetter Grete Zimmer Reinhold Maier Erik Frey C. W. Fernbach Wolfgang Gerhardt Winnie Markus Karl Ehmann Rudolf Prack
Theodor Heuss, Guido Westerwelle, Grete Zimmer, Hans-Dietrich Genscher, Winnie Markus, Erich Mende, Adrienne Gessner, Christiane Hörbiger, Lil Dagover and Walther Reyer were the chairpersons of Free Democratic Party or were casted in Crown Prince Rudolph's Last Love
Theodor Heuss Guido Westerwelle Grete Zimmer Hans-Dietrich Genscher Winnie Markus Erich Mende Adrienne Gessner Christiane Hörbiger Lil Dagover Walther Reyer
action filter_type
action union
action find
entity Free Democratic Party
relation chairperson
action find
entity Crown Prince Rudolph's Last Love
relation cast member
type common name
{'OR': [['Free Democratic Party', 'chairperson', {'concept': 'common name'}], ["Crown Prince Rudolph's Last Love", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Crown_Prince_Rudolph's_Last_Love property:cast_member ?z } UNION { resource:Free_Democratic_Party property:chairperson ?z } } . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2594 Q58284 Q1546025 Q106235 Q91034 Q491610 Q377463 Q548112 Q66115 Q85436
P27
Q1048835
USER
Which political territories do Theodor Heuss, Guido Westerwelle, Grete Zimmer, Hans-Dietrich Genscher, Winnie Markus, Erich Mende, Adrienne Gessner, Christiane Hörbiger, Lil Dagover and Walther Reyer belong to ?
(Q2594,P27,c(Q1048835)) (Q58284,P27,c(Q1048835)) (Q1546025,P27,c(Q1048835)) (Q106235,P27,c(Q1048835)) (Q91034,P27,c(Q1048835)) (Q491610,P27,c(Q1048835)) (Q377463,P27,c(Q1048835)) (Q548112,P27,c(Q1048835)) (Q66115,P27,c(Q1048835)) (Q85436,P27,c(Q1048835))
action union
action filter_type
action find
entity Q2594
relation P27
type Q1048835
action filter_type
action find
entity Q58284
relation P27
type Q1048835
action filter_type
action find
entity Q1546025
relation P27
type Q1048835
action filter_type
action find
entity Q106235
relation P27
type Q1048835
action filter_type
action find
entity Q91034
relation P27
type Q1048835
action filter_type
action find
entity Q491610
relation P27
type Q1048835
action filter_type
action find
entity Q377463
relation P27
type Q1048835
action filter_type
action find
entity Q548112
relation P27
type Q1048835
action filter_type
action find
entity Q66115
relation P27
type Q1048835
action filter_type
action find
entity Q85436
relation P27
type Q1048835
['Q2594', 'P27', {'concept': 'Q1048835'}] ['Q58284', 'P27', {'concept': 'Q1048835'}] ['Q1546025', 'P27', {'concept': 'Q1048835'}] ['Q106235', 'P27', {'concept': 'Q1048835'}] ['Q91034', 'P27', {'concept': 'Q1048835'}] ['Q491610', 'P27', {'concept': 'Q1048835'}] ['Q377463', 'P27', {'concept': 'Q1048835'}] ['Q548112', 'P27', {'concept': 'Q1048835'}] ['Q66115', 'P27', {'concept': 'Q1048835'}] ['Q85436', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?i property:P27 ?j . VALUES ( ?i ) { ( resource:Q2594 ) ( resource:Q58284 ) } }
Theodor Heuss Guido Westerwelle Grete Zimmer Hans-Dietrich Genscher Winnie Markus Erich Mende Adrienne Gessner Christiane Hörbiger Lil Dagover Walther Reyer
action union
action filter_type
action find
entity Theodor Heuss
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Guido Westerwelle
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Grete Zimmer
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Hans-Dietrich Genscher
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Winnie Markus
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Erich Mende
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Adrienne Gessner
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Christiane Hörbiger
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Lil Dagover
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Walther Reyer
relation country of citizenship
type political territorial entity
['Theodor Heuss', 'country of citizenship', {'concept': 'political territorial entity'}] ['Guido Westerwelle', 'country of citizenship', {'concept': 'political territorial entity'}] ['Grete Zimmer', 'country of citizenship', {'concept': 'political territorial entity'}] ['Hans-Dietrich Genscher', 'country of citizenship', {'concept': 'political territorial entity'}] ['Winnie Markus', 'country of citizenship', {'concept': 'political territorial entity'}] ['Erich Mende', 'country of citizenship', {'concept': 'political territorial entity'}] ['Adrienne Gessner', 'country of citizenship', {'concept': 'political territorial entity'}] ['Christiane Hörbiger', 'country of citizenship', {'concept': 'political territorial entity'}] ['Lil Dagover', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walther Reyer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?i property:country_of_citizenship ?j . VALUES ( ?i ) { ( resource:Theodor_Heuss ) ( resource:Guido_Westerwelle ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q40 Q183 Q183 Q183 Q40 Q40 Q183 Q40
(Q2594,P27,c(Q1048835)) (Q58284,P27,c(Q1048835)) (Q1546025,P27,c(Q1048835)) (Q106235,P27,c(Q1048835)) (Q91034,P27,c(Q1048835)) (Q491610,P27,c(Q1048835)) (Q377463,P27,c(Q1048835)) (Q548112,P27,c(Q1048835)) (Q66115,P27,c(Q1048835)) (Q85436,P27,c(Q1048835))
action union
action filter_type
action find
entity Q2594
relation P27
type Q1048835
action filter_type
action find
entity Q58284
relation P27
type Q1048835
action filter_type
action find
entity Q1546025
relation P27
type Q1048835
action filter_type
action find
entity Q106235
relation P27
type Q1048835
action filter_type
action find
entity Q91034
relation P27
type Q1048835
action filter_type
action find
entity Q491610
relation P27
type Q1048835
action filter_type
action find
entity Q377463
relation P27
type Q1048835
action filter_type
action find
entity Q548112
relation P27
type Q1048835
action filter_type
action find
entity Q66115
relation P27
type Q1048835
action filter_type
action find
entity Q85436
relation P27
type Q1048835
The [ANSWER], [ANSWER] and [ANSWER] Theor Heuss, Gui Westerwelle, Grete Zimmer, Hans-Dietrich Genscher, Winnie Markus, Erich Mende, Adrienne Gessner, Christiane Hörbiger, Lil Dagover and Walther Reyer belong to
['Q2594', 'P27', {'concept': 'Q1048835'}] ['Q58284', 'P27', {'concept': 'Q1048835'}] ['Q1546025', 'P27', {'concept': 'Q1048835'}] ['Q106235', 'P27', {'concept': 'Q1048835'}] ['Q91034', 'P27', {'concept': 'Q1048835'}] ['Q491610', 'P27', {'concept': 'Q1048835'}] ['Q377463', 'P27', {'concept': 'Q1048835'}] ['Q548112', 'P27', {'concept': 'Q1048835'}] ['Q66115', 'P27', {'concept': 'Q1048835'}] ['Q85436', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?i property:P27 ?j . VALUES ( ?i ) { ( resource:Q2594 ) ( resource:Q58284 ) } }
Germany Germany Austria Germany Germany Germany Austria Austria Germany Austria
The Germany, Germany and Germany Theor Heuss, Gui Westerwelle, Grete Zimmer, Hans-Dietrich Genscher, Winnie Markus, Erich Mende, Adrienne Gessner, Christiane Hörbiger, Lil Dagover and Walther Reyer belong to
Germany Germany Germany
action union
action filter_type
action find
entity Theodor Heuss
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Guido Westerwelle
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Grete Zimmer
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Hans-Dietrich Genscher
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Winnie Markus
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Erich Mende
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Adrienne Gessner
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Christiane Hörbiger
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Lil Dagover
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Walther Reyer
relation country of citizenship
type political territorial entity
['Theodor Heuss', 'country of citizenship', {'concept': 'political territorial entity'}] ['Guido Westerwelle', 'country of citizenship', {'concept': 'political territorial entity'}] ['Grete Zimmer', 'country of citizenship', {'concept': 'political territorial entity'}] ['Hans-Dietrich Genscher', 'country of citizenship', {'concept': 'political territorial entity'}] ['Winnie Markus', 'country of citizenship', {'concept': 'political territorial entity'}] ['Erich Mende', 'country of citizenship', {'concept': 'political territorial entity'}] ['Adrienne Gessner', 'country of citizenship', {'concept': 'political territorial entity'}] ['Christiane Hörbiger', 'country of citizenship', {'concept': 'political territorial entity'}] ['Lil Dagover', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walther Reyer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?i property:country_of_citizenship ?j . VALUES ( ?i ) { ( resource:Theodor_Heuss ) ( resource:Guido_Westerwelle ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q58284
P119
Q39614
USER
Where was Guido Westerwelle buried ?
(Q58284,P119,c(Q39614))
action filter_type
action find
entity Q58284
relation P119
type Q39614
['Q58284', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?g WHERE { resource:Q58284 property:P119 ?g . ?g rdf:type ontology:Q39614 }
Guido Westerwelle
action filter_type
action find
entity Guido Westerwelle
relation place of burial
type cemetery
['Guido Westerwelle', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?g WHERE { resource:Guido_Westerwelle property:place_of_burial ?g . ?g rdf:type ontology:cemetery }
[]
cemetery
Q883970
SYSTEM
Melaten-Friedhof
Q883970
(Q58284,P119,c(Q39614))
action filter_type
action find
entity Q58284
relation P119
type Q39614
Guido Westerwelle was buried at [ANSWER]
['Q58284', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?g WHERE { resource:Q58284 property:P119 ?g . ?g rdf:type ontology:Q39614 }
Melaten-Friedhof
Guido Westerwelle was buried at Melaten-Friedhof
Melaten-Friedhof
action filter_type
action find
entity Guido Westerwelle
relation place of burial
type cemetery
['Guido Westerwelle', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?g WHERE { resource:Guido_Westerwelle property:place_of_burial ?g . ?g rdf:type ontology:cemetery }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P119
Q39614 Q502895
USER
How many cemeteries are the place of burial for lesser number of people located than that cemetery ?
(c(Q502895),P119,c(Q39614))
action count
action less
action find_reverse_tuple_counts
relation P119
type Q39614
type Q502895
action count
action filter_type
action find_reverse
entity Q883970
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P119 ?k . ?k rdf:type ontology:Q39614 . ?z rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P119 resource:Q883970 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?x < ?h ) }
action count
action less
action find_reverse_tuple_counts
relation place of burial
type cemetery
type common name
action count
action filter_type
action find_reverse
entity Melaten-Friedhof
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:place_of_burial ?k . ?k rdf:type ontology:cemetery . ?z rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:place_of_burial resource:Melaten-Friedhof . ?f rdf:type ontology:common_name } } . FILTER ( ?x < ?h ) }
[]
cemetery common name
SYSTEM
89
Q133423 Q5997735 Q6765316 Q5547619 Q5189372 Q7419541 Q2972515 Q7675630 Q5548907 Q572953 Q63216 Q5916659 Q2972677 Q8509467 Q7286928 Q14709878 Q4720984 Q335336 Q831131 Q2782982 Q7414075 Q115094 Q7182750 Q6919111 Q7581012 Q781858 Q4868933 Q6763242 Q7813241 Q7073757 Q5471496 Q3346910 Q5472051 Q15411497 Q932942 Q13217298 Q1716395 Q7971802 Q81785 Q15977377 Q260386 Q4757517 Q1436015 Q2314811 Q4862481 Q4669042 Q4767971 Q6423683 Q6815851 Q2119632 Q2972552 Q607817 Q7604738 Q5592552 Q2972535 Q6784322 Q7354515 Q7908779 Q2081077 Q6826209 Q681106 Q1120689 Q2891136 Q675174 Q1861419 Q6924989 Q5243557 Q12062117 Q2972508 Q10286526 Q7413344 Q114597 Q5885770 Q8510782 Q4863232 Q7186324 Q8003298 Q6510663 Q1947782 Q5151952 Q19840907 Q5200340 Q648705 Q5087886 Q6685996 Q6685997 Q16953658 Q5417254 Q336098
(c(Q502895),P119,c(Q39614))
action count
action less
action find_reverse_tuple_counts
relation P119
type Q39614
type Q502895
action count
action filter_type
action find_reverse
entity Q883970
relation P119
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P119 ?k . ?k rdf:type ontology:Q39614 . ?z rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P119 resource:Q883970 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?x < ?h ) }
Valley of the Kings Ilford Animal Cemetery Marion National Cemetery Georgia National Cemetery Crown Hill National Cemetery Santa Fe National Cemetery Cimetière de Belleville Tahoma National Cemetery Gerald B. H. Solomon Saratoga National Cemetery Vladslo German war cemetery New Jewish Cemetery Houston National Cemetery Cimetière parisien de Thiais Long Island National Cemetery Raleigh National Cemetery Evergreen Cemetery (Murfreesboro, Tennessee) Alexandria National Cemetery Har HaMenuchot Beth Haim of Ouderkerk aan de Amstel Arras Memorial San Francisco National Cemetery Łódź Jewish Cemetery Philadelphia National Cemetery Mound City National Cemetery Springfield National Cemetery Cimetière de Charonne Bath National Cemetery Marietta National Cemetery Togus National Cemetery Oak Woods Cemetery Fort Leavenworth National Cemetery Nécropole nationale de la Doua Fort Smith National Cemetery Cimetière de la Villette New Jewish Cemetery Giza Necropolis Jewish cemetery, Muiderberg Washington Crossing National Cemetery Zachary Taylor National Cemetery Jewish Cemetry Kassel valley of the Queens Andrew Johnson National Cemetery Hampton National Cemetery Chellah Baron Hirsch Cemetery Abraham Lincoln National Cemetery Annapolis National Cemetery Knoxville National Cemetery Memphis National Cemetery Katyn war cemetery Saint-Claude cemetery Kiryat Shaul Cemetery Staunton National Cemetery Grafton National Cemetery Cimetière de Grenelle Massachusetts National Cemetery Rock Island National Cemetery Vailly British Cemetery Cimetière parisien d'Ivry Mexico City National Cemetery Calverton National Cemetery Kozma Street Jewish Cemetery National Memorial Cemetery of the Pacific Weißensee Cemetery Thiepval Memorial Mountain Home National Cemetery Dayton National Cemetery Mount Olivet Cemetery Auteuil Cemetery Jewish Cemetery in Břeclav San Antonio National Cemetery Old Jewish Cemetery Holy Name Cemetery Bródno Jewish Cemetery Barrancas National Cemetery Nahalat Yitzhak Cemetery Willamette National Cemetery Leavenworth National Cemetery Bronfay Farm Military Cemetery Coming Street Cemetery Thanbyuzayat War Cemetery Cypress Hills National Cemetery Naqsh-e Rustam Chattanooga National Cemetery Loudon Park Cemetery Loudon Park National Cemetery Mount Olivet Cemetery Evergreen Washelli Memorial Park Abusir
89
action count
action less
action find_reverse_tuple_counts
relation place of burial
type cemetery
type common name
action count
action filter_type
action find_reverse
entity Melaten-Friedhof
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:place_of_burial ?k . ?k rdf:type ontology:cemetery . ?z rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:place_of_burial resource:Melaten-Friedhof . ?f rdf:type ontology:common_name } } . FILTER ( ?x < ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q922676
P47
Q20667921
USER
Which french administrative divisions share border with Massiges ?
(c(Q20667921),P47,Q922676)
action filter_type
action find
entity Q922676
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q922676']
SELECT DISTINCT ?r WHERE { resource:Q922676 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Massiges
action filter_type
action find
entity Massiges
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Massiges']
SELECT DISTINCT ?r WHERE { resource:Massiges property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1115902 Q1228947 Q1450678
SYSTEM
Cernay-en-Dormois, Minaucourt-le-Mesnil-lès-Hurlus, Ville-sur-Tourbe
Q1115902 Q1450678 Q734060 Q1228947
(c(Q20667921),P47,Q922676)
action filter_type
action find
entity Q922676
relation P47
type Q20667921
[ANSWERS] share border with Massiges
[{'concept': 'Q20667921'}, 'P47', 'Q922676']
SELECT DISTINCT ?r WHERE { resource:Q922676 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Cernay-en-Dormois Ville-sur-Tourbe Virginy Minaucourt-le-Mesnil-lès-Hurlus
Cernay-en-Dormois, Minaucourt-le-Mesnil-lès-Hurlus and Ville-sur-Tourbe share border with Massiges
Cernay-en-Dormois Minaucourt-le-Mesnil-lès-Hurlus Ville-sur-Tourbe
action filter_type
action find
entity Massiges
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Massiges']
SELECT DISTINCT ?r WHERE { resource:Massiges property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q922676
P20
Q502895
USER
Which person has Massiges as the location of death ?
(c(Q502895),P20,Q922676)
action filter_type
action find_reverse
entity Q922676
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q922676']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P20 resource:Q922676 }
Massiges
action filter_type
action find_reverse
entity Massiges
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Massiges']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_death resource:Massiges }
[]
common name
Q3173255
SYSTEM
Jean Loubière
Q3173255
(c(Q502895),P20,Q922676)
action filter_type
action find_reverse
entity Q922676
relation P20
type Q502895
[ANSWER] has Massiges as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q922676']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P20 resource:Q922676 }
Jean Loubière
Jean Loubière has Massiges as the location of death
Jean Loubière
action filter_type
action find_reverse
entity Massiges
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Massiges']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_death resource:Massiges }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q922676
P166
Q618779
USER
Which award was Massiges awarded with ?
(Q922676,P166,c(Q618779))
action filter_type
action find
entity Q922676
relation P166
type Q618779
['Q922676', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q922676 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Massiges
action filter_type
action find
entity Massiges
relation award received
type award
['Massiges', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Massiges property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q922676,P166,c(Q618779))
action filter_type
action find
entity Q922676
relation P166
type Q618779
Massiges was awarded the [ANSWER]
['Q922676', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q922676 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
Massiges was awarded the Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Massiges
relation award received
type award
['Massiges', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Massiges property:award_received ?q . ?q rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q843964
Q618779
USER
And what about Stanislav Hazheev?
(Q843964,P166,c(Q618779))
action filter_type
action find
entity Q843964
relation P166
type Q618779
['Q843964', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q843964 property:P166 ?x }
Stanislav Hazheev
action filter_type
action find
entity Stanislav Hazheev
relation award received
type award
['Stanislav Hazheev', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Stanislav_Hazheev property:award_received ?x }
[]
award
Q337463 Q18204157 Q695106
SYSTEM
Order of the Red Banner, Order for Service to the Homeland in the Armed Forces of the USSR, 2nd class, Order of the Red Star
Q337463 Q18204157 Q695106
(Q843964,P166,c(Q618779))
action filter_type
action find
entity Q843964
relation P166
type Q618779
[ANSWERS]
['Q843964', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q843964 property:P166 ?x }
Order of the Red Banner Order for Service to the Homeland in the Armed Forces of the USSR, 2nd class Order of the Red Star
Order of the Red Banner Order for Service to the Homeland in the Armed Forces of the USSR, 2nd class Order of the Red Star
action filter_type
action find
entity Stanislav Hazheev
relation award received
type award
['Stanislav Hazheev', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Stanislav_Hazheev property:award_received ?x }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q712073
P166
Q502895
USER
Were Arthur Wing Pinero awarded with those awards ?
(Q712073,P166,Q337463) (Q712073,P166,Q18204157) (Q712073,P166,Q695106)
action is_in
entity prev_answer
action find
entity Q712073
relation P166
['Q712073', 'P166', 'Q337463'] ['Q712073', 'P166', 'Q18204157'] ['Q712073', 'P166', 'Q695106']
ASK WHERE { resource:Q712073 property:P166 ?g . VALUES ( ?g ) { ( resource:Q337463 ) ( resource:Q18204157 ) ( resource:Q695106 ) } }
Arthur Wing Pinero
action is_in
entity prev_answer
action find
entity Arthur Wing Pinero
relation award received
['Arthur Wing Pinero', 'award received', 'Order of the Red Banner'] ['Arthur Wing Pinero', 'award received', 'Order for Service to the Homeland in the Armed Forces of the USSR, 2nd class'] ['Arthur Wing Pinero', 'award received', 'Order of the Red Star']
ASK WHERE { resource:Arthur_Wing_Pinero property:award_received ?g . VALUES ( ?g ) { ( resource:Order_of_the_Red_Banner ) ( resource:Order_for_Service_to_the_Homeland_in_the_Armed_Forces_of_the_USSR,_2nd_class ) ( resource:Order_of_the_Red_Star ) } }
[]
common name
SYSTEM
NO
(Q712073,P166,Q337463) (Q712073,P166,Q18204157) (Q712073,P166,Q695106)
action is_in
entity prev_answer
action find
entity Q712073
relation P166
[ANSWER]
['Q712073', 'P166', 'Q337463'] ['Q712073', 'P166', 'Q18204157'] ['Q712073', 'P166', 'Q695106']
ASK WHERE { resource:Q712073 property:P166 ?g . VALUES ( ?g ) { ( resource:Q337463 ) ( resource:Q18204157 ) ( resource:Q695106 ) } }
No
action is_in
entity prev_answer
action find
entity Arthur Wing Pinero
relation award received
['Arthur Wing Pinero', 'award received', 'Order of the Red Banner'] ['Arthur Wing Pinero', 'award received', 'Order for Service to the Homeland in the Armed Forces of the USSR, 2nd class'] ['Arthur Wing Pinero', 'award received', 'Order of the Red Star']
ASK WHERE { resource:Arthur_Wing_Pinero property:award_received ?g . VALUES ( ?g ) { ( resource:Order_of_the_Red_Banner ) ( resource:Order_for_Service_to_the_Homeland_in_the_Armed_Forces_of_the_USSR,_2nd_class ) ( resource:Order_of_the_Red_Star ) } }
[]