Simple Question (Direct)
Simple Question
Q2248940
P27
Q15617994
USER
Which administrative territory is the native country of Stef Kamil Carlens ?
(Q2248940,P27,c(Q15617994))
action filter_type
action find
entity Q2248940
relation P27
type Q15617994
['Q2248940', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2248940 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Stef Kamil Carlens
action filter_type
action find
entity Stef Kamil Carlens
relation country of citizenship
type designation for an administrative territorial entity
['Stef Kamil Carlens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Stef_Kamil_Carlens property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2248940,P27,c(Q15617994))
action filter_type
action find
entity Q2248940
relation P27
type Q15617994
[ANSWER] is the native country of Stef Kamil Carlens
['Q2248940', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2248940 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Belgium
Belgium is the native country of Stef Kamil Carlens
Belgium
action filter_type
action find
entity Stef Kamil Carlens
relation country of citizenship
type designation for an administrative territorial entity
['Stef Kamil Carlens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Stef_Kamil_Carlens property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2248940
P106
Q838948
USER
What is the profession of Stef Kamil Carlens ?
(Q2248940,P106,c(Q838948))
action filter_type
action find
entity Q2248940
relation P106
type Q838948
['Q2248940', 'P106', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { resource:Q2248940 property:P106 ?f . ?f rdf:type ontology:Q838948 }
Stef Kamil Carlens
action filter_type
action find
entity Stef Kamil Carlens
relation occupation
type work of art
['Stef Kamil Carlens', 'occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { resource:Stef_Kamil_Carlens property:occupation ?f . ?f rdf:type ontology:work_of_art }
[]
work of art
Q14947645
SYSTEM
Artist
Q14947645
(Q2248940,P106,c(Q838948))
action filter_type
action find
entity Q2248940
relation P106
type Q838948
The profession of Stef Kamil Carlens is the [ANSWER]
['Q2248940', 'P106', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { resource:Q2248940 property:P106 ?f . ?f rdf:type ontology:Q838948 }
Artist
The profession of Stef Kamil Carlens is the Artist
Artist
action filter_type
action find
entity Stef Kamil Carlens
relation occupation
type work of art
['Stef Kamil Carlens', 'occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { resource:Stef_Kamil_Carlens property:occupation ?f . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2248940
P86
Q838948
USER
Which work of art has that person as the melodist ?
(c(Q838948),P86,Q14947645)
action filter_type
action find_reverse
entity Q2248940
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q14947645']
SELECT DISTINCT ?w WHERE { ?w property:P86 resource:Q2248940 . ?w rdf:type ontology:Q838948 }
Stef Kamil Carlens
action filter_type
action find_reverse
entity Stef Kamil Carlens
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Artist']
SELECT DISTINCT ?w WHERE { ?w property:composer resource:Stef_Kamil_Carlens . ?w rdf:type ontology:work_of_art }
[]
work of art
Q4743100
SYSTEM
The Kiss
Q4743100
(c(Q838948),P86,Q14947645)
action filter_type
action find_reverse
entity Q2248940
relation P86
type Q838948
[ANSWER] has that person as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q14947645']
SELECT DISTINCT ?w WHERE { ?w property:P86 resource:Q2248940 . ?w rdf:type ontology:Q838948 }
The Kiss
The Kiss has that person as the melodist
The Kiss
action filter_type
action find_reverse
entity Stef Kamil Carlens
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Artist']
SELECT DISTINCT ?w WHERE { ?w property:composer resource:Stef_Kamil_Carlens . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q39 Q31
P27
Q502895
USER
Which people are a citizen of Belgium and Switzerland ?
AND((c(Q502895),P27,Q31), (c(Q502895),P27,Q39))
action filter_type
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q39
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q31'], [{'concept': 'Q502895'}, 'P27', 'Q39']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q39 . ?y property:P27 resource:Q31 }
Switzerland Belgium
action filter_type
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Switzerland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Belgium'], [{'concept': 'common name'}, 'country of citizenship', 'Switzerland']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:Switzerland . ?y property:country_of_citizenship resource:Belgium }
[]
common name
Q1686368 Q21396042 Q119955 Q117811 Q1309701 Q21094940
SYSTEM
Rolf Soiron, Helene Riedel, Jacques Neirynck, Jeanne de Vietinghoff, Jean-Pierre Danthine, Arthur Pétronio
Q1686368 Q21396042 Q119955 Q117811 Q1309701 Q21094940
AND((c(Q502895),P27,Q31), (c(Q502895),P27,Q39))
action filter_type
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q39
relation P27
type Q502895
[ANSWERS] are a citizen of Belgium and Switzerland
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q31'], [{'concept': 'Q502895'}, 'P27', 'Q39']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q39 . ?y property:P27 resource:Q31 }
Rolf Soiron Helene Riedel Jacques Neirynck Jeanne de Vietinghoff Jean-Pierre Danthine Arthur Pétronio
Rolf Soiron, Helene Riedel, Jacques Neirynck, Jeanne de Vietinghoff, Jean-Pierre Danthine and Arthur Pétronio are a citizen of Belgium and Switzerland
Rolf Soiron Helene Riedel Jacques Neirynck Jeanne de Vietinghoff Jean-Pierre Danthine Arthur Pétronio
action filter_type
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Switzerland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Belgium'], [{'concept': 'common name'}, 'country of citizenship', 'Switzerland']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:Switzerland . ?y property:country_of_citizenship resource:Belgium }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 5396 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5396
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?t <= 5396 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5396
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?t <= 5396 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5396
[ANSWERS] are played by atmost 5396 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?t <= 5396 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 5396 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5396
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?t <= 5396 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1343007
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as electronic keyboard ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q1343007 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } }
electronic keyboard
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:electronic_keyboard property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?p } }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q1343007 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:electronic_keyboard property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q81982
P1303
Q34379 Q502895
USER
And how about harpsichord?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?g ) WHERE { ?n rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q81982 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?g = ?o ) }
harpsichord
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?g ) WHERE { ?n rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:harpsichord property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?g = ?o ) }
[]
musical instrument common name
SYSTEM
61
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?g ) WHERE { ?n rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q81982 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?g = ?o ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?g ) WHERE { ?n rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:harpsichord property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?g = ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q34379 Q386724
USER
Which works depict min number of musical instruments ?
(c(Q386724),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q386724
type Q34379
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?z ) { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:P180 ?i . ?q rdf:type ontology:Q386724 . ?i rdf:type ontology:Q34379 } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?l ) WHERE { ?k property:P180 ?p . ?k rdf:type ontology:Q386724 . ?p rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?l = ?z ) }
action argmin
action find_tuple_counts
relation depicts
type work
type musical instrument
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?z ) { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:depicts ?i . ?q rdf:type ontology:work . ?i rdf:type ontology:musical_instrument } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?l ) WHERE { ?k property:depicts ?p . ?k rdf:type ontology:work . ?p rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?l = ?z ) }
[]
musical instrument work
Q18676635 Q20668011 Q18602499
SYSTEM
Splatter Analysis, Funerary stele of Thalea, Mountain Stream, Yemen Valley, Palestine
Q27266011 Q18818942 Q20018619 Q18822501 Q3227124 Q7604478 Q18822442 Q20655984 Q23301843 Q27245162 Q3842557 Q25351982 Q16961954 Q20668011 Q20668010 Q18760514 Q20667952 Q20018598 Q18350631 Q208120 Q7772874 Q20035907 Q20012212 Q20012204 Q20012272 Q20012219 Q577890 Q1638622 Q11725617 Q27783590 Q2410932 Q1684762 Q18602499 Q18676635 Q3000066 Q3387593 Q20667955 Q20655689 Q17986845 Q20667953 Q18397036 Q1213160 Q2619037 Q7884355 Q2908939
(c(Q386724),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q386724
type Q34379
[ANSWERS]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?z ) { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:P180 ?i . ?q rdf:type ontology:Q386724 . ?i rdf:type ontology:Q34379 } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?l ) WHERE { ?k property:P180 ?p . ?k rdf:type ontology:Q386724 . ?p rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?l = ?z ) }
Robin Hood The Holy Family in a Landscape Procession of the Panathenaic festival Tarquinius and Lucretia le serment du jeu de paume Statue of Clement X Portrait of Gabriel-Charles Bidault Georgiana Spencer, Duchess of Devonshire La Trace du lièvre Hidalgo The Virgin and Child with Saint Andrew and Saint Peter Labyrinth Disney Partners Statue Funerary stele of Thalea Funerary banquet Entombment of Christ Hunt scene, known as "Alexander's hunt" Plaque of the Ergastines I'm too sad to tell you caryatid The Vision of Constantine Sacrifice of a goat Female head Banquet scene Panther Griffin Alexamenos graffito Adoration of the Magi George Washington Melancholy My God, Help Me to Survive This Deadly Love Manchester Madonna Mountain Stream, Yemen Valley, Palestine Splatter Analysis Lycurgus Cup Unfinished Portrait of General Bonaparte Funerary stele of Adea and Thrãson Unfinished painting Mae West Lips Sofa Apparition of the Dioscuri at a banquet Landscape with castle The Entombment Portrait of Madame Récamier Unfinished portrait of Franklin D. Roosevelt Bois Protat
Splatter Analysis, Funerary stele of Thalea and Mountain Stream, Yemen Valley, Palestine depict min number of musical instruments
Splatter Analysis Funerary stele of Thalea Mountain Stream, Yemen Valley, Palestine
action argmin
action find_tuple_counts
relation depicts
type work
type musical instrument
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?z ) { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q property:depicts ?i . ?q rdf:type ontology:work . ?i rdf:type ontology:musical_instrument } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?l ) WHERE { ?k property:depicts ?p . ?k rdf:type ontology:work . ?p rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?l = ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q81982
P21 P1303
Q502895
USER
Which people can play harpsichord and have male as the sex ?
AND((c(Q502895),P1303,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P1303 resource:Q81982 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
male harpsichord
action filter_type
action intersection
action find_reverse
entity harpsichord
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:instrument resource:harpsichord . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
common name
Q3573587 Q434774 Q2462092 Q969937 Q319306 Q18889499 Q590410 Q3106857 Q3619994 Q435198
SYSTEM
Some of them are Yves Cuenot, Trevor Pinnock, Pascal Dubreuil, Denis Bédard, Oscar Milani, Francesco Mazzoli, Christophe Rousset, Giovanni Pietro Del Buono, Antonio Palella, Christopher Hogwood
Q3761917 Q2982659 Q463998 Q3725604 Q963003 Q435198 Q571445 Q289847 Q254 Q4979366 Q3183956 Q2535808 Q563321 Q17648436 Q590410 Q376588 Q2959912 Q597101 Q92244 Q3219532 Q699207 Q457010 Q18642513 Q314799 Q3619994 Q4526398 Q5112624 Q2414155 Q963831 Q969937 Q6733079 Q3106857 Q551008 Q3411056 Q2805699 Q339929 Q718398 Q2462092 Q2526926 Q2451955 Q1682366 Q700648 Q3168842 Q6264882 Q3147203 Q3294067 Q2856990 Q18889499 Q3136187 Q3287715 Q739019 Q3293546 Q3147213 Q928954 Q3168308 Q2898792 Q3187447 Q3351094 Q1682344 Q3181642 Q560325 Q965256 Q15041700 Q4133063 Q319306 Q697674 Q2553716 Q3168042 Q459715 Q3452937 Q1406863 Q11434081 Q2034506 Q2735112 Q3568609 Q45909 Q3524273 Q76735 Q3446656 Q876342 Q1270605 Q17630873 Q3141950 Q181474 Q3167320 Q23001989 Q3573587 Q3190862 Q119189 Q339128 Q2848507 Q96304 Q2899489 Q199856 Q2094389 Q4497156 Q1046616 Q1843799 Q1348195 Q378905 Q2424360 Q3298708 Q3350801 Q3148824 Q3613839 Q1339 Q2958126 Q434774
AND((c(Q502895),P1303,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] can play harpsichord and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P1303 resource:Q81982 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
Giacinto Manna Colin Tilney James Nares Enrico Baiano Thurston Dart Christopher Hogwood Rinaldo Alessandrini Étienne Loulié Wolfgang Amadeus Mozart Bruno Procopio Jory Vinikour Václav Luks Kenneth Gilbert Władysław Kłosiewicz Christophe Rousset William Christie Charles Noblet Ralph Kirkpatrick Johann Paul Schulthesius Laurent Teycheney Joseph Anton Steffan Igor Kipnis Pierre-Alain Clerc Antonio Soler Antonio Palella Miklós Spányi Christopher Jackson Skip Sempé Ottavio Dantone Denis Bédard Mahan Esfahani Giovanni Pietro Del Buono Jon Laukvik Putnam Aldrich Frédérick Haas Thomas Linley the elder Robert Veyron-Lacroix Pascal Dubreuil Vincenzo Lavigna Yves Rechsteiner Jan Willem Jansen Masaaki Suzuki Jean-Philippe Navarre John Worgan Iain Simcock Mark Edwards Anton Bemetzrieder Francesco Mazzoli Nicholas McGegan Marc-Roger Normand Giovanni Battista Lampugnani Mario Raskin Iakovos Pappas Vincenzo Manfredini Jean-Patrice Brosse Bernard de Bury Joël Pontet Olivier Houette Joseph-Nicolas-Pancrace Royer John Grew Hervé Niquet Alan Curtis Cosimo Damiano Lanza Malcolm Hamilton Oscar Milani René Clemencic Jean Rondeau Jean-Michel Hasler Matteo Messori Ruggero Gerlin Fernando Valenti Naoya Ōtsuka Luciano Sgrizzi William Babell William Felton John Cale Thierry Geffrotin Karl Richter Rudi Jacques Fritz Neumeyer Lars Ulrik Mortensen Jean-Luc Ho Hubert Bédard Teodorico Pedrini Jean-Marc Aymes György Vashegyi Yves Cuenot Jérôme Correas Vital Julian Frey Rafael Puyana André Raynaud Tobias Koch Bertrand Cuiller Johann Christian Schieferdecker Pietro Alessandro Guglielmi Stanislav Heller Tim Rice-Oxley Frédéric Champion Louis-Emmanuel Jadin Michael Wollny Antoine Geoffroy-Dechaume Mathieu Duguay Olivier Baumont Ilton Wjuniski Ambrogio Minoja Johann Sebastian Bach Charles-Henri Plantade Trevor Pinnock
Yves Cuenot, Trevor Pinnock, Pascal Dubreuil, Denis Bédard, Oscar Milani, Francesco Mazzoli, Christophe Rousset, Giovanni Pietro Del Buono, Antonio Palella and Christopher Hogwood can play harpsichord and have male as the sex
Yves Cuenot Trevor Pinnock Pascal Dubreuil Denis Bédard Oscar Milani Francesco Mazzoli Christophe Rousset Giovanni Pietro Del Buono Antonio Palella Christopher Hogwood
action filter_type
action intersection
action find_reverse
entity harpsichord
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:instrument resource:harpsichord . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q31 Q362
P137
Q2235308
USER
How many ship types are the administrator of Belgium or World War II ?
(c(Q2235308),P137,Q31) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q31
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q31'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P137 ?m . VALUES ( ?m ) { ( resource:Q362 ) ( resource:Q31 ) } }
Belgium World War II
action count
action union
action filter_type
action find_reverse
entity Belgium
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Belgium'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:operator ?m . VALUES ( ?m ) { ( resource:World_War_II ) ( resource:Belgium ) } }
[]
ship type
SYSTEM
4
Q11705699 Q7500115 Q11708758 Q5115983
(c(Q2235308),P137,Q31) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q31
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q31'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P137 ?m . VALUES ( ?m ) { ( resource:Q362 ) ( resource:Q31 ) } }
Toku Daihatsu-class landing craft Shohatsu class landing craft Moku Daihatsu-class landing craft Chuhatsu class landing craft
4
action count
action union
action filter_type
action find_reverse
entity Belgium
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Belgium'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:operator ?m . VALUES ( ?m ) { ( resource:World_War_II ) ( resource:Belgium ) } }
[]