Simple Question (Direct)
Simple Question
Q8580
P36
Q15617994
USER
Which administrative territory is associated to Eifelkreis Bitburg-Prüm as the capital ?
(Q8580,P36,c(Q15617994))
action filter_type
action find
entity Q8580
relation P36
type Q15617994
['Q8580', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q8580 property:P36 ?q . ?q rdf:type ontology:Q15617994 }
Eifelkreis Bitburg-Prüm
action filter_type
action find
entity Eifelkreis Bitburg-Prüm
relation capital
type designation for an administrative territorial entity
['Eifelkreis Bitburg-Prüm', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eifelkreis_Bitburg-Prüm property:capital ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258974
SYSTEM
Bitburg
Q258974
(Q8580,P36,c(Q15617994))
action filter_type
action find
entity Q8580
relation P36
type Q15617994
District [ANSWER] is associated to Eifelkreis [ANSWER]-Prüm as the capital
['Q8580', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q8580 property:P36 ?q . ?q rdf:type ontology:Q15617994 }
Bitburg
District Bitburg is associated to Eifelkreis Bitburg-Prüm as the capital
Bitburg
action filter_type
action find
entity Eifelkreis Bitburg-Prüm
relation capital
type designation for an administrative territorial entity
['Eifelkreis Bitburg-Prüm', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eifelkreis_Bitburg-Prüm property:capital ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258974
P19
Q502895
USER
Who were born at that administrative territory ?
(c(Q502895),P19,Q258974)
action filter_type
action find_reverse
entity Q258974
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q258974']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q258974 . ?l rdf:type ontology:Q502895 }
Bitburg
action filter_type
action find_reverse
entity Bitburg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bitburg']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Bitburg . ?l rdf:type ontology:common_name }
[]
common name
Q2020471 Q551683 Q1288853
SYSTEM
Oliver Petersch, Jean-Marc Barr, Eduard Nels
Q1590813 Q1288853 Q22999961 Q828497 Q18021196 Q5880252 Q1231971 Q1355894 Q2575104 Q2078859 Q739463 Q103923 Q898197 Q551683 Q2086642 Q15844617 Q823756 Q1613581 Q16646047 Q2020471
(c(Q502895),P19,Q258974)
action filter_type
action find_reverse
entity Q258974
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q258974']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q258974 . ?l rdf:type ontology:Q502895 }
Alex Goolsby Eduard Nels Bill LeVasseur Bertram Schäfer Johann August Messerich Holger Klose Sterling Ruby Linda Somers Wilhelm Semmelroth Quirin Peter Wallenborn Charles-Mathias Simons Balthasar Fischer Brandon Thomas Jean-Marc Barr Philipp Christoph Cob von Nüdingen Georg Sigmund Graf Adelmann von Adelmannsfelden Bernd Krewer Hermine Albers John Klinger Oliver Petersch
Oliver Petersch, Jean-Marc Barr and Eduard Nels were born at that administrative territory
Oliver Petersch Jean-Marc Barr Eduard Nels
action filter_type
action find_reverse
entity Bitburg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Bitburg']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Bitburg . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2020471 Q551683 Q1288853
P106
Q12737077
USER
Which occupations are the professions of Oliver Petersch, Jean-Marc Barr and Eduard Nels ?
(Q2020471,P106,c(Q12737077)) (Q551683,P106,c(Q12737077)) (Q1288853,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2020471
relation P106
type Q12737077
action filter_type
action find
entity Q551683
relation P106
type Q12737077
action filter_type
action find
entity Q1288853
relation P106
type Q12737077
['Q2020471', 'P106', {'concept': 'Q12737077'}] ['Q551683', 'P106', {'concept': 'Q12737077'}] ['Q1288853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q12737077 . resource:Q2020471 property:P106 ?q } UNION { resource:Q551683 property:P106 ?q . ?q rdf:type ontology:Q12737077 } }
Oliver Petersch Jean-Marc Barr Eduard Nels
action union
action filter_type
action find
entity Oliver Petersch
relation occupation
type occupation
action filter_type
action find
entity Jean-Marc Barr
relation occupation
type occupation
action filter_type
action find
entity Eduard Nels
relation occupation
type occupation
['Oliver Petersch', 'occupation', {'concept': 'occupation'}] ['Jean-Marc Barr', 'occupation', {'concept': 'occupation'}] ['Eduard Nels', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:occupation . resource:Oliver_Petersch property:occupation ?q } UNION { resource:Jean-Marc_Barr property:occupation ?q . ?q rdf:type ontology:occupation } }
[]
occupation
Q10798782 Q937857 Q33999
SYSTEM
television actor, association football player, actor
Q937857 Q10798782 Q33999 Q2259451 Q82955 Q131524
(Q2020471,P106,c(Q12737077)) (Q551683,P106,c(Q12737077)) (Q1288853,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2020471
relation P106
type Q12737077
action filter_type
action find
entity Q551683
relation P106
type Q12737077
action filter_type
action find
entity Q1288853
relation P106
type Q12737077
The [ANSWERS] are the professions of Oliver Petersch, Jean-Marc Barr and Eduard Nels
['Q2020471', 'P106', {'concept': 'Q12737077'}] ['Q551683', 'P106', {'concept': 'Q12737077'}] ['Q1288853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q12737077 . resource:Q2020471 property:P106 ?q } UNION { resource:Q551683 property:P106 ?q . ?q rdf:type ontology:Q12737077 } }
association football player television actor actor stage actor politician entrepreneur
The television actor, association football player and actor are the professions of Oliver Petersch, Jean-Marc Barr and Eduard Nels
television actor association football player actor
action union
action filter_type
action find
entity Oliver Petersch
relation occupation
type occupation
action filter_type
action find
entity Jean-Marc Barr
relation occupation
type occupation
action filter_type
action find
entity Eduard Nels
relation occupation
type occupation
['Oliver Petersch', 'occupation', {'concept': 'occupation'}] ['Jean-Marc Barr', 'occupation', {'concept': 'occupation'}] ['Eduard Nels', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:occupation . resource:Oliver_Petersch property:occupation ?q } UNION { resource:Jean-Marc_Barr property:occupation ?q . ?q rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1288853
P102
Q7210356
USER
Which party is Eduard Nels affiliated with ?
(Q1288853,P102,c(Q7210356))
action filter_type
action find
entity Q1288853
relation P102
type Q7210356
['Q1288853', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q1288853 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Eduard Nels
action filter_type
action find
entity Eduard Nels
relation member of political party
type political organization
['Eduard Nels', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Eduard_Nels property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q1288853,P102,c(Q7210356))
action filter_type
action find
entity Q1288853
relation P102
type Q7210356
Eduard Nels is affiliated with [ANSWER]
['Q1288853', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q1288853 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Centre Party
Eduard Nels is affiliated with Centre Party
Centre Party
action filter_type
action find
entity Eduard Nels
relation member of political party
type political organization
['Eduard Nels', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Eduard_Nels property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1288853
P21
Q290
USER
Which sex does that person have ?
(Q157537,P21,c(Q290))
action filter_type
action find
entity Q1288853
relation P21
type Q290
['Q157537', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1288853 property:P21 ?j . ?j rdf:type ontology:Q290 }
Eduard Nels
action filter_type
action find
entity Eduard Nels
relation gender
type sex
['Centre Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Eduard_Nels property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q157537,P21,c(Q290))
action filter_type
action find
entity Q1288853
relation P21
type Q290
That person has a [ANSWER]
['Q157537', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1288853 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Eduard Nels
relation gender
type sex
['Centre Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Eduard_Nels property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q489475 Q551683
P161
Q838948
USER
Which works of art stars Jean-Marc Barr or Yu Ji-tae as actor ?
OR((c(Q838948),P161,Q551683), (c(Q838948),P161,Q489475))
action filter_type
action union
action find_reverse
entity Q551683
relation P161
action find_reverse
entity Q489475
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q551683'], [{'concept': 'Q838948'}, 'P161', 'Q489475']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q551683 } UNION { ?d property:P161 resource:Q489475 } } . ?d rdf:type ontology:Q838948 }
Yu Ji-tae Jean-Marc Barr
action filter_type
action union
action find_reverse
entity Jean-Marc Barr
relation cast member
action find_reverse
entity Yu Ji-tae
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Jean-Marc Barr'], [{'concept': 'work of art'}, 'cast member', 'Yu Ji-tae']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:Jean-Marc_Barr } UNION { ?d property:cast_member resource:Yu_Ji-tae } } . ?d rdf:type ontology:work_of_art }
[]
work of art
Q475693 Q3231596 Q3346699 Q20645054 Q7092648 Q5004036 Q3470237 Q3363758 Q3554476 Q7444046
SYSTEM
Some of them are Oldboy, The Car Keys, Nymphomaniac, The Magic Mountain, One Fine Spring Day, Bye June, Saltimbank, Parc, Vandal, Secret Love
Q3222850 Q110365 Q3343323 Q624962 Q16840052 Q495134 Q3470237 Q17054370 Q1304632 Q1141731 Q7831190 Q1624413 Q3231596 Q327681 Q3554476 Q387386 Q2442954 Q562331 Q3212851 Q475693 Q7444046 Q3346699 Q3032184 Q562396 Q3425555 Q666017 Q7092648 Q1306265 Q1313095 Q3363758 Q2843039 Q6842681 Q1424889 Q491664 Q3717620 Q20645054 Q1420374 Q517239 Q7379999 Q1826435 Q569281 Q3210326 Q538412 Q5004036 Q485069 Q5277243 Q3220619 Q3156641 Q1765922
OR((c(Q838948),P161,Q551683), (c(Q838948),P161,Q489475))
action filter_type
action union
action find_reverse
entity Q551683
relation P161
action find_reverse
entity Q489475
relation P161
type Q838948
[ANSWERS] star Jean-Marc Barr or Yu Ji-tae as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q551683'], [{'concept': 'Q838948'}, 'P161', 'Q489475']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q551683 } UNION { ?d property:P161 resource:Q489475 } } . ?d rdf:type ontology:Q838948 }
The Favourite Son Dancer in the Dark Making Plans for Lena Antarctic Journal Human Trust Sympathy for Lady Vengeance Saltimbank The Tenor – Lirico Spinto Tara Road Manderlay Traces of Love Hope and Glory The Car Keys Dogville Vandal Nightmare Too Much Flesh Hello, Schoolgirl The Red Siren Oldboy Secret Love Nymphomaniac Ditto Natural City The Plague Europa One Fine Spring Day Le Divorce Into the Mirror Parc American Translation Midnight FM Crustacés et Coquillages Hwang Jin Yi E la chiamano estate The Magic Mountain King David The Big Blue Running Wild Big Sur The Boss of It All Nucingen House Breaking the Waves Bye June Attack the Gas Station Dimension 1991-2024 Le Brasier Don't Let Me Die on a Sunday The Anarchist's Wife
Oldboy, The Car Keys, Nymphomaniac, The Magic Mountain, One Fine Spring Day, Bye June, Saltimbank, Parc, Vandal and Secret Love star Jean-Marc Barr or Yu Ji-tae as actor
Oldboy The Car Keys Nymphomaniac The Magic Mountain One Fine Spring Day Bye June Saltimbank Parc Vandal Secret Love
action filter_type
action union
action find_reverse
entity Jean-Marc Barr
relation cast member
action find_reverse
entity Yu Ji-tae
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Jean-Marc Barr'], [{'concept': 'work of art'}, 'cast member', 'Yu Ji-tae']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:Jean-Marc_Barr } UNION { ?d property:cast_member resource:Yu_Ji-tae } } . ?d rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in min number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?e property:P1445 ?f . ?e rdf:type ontology:Q386724 . ?f rdf:type ontology:Q838948 } GROUP BY ?e } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?x property:P1445 ?i . ?x rdf:type ontology:Q386724 . ?i rdf:type ontology:Q838948 } GROUP BY ?x } }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?e property:fictional_universe_described_in ?f . ?e rdf:type ontology:work . ?f rdf:type ontology:work_of_art } GROUP BY ?e } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?x property:fictional_universe_described_in ?i . ?x rdf:type ontology:work . ?i rdf:type ontology:work_of_art } GROUP BY ?x } }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWERS] represent a fictional universe described in min number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?e property:P1445 ?f . ?e rdf:type ontology:Q386724 . ?f rdf:type ontology:Q838948 } GROUP BY ?e } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?x property:P1445 ?i . ?x rdf:type ontology:Q386724 . ?i rdf:type ontology:Q838948 } GROUP BY ?x } }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate represent a fictional universe described in min number of works of art
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?n ) { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?w ) WHERE { ?e property:fictional_universe_described_in ?f . ?e rdf:type ontology:work . ?f rdf:type ontology:work_of_art } GROUP BY ?e } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?t ) WHERE { ?x property:fictional_universe_described_in ?i . ?x rdf:type ontology:work . ?i rdf:type ontology:work_of_art } GROUP BY ?x } }
[]