Simple Question (Direct)
Simple Question
Q7576408
P161
Q502895
USER
Which people are in Sperrbezirk ?
(Q7576408,P161,c(Q502895))
action filter_type
action find
entity Q7576408
relation P161
type Q502895
['Q7576408', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q7576408 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Sperrbezirk
action filter_type
action find
entity Sperrbezirk
relation cast member
type common name
['Sperrbezirk', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Sperrbezirk property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
common name
Q91608 Q95434 Q1081599
SYSTEM
Rudolf Schündler, Max Nosseck, Christian Rode
Q74173 Q214245 Q89565 Q1081599 Q84330 Q95434 Q91608
(Q7576408,P161,c(Q502895))
action filter_type
action find
entity Q7576408
relation P161
type Q502895
[ANSWERS] are in Sperrbezirk
['Q7576408', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q7576408 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Ingeborg Schöner Karel Štěpánek Suzanne Roquette Christian Rode Harald Leipnitz Max Nosseck Rudolf Schündler
Rudolf Schündler, Max Nosseck and Christian Rode are in Sperrbezirk
Rudolf Schündler Max Nosseck Christian Rode
action filter_type
action find
entity Sperrbezirk
relation cast member
type common name
['Sperrbezirk', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Sperrbezirk property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91608
P57
Q838948
USER
Which works of art are Rudolf Schündler a director of ?
(c(Q838948),P57,Q91608)
action filter_type
action find_reverse
entity Q91608
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q91608']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q91608 }
Rudolf Schündler
action filter_type
action find_reverse
entity Rudolf Schündler
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Rudolf Schündler']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Rudolf_Schündler }
[]
work of art
Q1734864 Q1551446 Q17461420
SYSTEM
Willy the Private Detective, Gräfin Mariza, Mikosch
Q1551446 Q19795307 Q16798695 Q21646468 Q17461420 Q13722318 Q1734864 Q5017250 Q7927159
(c(Q838948),P57,Q91608)
action filter_type
action find_reverse
entity Q91608
relation P57
type Q838948
[ANSWERS] are Rudolf Schündler a director of
[{'concept': 'Q838948'}, 'P57', 'Q91608']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q91608 }
Gräfin Mariza The True Jacob Mein Schatz, komm mit ans blaue Meer The Happy Village Mikosch Gruß und Kuß vom Tegernsee Willy the Private Detective Café Oriental Victoria and Her Hussar
Willy the Private Detective, Gräfin Mariza and Mikosch are Rudolf Schündler a director of
Willy the Private Detective Gräfin Mariza Mikosch
action filter_type
action find_reverse
entity Rudolf Schündler
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Rudolf Schündler']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Rudolf_Schündler }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1734864 Q1551446 Q17461420
P57
Q502895
USER
Which people served as the directed of Willy the Private Detective, Gräfin Mariza and Mikosch ?
(Q1734864,P57,c(Q502895)) (Q1551446,P57,c(Q502895)) (Q17461420,P57,c(Q502895))
action union
action filter_type
action find
entity Q1734864
relation P57
type Q502895
action filter_type
action find
entity Q1551446
relation P57
type Q502895
action filter_type
action find
entity Q17461420
relation P57
type Q502895
['Q1734864', 'P57', {'concept': 'Q502895'}] ['Q1551446', 'P57', {'concept': 'Q502895'}] ['Q17461420', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q1734864 property:P57 ?t . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . resource:Q1551446 property:P57 ?t } }
Willy the Private Detective Gräfin Mariza Mikosch
action union
action filter_type
action find
entity Willy the Private Detective
relation director
type common name
action filter_type
action find
entity Gräfin Mariza
relation director
type common name
action filter_type
action find
entity Mikosch
relation director
type common name
['Willy the Private Detective', 'director', {'concept': 'common name'}] ['Gräfin Mariza', 'director', {'concept': 'common name'}] ['Mikosch', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Willy_the_Private_Detective property:director ?t . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . resource:Gräfin_Mariza property:director ?t } }
[]
common name
Q91608 Q91608 Q91608
SYSTEM
Rudolf Schündler
Q91608 Q91608 Q91608
(Q1734864,P57,c(Q502895)) (Q1551446,P57,c(Q502895)) (Q17461420,P57,c(Q502895))
action union
action filter_type
action find
entity Q1734864
relation P57
type Q502895
action filter_type
action find
entity Q1551446
relation P57
type Q502895
action filter_type
action find
entity Q17461420
relation P57
type Q502895
[ANSWER], [ANSWER] and [ANSWER] served as the directed of Willy the Private Detective, Gräfin Mariza and Mikosch
['Q1734864', 'P57', {'concept': 'Q502895'}] ['Q1551446', 'P57', {'concept': 'Q502895'}] ['Q17461420', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q1734864 property:P57 ?t . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . resource:Q1551446 property:P57 ?t } }
Rudolf Schündler Rudolf Schündler Rudolf Schündler
Rudolf Schündler, Rudolf Schündler and Rudolf Schündler served as the directed of Willy the Private Detective, Gräfin Mariza and Mikosch
Rudolf Schündler Rudolf Schündler Rudolf Schündler
action union
action filter_type
action find
entity Willy the Private Detective
relation director
type common name
action filter_type
action find
entity Gräfin Mariza
relation director
type common name
action filter_type
action find
entity Mikosch
relation director
type common name
['Willy the Private Detective', 'director', {'concept': 'common name'}] ['Gräfin Mariza', 'director', {'concept': 'common name'}] ['Mikosch', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Willy_the_Private_Detective property:director ?t . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . resource:Gräfin_Mariza property:director ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91608
P22
Q502895
USER
Which person has Rudolf Schündler as father ?
(c(Q502895),P22,Q91608)
action filter_type
action find_reverse
entity Q91608
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q91608']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q91608 . ?n rdf:type ontology:Q502895 }
Rudolf Schündler
action filter_type
action find_reverse
entity Rudolf Schündler
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rudolf Schündler']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Rudolf_Schündler . ?n rdf:type ontology:common_name }
[]
common name
Q20901623
SYSTEM
Oliver Schündler
Q20901623
(c(Q502895),P22,Q91608)
action filter_type
action find_reverse
entity Q91608
relation P22
type Q502895
[ANSWER] has Rudolf Schündler as father
[{'concept': 'Q502895'}, 'P22', 'Q91608']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q91608 . ?n rdf:type ontology:Q502895 }
Oliver Schündler
Oliver Schündler has Rudolf Schündler as father
Oliver Schündler
action filter_type
action find_reverse
entity Rudolf Schündler
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rudolf Schündler']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Rudolf_Schündler . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91608
P26
Q502895
USER
Who is married to Rudolf Schündler ?
(c(Q502895),P26,Q91608)
action filter_type
action find
entity Q91608
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q91608']
SELECT DISTINCT ?r WHERE { resource:Q91608 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Rudolf Schündler
action filter_type
action find
entity Rudolf Schündler
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rudolf Schündler']
SELECT DISTINCT ?r WHERE { resource:Rudolf_Schündler property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q101546
SYSTEM
Christine Laszar
Q101546
(c(Q502895),P26,Q91608)
action filter_type
action find
entity Q91608
relation P26
type Q502895
[ANSWER] is married to Rudolf Schündler
[{'concept': 'Q502895'}, 'P26', 'Q91608']
SELECT DISTINCT ?r WHERE { resource:Q91608 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Christine Laszar
Christine Laszar is married to Rudolf Schündler
Christine Laszar
action filter_type
action find
entity Rudolf Schündler
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rudolf Schündler']
SELECT DISTINCT ?r WHERE { resource:Rudolf_Schündler property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q101546 Q1771932 Q4323509
P27
Q1048835
USER
Is Christine Laszar a citizen of Benillup and Novohryhorivka ?
(Q101546,P27,Q1771932) (Q101546,P27,Q4323509)
action is_in
entity Q101546
action intersection
action find_reverse
entity Q1771932
relation P27
action find_reverse
entity Q4323509
relation P27
['Q101546', 'P27', 'Q1771932'] ['Q101546', 'P27', 'Q4323509']
ASK WHERE { resource:Q101546 property:P27 resource:Q1771932 . resource:Q101546 property:P27 resource:Q4323509 }
Christine Laszar Benillup Novohryhorivka
action is_in
entity Christine Laszar
action intersection
action find_reverse
entity Benillup
relation country of citizenship
action find_reverse
entity Novohryhorivka
relation country of citizenship
['Christine Laszar', 'country of citizenship', 'Benillup'] ['Christine Laszar', 'country of citizenship', 'Novohryhorivka']
ASK WHERE { resource:Christine_Laszar property:country_of_citizenship resource:Benillup . resource:Christine_Laszar property:country_of_citizenship resource:Novohryhorivka }
[]
political territorial entity
SYSTEM
NO
(Q101546,P27,Q1771932) (Q101546,P27,Q4323509)
action is_in
entity Q101546
action intersection
action find_reverse
entity Q1771932
relation P27
action find_reverse
entity Q4323509
relation P27
[ANSWER]
['Q101546', 'P27', 'Q1771932'] ['Q101546', 'P27', 'Q4323509']
ASK WHERE { resource:Q101546 property:P27 resource:Q1771932 . resource:Q101546 property:P27 resource:Q4323509 }
No
action is_in
entity Christine Laszar
action intersection
action find_reverse
entity Benillup
relation country of citizenship
action find_reverse
entity Novohryhorivka
relation country of citizenship
['Christine Laszar', 'country of citizenship', 'Benillup'] ['Christine Laszar', 'country of citizenship', 'Novohryhorivka']
ASK WHERE { resource:Christine_Laszar property:country_of_citizenship resource:Benillup . resource:Christine_Laszar property:country_of_citizenship resource:Novohryhorivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17461420 Q183
P495
Q1048835
USER
Did Mikosch originate Germany ?
(Q17461420,P495,Q183)
action is_in
entity Q183
action find
entity Q17461420
relation P495
['Q17461420', 'P495', 'Q183']
ASK WHERE { resource:Q17461420 property:P495 resource:Q183 }
Mikosch Germany
action is_in
entity Germany
action find
entity Mikosch
relation country of origin
['Mikosch', 'country of origin', 'Germany']
ASK WHERE { resource:Mikosch property:country_of_origin resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17461420,P495,Q183)
action is_in
entity Q183
action find
entity Q17461420
relation P495
[ANSWER]
['Q17461420', 'P495', 'Q183']
ASK WHERE { resource:Q17461420 property:P495 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Mikosch
relation country of origin
['Mikosch', 'country of origin', 'Germany']
ASK WHERE { resource:Mikosch property:country_of_origin resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q101546 Q4535856
P27
Q1048835
USER
Is Yabluniv the country of citizenship of Christine Laszar ?
(Q101546,P27,Q4535856)
action is_in
entity Q4535856
action find
entity Q101546
relation P27
['Q101546', 'P27', 'Q4535856']
ASK WHERE { resource:Q101546 property:P27 resource:Q4535856 }
Christine Laszar Yabluniv
action is_in
entity Yabluniv
action find
entity Christine Laszar
relation country of citizenship
['Christine Laszar', 'country of citizenship', 'Yabluniv']
ASK WHERE { resource:Christine_Laszar property:country_of_citizenship resource:Yabluniv }
[]
political territorial entity
SYSTEM
NO
(Q101546,P27,Q4535856)
action is_in
entity Q4535856
action find
entity Q101546
relation P27
[ANSWER]
['Q101546', 'P27', 'Q4535856']
ASK WHERE { resource:Q101546 property:P27 resource:Q4535856 }
No
action is_in
entity Yabluniv
action find
entity Christine Laszar
relation country of citizenship
['Christine Laszar', 'country of citizenship', 'Yabluniv']
ASK WHERE { resource:Christine_Laszar property:country_of_citizenship resource:Yabluniv }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7576408 Q12313829 Q6369588
P57
Q502895
USER
Is Gert Vincent and Karen Darke a director of Sperrbezirk ?
(Q7576408,P57,Q12313829) (Q7576408,P57,Q6369588)
action is_in
entity Q7576408
action intersection
action find_reverse
entity Q12313829
relation P57
action find_reverse
entity Q6369588
relation P57
['Q7576408', 'P57', 'Q12313829'] ['Q7576408', 'P57', 'Q6369588']
ASK WHERE { resource:Q7576408 property:P57 resource:Q12313829 . resource:Q7576408 property:P57 resource:Q6369588 }
Sperrbezirk Gert Vincent Karen Darke
action is_in
entity Sperrbezirk
action intersection
action find_reverse
entity Gert Vincent
relation director
action find_reverse
entity Karen Darke
relation director
['Sperrbezirk', 'director', 'Gert Vincent'] ['Sperrbezirk', 'director', 'Karen Darke']
ASK WHERE { resource:Sperrbezirk property:director resource:Gert_Vincent . resource:Sperrbezirk property:director resource:Karen_Darke }
[]
common name
SYSTEM
NO
(Q7576408,P57,Q12313829) (Q7576408,P57,Q6369588)
action is_in
entity Q7576408
action intersection
action find_reverse
entity Q12313829
relation P57
action find_reverse
entity Q6369588
relation P57
[ANSWER]
['Q7576408', 'P57', 'Q12313829'] ['Q7576408', 'P57', 'Q6369588']
ASK WHERE { resource:Q7576408 property:P57 resource:Q12313829 . resource:Q7576408 property:P57 resource:Q6369588 }
No
action is_in
entity Sperrbezirk
action intersection
action find_reverse
entity Gert Vincent
relation director
action find_reverse
entity Karen Darke
relation director
['Sperrbezirk', 'director', 'Gert Vincent'] ['Sperrbezirk', 'director', 'Karen Darke']
ASK WHERE { resource:Sperrbezirk property:director resource:Gert_Vincent . resource:Sperrbezirk property:director resource:Karen_Darke }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1771932
P47 P17
Q1048835
USER
Which political territories share border with Benillup and are located in Spain ?
AND((c(Q1048835),P47,Q1771932), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1771932
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1771932'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?a WHERE { ?a property:P17 resource:Q29 . ?a property:P47 resource:Q1771932 . ?a rdf:type ontology:Q1048835 }
Spain Benillup
action filter_type
action intersection
action find_reverse
entity Benillup
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Benillup'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?a WHERE { ?a property:country resource:Spain . ?a property:shares_border_with resource:Benillup . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1770942 Q1770111 Q1770937
SYSTEM
Benimarfull, Millena, Almudaina
Q1770942 Q1770111 Q1770937
AND((c(Q1048835),P47,Q1771932), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1771932
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWERS] share border with Benillup and are located in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1771932'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?a WHERE { ?a property:P17 resource:Q29 . ?a property:P47 resource:Q1771932 . ?a rdf:type ontology:Q1048835 }
Benimarfull Millena Almudaina
Benimarfull, Millena and Almudaina share border with Benillup and are located in Spain
Benimarfull Millena Almudaina
action filter_type
action intersection
action find_reverse
entity Benillup
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Benillup'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?a WHERE { ?a property:country resource:Spain . ?a property:shares_border_with resource:Benillup . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1770942 Q1770111 Q1770937
P17
Q15617994
USER
Which administrative territories are those political territories situated in ?
(Q1770942,P17,c(Q15617994)) (Q1770111,P17,c(Q15617994)) (Q1770937,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1770942', 'P17', {'concept': 'Q15617994'}] ['Q1770111', 'P17', {'concept': 'Q15617994'}] ['Q1770937', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?a property:P17 ?r . VALUES ( ?a ) { ( resource:Q1770942 ) ( resource:Q1770111 ) ( resource:Q1770937 ) } }
Benimarfull Millena Almudaina
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Benimarfull', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Millena', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Almudaina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?r . VALUES ( ?a ) { ( resource:Benimarfull ) ( resource:Millena ) ( resource:Almudaina ) } }
[]
designation for an administrative territorial entity
Q29 Q29 Q29
SYSTEM
Spain
Q29 Q29 Q29
(Q1770942,P17,c(Q15617994)) (Q1770111,P17,c(Q15617994)) (Q1770937,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those political territories are situated in [ANSWER], [ANSWER] and [ANSWER]
['Q1770942', 'P17', {'concept': 'Q15617994'}] ['Q1770111', 'P17', {'concept': 'Q15617994'}] ['Q1770937', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?a property:P17 ?r . VALUES ( ?a ) { ( resource:Q1770942 ) ( resource:Q1770111 ) ( resource:Q1770937 ) } }
Spain Spain Spain
Those political territories are situated in Spain, Spain and Spain
Spain Spain Spain
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Benimarfull', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Millena', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Almudaina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?r . VALUES ( ?a ) { ( resource:Benimarfull ) ( resource:Millena ) ( resource:Almudaina ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1770942
P1001
Q12737077
USER
Which occupation presides the jurisdiction over Benimarfull ?
(c(Q12737077),P1001,Q1770942)
action filter_type
action find_reverse
entity Q1770942
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1770942']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q1770942 . ?x rdf:type ontology:Q12737077 }
Benimarfull
action filter_type
action find_reverse
entity Benimarfull
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Benimarfull']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Benimarfull . ?x rdf:type ontology:occupation }
[]
occupation
Q26696531
SYSTEM
mayor of Benimarfull
Q26696531
(c(Q12737077),P1001,Q1770942)
action filter_type
action find_reverse
entity Q1770942
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over Benimarfull
[{'concept': 'Q12737077'}, 'P1001', 'Q1770942']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q1770942 . ?x rdf:type ontology:Q12737077 }
mayor of Benimarfull
The mayor of Benimarfull presides the jurisdiction over Benimarfull
mayor of Benimarfull
action filter_type
action find_reverse
entity Benimarfull
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Benimarfull']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Benimarfull . ?x rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q91608
P106
Q12737077 Q28640
USER
How many occupations or professions are the job of Rudolf Schündler ?
(Q91608,P106,c(Q12737077)) (Q91608,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q91608
relation P106
type Q12737077
action filter_type
action find
entity Q91608
relation P106
type Q28640
['Q91608', 'P106', {'concept': 'Q12737077'}] ['Q91608', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?x rdf:type ?d }
Rudolf Schündler
action count
action union
action filter_type
action find
entity Rudolf Schündler
relation occupation
type occupation
action filter_type
action find
entity Rudolf Schündler
relation occupation
type profession
['Rudolf Schündler', 'occupation', {'concept': 'occupation'}] ['Rudolf Schündler', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:profession ) } . ?x rdf:type ?d }
[]
occupation profession
SYSTEM
4
Q2526255 Q33999 Q10800557 Q2259451
(Q91608,P106,c(Q12737077)) (Q91608,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q91608
relation P106
type Q12737077
action filter_type
action find
entity Q91608
relation P106
type Q28640
[ANSWER]
['Q91608', 'P106', {'concept': 'Q12737077'}] ['Q91608', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } . ?x rdf:type ?d }
film director actor film actor stage actor
4
action count
action union
action filter_type
action find
entity Rudolf Schündler
relation occupation
type occupation
action filter_type
action find
entity Rudolf Schündler
relation occupation
type profession
['Rudolf Schündler', 'occupation', {'concept': 'occupation'}] ['Rudolf Schündler', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:profession ) } . ?x rdf:type ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35
P85
Q484692 Q7725634 Q1048835
USER
How many political territories have lesser number of hymns or literary works as their anthem than Denmark ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action count
action filter_multi_types
action find
entity Q35
relation P85
type Q484692
type Q7725634
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?q WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?q } . FILTER ( ?t < ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q35 property:P85 ?d . { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } }
Denmark
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action count
action filter_multi_types
action find
entity Denmark
relation anthem
type hymn
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?q WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?q } . FILTER ( ?t < ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Denmark property:anthem ?d . { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } }
[]
hymn literary work political territorial entity
SYSTEM
38
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q1785790 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action count
action filter_multi_types
action find
entity Q35
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?q WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?q } . FILTER ( ?t < ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q35 property:P85 ?d . { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Selbach, Rio Grande do Sul Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
38
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action count
action filter_multi_types
action find
entity Denmark
relation anthem
type hymn
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?q WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?q } . FILTER ( ?t < ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Denmark property:anthem ?d . { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q781
P85
Q484692 Q7725634 Q1048835
USER
And what about Antigua and Barbuda?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action count
action filter_multi_types
action find
entity Q781
relation P85
type Q484692
type Q7725634
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q781 property:P85 ?q . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { { ?k property:P85 ?n . ?k rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q484692 } UNION { ?k rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q7725634 . ?k property:P85 ?n } } GROUP BY ?k } }
Antigua and Barbuda
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action count
action filter_multi_types
action find
entity Antigua and Barbuda
relation anthem
type hymn
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Antigua_and_Barbuda property:anthem ?q . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { { ?k property:anthem ?n . ?k rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:hymn } UNION { ?k rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:literary_work . ?k property:anthem ?n } } GROUP BY ?k } }
[]
hymn literary work political territorial entity
SYSTEM
38
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q1785790 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action count
action filter_multi_types
action find
entity Q781
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q781 property:P85 ?q . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { { ?k property:P85 ?n . ?k rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q484692 } UNION { ?k rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q7725634 . ?k property:P85 ?n } } GROUP BY ?k } }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Selbach, Rio Grande do Sul Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
38
action count
action less
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action count
action filter_multi_types
action find
entity Antigua and Barbuda
relation anthem
type hymn
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Antigua_and_Barbuda property:anthem ?q . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { { ?k property:anthem ?n . ?k rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:hymn } UNION { ?k rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:literary_work . ?k property:anthem ?n } } GROUP BY ?k } }
[]