Simple Question (Direct)
Simple Question
Q920218
P495
Q15617994
USER
What is the origin of The Story of Adele H. ?
(Q920218,P495,c(Q15617994))
action filter_type
action find
entity Q920218
relation P495
type Q15617994
['Q920218', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q920218 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
The Story of Adele H.
action filter_type
action find
entity The Story of Adele H.
relation country of origin
type designation for an administrative territorial entity
['The Story of Adele H.', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:The_Story_of_Adele_H. property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q920218,P495,c(Q15617994))
action filter_type
action find
entity Q920218
relation P495
type Q15617994
The origin of The Story of Adele H. is in [ANSWER]
['Q920218', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q920218 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
France
The origin of The Story of Adele H. is in France
France
action filter_type
action find
entity The Story of Adele H.
relation country of origin
type designation for an administrative territorial entity
['The Story of Adele H.', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:The_Story_of_Adele_H. property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q920218
P800
Q502895
USER
Which person is accredited with being the author of the notable work The Story of Adele H. ?
(c(Q502895),P800,Q920218)
action filter_type
action find_reverse
entity Q920218
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q920218']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q920218 . ?c rdf:type ontology:Q502895 }
The Story of Adele H.
action filter_type
action find_reverse
entity The Story of Adele H.
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Story of Adele H.']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:The_Story_of_Adele_H. . ?c rdf:type ontology:common_name }
[]
common name
Q106383
SYSTEM
Isabelle Adjani
Q106383
(c(Q502895),P800,Q920218)
action filter_type
action find_reverse
entity Q920218
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work The Story of Adele H.
[{'concept': 'Q502895'}, 'P800', 'Q920218']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q920218 . ?c rdf:type ontology:Q502895 }
Isabelle Adjani
Isabelle Adjani is accredited with being the author of the notable work The Story of Adele H.
Isabelle Adjani
action filter_type
action find_reverse
entity The Story of Adele H.
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Story of Adele H.']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:The_Story_of_Adele_H. . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q920218
P57
Q502895
USER
Who directed The Story of Adele H. ?
(Q920218,P57,c(Q502895))
action filter_type
action find
entity Q920218
relation P57
type Q502895
['Q920218', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q920218 property:P57 ?s . ?s rdf:type ontology:Q502895 }
The Story of Adele H.
action filter_type
action find
entity The Story of Adele H.
relation director
type common name
['The Story of Adele H.', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Story_of_Adele_H. property:director ?s . ?s rdf:type ontology:common_name }
[]
common name
Q53002
SYSTEM
François Truffaut
Q53002
(Q920218,P57,c(Q502895))
action filter_type
action find
entity Q920218
relation P57
type Q502895
[ANSWER] directed The Story of Adele H.
['Q920218', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q920218 property:P57 ?s . ?s rdf:type ontology:Q502895 }
François Truffaut
François Truffaut directed The Story of Adele H.
François Truffaut
action filter_type
action find
entity The Story of Adele H.
relation director
type common name
['The Story of Adele H.', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Story_of_Adele_H. property:director ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P58
Q838948 Q201658
USER
How many works of art or film genres have that person as screenwriter ?
(c(Q838948),P58,Q53002) (c(Q201658),P58,Q53002) (c(Q838948),P58,Q53002) (c(Q201658),P58,Q53002)
action count
action union
action filter_type
action find_reverse
entity Q53002
relation P58
type Q838948
action filter_type
action find_reverse
entity Q53002
relation P58
type Q201658
[{'concept': 'Q838948'}, 'P58', 'Q53002'] [{'concept': 'Q201658'}, 'P58', 'Q53002'] [{'concept': 'Q838948'}, 'P58', 'Q53002'] [{'concept': 'Q201658'}, 'P58', 'Q53002']
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P58 resource:Q53002 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P58 resource:Q53002 . ?f rdf:type ontology:Q201658 } }
action count
action union
action filter_type
action find_reverse
entity François Truffaut
relation screenwriter
type work of art
action filter_type
action find_reverse
entity François Truffaut
relation screenwriter
type film genre
[{'concept': 'work of art'}, 'screenwriter', 'François Truffaut'] [{'concept': 'film genre'}, 'screenwriter', 'François Truffaut'] [{'concept': 'work of art'}, 'screenwriter', 'François Truffaut'] [{'concept': 'film genre'}, 'screenwriter', 'François Truffaut']
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:screenwriter resource:François_Truffaut . ?f rdf:type ontology:work_of_art } UNION { ?f property:screenwriter resource:François_Truffaut . ?f rdf:type ontology:film_genre } }
[]
work of art film genre
SYSTEM
27
Q3298157 Q476439 Q759324 Q232091 Q1171341 Q1306407 Q512350 Q86427 Q1117460 Q920218 Q477707 Q1765162 Q1219569 Q277281 Q1211737 Q1195396 Q627975 Q2856966 Q741105 Q261546 Q909816 Q162331 Q1049604 Q1168045 Q1305672 Q324933 Q570966
(c(Q838948),P58,Q53002) (c(Q201658),P58,Q53002) (c(Q838948),P58,Q53002) (c(Q201658),P58,Q53002)
action count
action union
action filter_type
action find_reverse
entity Q53002
relation P58
type Q838948
action filter_type
action find_reverse
entity Q53002
relation P58
type Q201658
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q53002'] [{'concept': 'Q201658'}, 'P58', 'Q53002'] [{'concept': 'Q838948'}, 'P58', 'Q53002'] [{'concept': 'Q201658'}, 'P58', 'Q53002']
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P58 resource:Q53002 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P58 resource:Q53002 . ?f rdf:type ontology:Q201658 } }
Mata Hari, agent H 21 Shoot the Piano Player Confidentially Yours Two English Girls The Green Room A Story of Water Jules and Jim Breathless The Woman Next Door The Story of Adele H. The Wild Child Small Change The Soft Skin Love on the Run The Bride Wore Black The Man Who Loved Women Bed and Board Antoine and Colette Les Mistons Fahrenheit 451 Day for Night The 400 Blows The Last Metro Mississippi Mermaid Such a Gorgeous Kid Like Me Stolen Kisses The Little Thief
27
action count
action union
action filter_type
action find_reverse
entity François Truffaut
relation screenwriter
type work of art
action filter_type
action find_reverse
entity François Truffaut
relation screenwriter
type film genre
[{'concept': 'work of art'}, 'screenwriter', 'François Truffaut'] [{'concept': 'film genre'}, 'screenwriter', 'François Truffaut'] [{'concept': 'work of art'}, 'screenwriter', 'François Truffaut'] [{'concept': 'film genre'}, 'screenwriter', 'François Truffaut']
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:screenwriter resource:François_Truffaut . ?f rdf:type ontology:work_of_art } UNION { ?f property:screenwriter resource:François_Truffaut . ?f rdf:type ontology:film_genre } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q713298
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than geomungo ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q713298 property:P1303 ?p } } . FILTER ( ?x > ?u ) }
geomungo
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:musical_instrument . resource:geomungo property:instrument ?p } } . FILTER ( ?x > ?u ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q713298 property:P1303 ?p } } . FILTER ( ?x > ?u ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:musical_instrument . resource:geomungo property:instrument ?p } } . FILTER ( ?x > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q39777
P1303
Q34379 Q502895
USER
And also tell me about maraca?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q39777 property:P1303 ?t } } . FILTER ( ?l > ?c ) }
maraca
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:musical_instrument . resource:maraca property:instrument ?t } } . FILTER ( ?l > ?c ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q39777 property:P1303 ?t } } . FILTER ( ?l > ?c ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:musical_instrument . resource:maraca property:instrument ?t } } . FILTER ( ?l > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q7276056
P264
Q2031291
USER
How many releases have France or RCA Music Group as their record brand ?
(c(Q2031291),P264,Q142) (c(Q2031291),P264,Q7276056)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q7276056
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q142'] [{'concept': 'Q2031291'}, 'P264', 'Q7276056']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:P264 resource:Q142 . ?f rdf:type ontology:Q2031291 } UNION { ?f property:P264 resource:Q7276056 . ?f rdf:type ontology:Q2031291 } }
France RCA Music Group
action count
action union
action filter_type
action find_reverse
entity France
relation record label
type release
action filter_type
action find_reverse
entity RCA Music Group
relation record label
type release
[{'concept': 'release'}, 'record label', 'France'] [{'concept': 'release'}, 'record label', 'RCA Music Group']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:record_label resource:France . ?f rdf:type ontology:release } UNION { ?f property:record_label resource:RCA_Music_Group . ?f rdf:type ontology:release } }
[]
release
SYSTEM
5
Q2449909 Q2404200 Q14885209 Q7738708 Q7707947
(c(Q2031291),P264,Q142) (c(Q2031291),P264,Q7276056)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q7276056
relation P264
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q142'] [{'concept': 'Q2031291'}, 'P264', 'Q7276056']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:P264 resource:Q142 . ?f rdf:type ontology:Q2031291 } UNION { ?f property:P264 resource:Q7276056 . ?f rdf:type ontology:Q2031291 } }
Shut It Down Hotel Room Service Black Panties The Hand Clap Texas Rock and Roll
5
action count
action union
action filter_type
action find_reverse
entity France
relation record label
type release
action filter_type
action find_reverse
entity RCA Music Group
relation record label
type release
[{'concept': 'release'}, 'record label', 'France'] [{'concept': 'release'}, 'record label', 'RCA Music Group']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:record_label resource:France . ?f rdf:type ontology:release } UNION { ?f property:record_label resource:RCA_Music_Group . ?f rdf:type ontology:release } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P710
Q178561
USER
Which battle has France as its participant ?
(c(Q178561),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q178561
[{'concept': 'Q178561'}, 'P710', 'Q142']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q178561 }
France
action filter_type
action find_reverse
entity France
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'France']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:France . ?j rdf:type ontology:battle }
[]
battle
Q238440
SYSTEM
Battle of Navarino
Q238440
(c(Q178561),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q178561
[ANSWER] has France as its participant
[{'concept': 'Q178561'}, 'P710', 'Q142']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q142 . ?j rdf:type ontology:Q178561 }
Battle of Navarino
Battle of Navarino has France as its participant
Battle of Navarino
action filter_type
action find_reverse
entity France
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'France']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:France . ?j rdf:type ontology:battle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P915
Q838948
USER
Which works of art were filmed at that administrative territory ?
(c(Q838948),P915,Q238440)
action filter_type
action find_reverse
entity Q142
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q238440']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P915 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Battle of Navarino']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:filming_location resource:France }
[]
work of art
Q19089 Q1383269 Q165847
SYSTEM
GoldenEye, Ex, 102 Dalmatians
Q19089 Q165847 Q1031257 Q1383269
(c(Q838948),P915,Q238440)
action filter_type
action find_reverse
entity Q142
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q238440']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P915 resource:Q142 }
GoldenEye 102 Dalmatians Empire of the Wolves Ex
GoldenEye, Ex and 102 Dalmatians were filmed at that administrative territory
GoldenEye Ex 102 Dalmatians
action filter_type
action find_reverse
entity France
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Battle of Navarino']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:filming_location resource:France }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q713298
P21 P1303
Q502895
USER
Which people play geomungo and are a female ?
AND((c(Q502895),P1303,Q713298), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q713298
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q713298'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?p WHERE { ?p property:P1303 resource:Q713298 . ?p property:P21 resource:Q6581072 . ?p rdf:type ontology:Q502895 }
female geomungo
action filter_type
action intersection
action find_reverse
entity geomungo
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'geomungo'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?p WHERE { ?p property:instrument resource:geomungo . ?p property:gender resource:female . ?p rdf:type ontology:common_name }
[]
common name
Q6408893
SYSTEM
Kim Jin-hi
Q6408893
AND((c(Q502895),P1303,Q713298), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q713298
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] play geomungo and are a female
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q713298'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?p WHERE { ?p property:P1303 resource:Q713298 . ?p property:P21 resource:Q6581072 . ?p rdf:type ontology:Q502895 }
Kim Jin-hi
Kim Jin-hi play geomungo and are a female
Kim Jin-hi
action filter_type
action intersection
action find_reverse
entity geomungo
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'geomungo'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?p WHERE { ?p property:instrument resource:geomungo . ?p property:gender resource:female . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6408893 Q884
P27
Q15617994
USER
Is Kim Jin-hi a civilian of South Korea ?
(Q6408893,P27,Q884)
action is_in
entity Q884
action find
entity Q6408893
relation P27
['Q6408893', 'P27', 'Q884']
ASK WHERE { resource:Q6408893 property:P27 resource:Q884 }
Kim Jin-hi South Korea
action is_in
entity South Korea
action find
entity Kim Jin-hi
relation country of citizenship
['Kim Jin-hi', 'country of citizenship', 'South Korea']
ASK WHERE { resource:Kim_Jin-hi property:country_of_citizenship resource:South_Korea }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6408893,P27,Q884)
action is_in
entity Q884
action find
entity Q6408893
relation P27
[ANSWER]
['Q6408893', 'P27', 'Q884']
ASK WHERE { resource:Q6408893 property:P27 resource:Q884 }
Yes
action is_in
entity South Korea
action find
entity Kim Jin-hi
relation country of citizenship
['Kim Jin-hi', 'country of citizenship', 'South Korea']
ASK WHERE { resource:Kim_Jin-hi property:country_of_citizenship resource:South_Korea }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q106383 Q3501709 Q166389
P451
Q502895
USER
Did Isabelle Adjani have Stéphane Delajoux and Daniel Day-Lewis as their mistress ?
(Q106383,P451,Q3501709) (Q106383,P451,Q166389)
action is_in
entity Q106383
action intersection
action find_reverse
entity Q3501709
relation P451
action find_reverse
entity Q166389
relation P451
['Q106383', 'P451', 'Q3501709'] ['Q106383', 'P451', 'Q166389']
ASK WHERE { resource:Q106383 property:P451 resource:Q3501709 . resource:Q106383 property:P451 resource:Q166389 }
Isabelle Adjani Stéphane Delajoux Daniel Day-Lewis
action is_in
entity Isabelle Adjani
action intersection
action find_reverse
entity Stéphane Delajoux
relation partner
action find_reverse
entity Daniel Day-Lewis
relation partner
['Isabelle Adjani', 'partner', 'Stéphane Delajoux'] ['Isabelle Adjani', 'partner', 'Daniel Day-Lewis']
ASK WHERE { resource:Isabelle_Adjani property:partner resource:Stéphane_Delajoux . resource:Isabelle_Adjani property:partner resource:Daniel_Day-Lewis }
[]
common name
SYSTEM
YES
(Q106383,P451,Q3501709) (Q106383,P451,Q166389)
action is_in
entity Q106383
action intersection
action find_reverse
entity Q3501709
relation P451
action find_reverse
entity Q166389
relation P451
[ANSWER]
['Q106383', 'P451', 'Q3501709'] ['Q106383', 'P451', 'Q166389']
ASK WHERE { resource:Q106383 property:P451 resource:Q3501709 . resource:Q106383 property:P451 resource:Q166389 }
Yes
action is_in
entity Isabelle Adjani
action intersection
action find_reverse
entity Stéphane Delajoux
relation partner
action find_reverse
entity Daniel Day-Lewis
relation partner
['Isabelle Adjani', 'partner', 'Stéphane Delajoux'] ['Isabelle Adjani', 'partner', 'Daniel Day-Lewis']
ASK WHERE { resource:Isabelle_Adjani property:partner resource:Stéphane_Delajoux . resource:Isabelle_Adjani property:partner resource:Daniel_Day-Lewis }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q656998
P725
Q502895 Q1001378
USER
Which cinematic techniques did lesser number of people do the dubbing for than Garfield's Pet Force ?
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q656998
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?v ) WHERE { ?r rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 . ?r property:P725 ?o } GROUP BY ?r } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q656998 property:P725 ?k . ?k rdf:type ontology:Q502895 } } }
Garfield's Pet Force
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Garfield's Pet Force
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?v ) WHERE { ?r rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name . ?r property:voice_actor ?o } GROUP BY ?r } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Garfield's_Pet_Force property:voice_actor ?k . ?k rdf:type ontology:common_name } } }
[]
common name cinematic technique
Q104905 Q170035 Q655133
SYSTEM
WALL•E, Ratatouille, Treasure Island
Q2388260 Q21079862 Q562140 Q221679 Q23647031 Q908816 Q3623997 Q4096274 Q655133 Q2615381 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q15975680 Q104905
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q656998
relation P725
type Q502895
[ANSWERS] lesser number of people did the dubbing for than Garfield's Pet Force
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?v ) WHERE { ?r rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 . ?r property:P725 ?o } GROUP BY ?r } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q656998 property:P725 ?k . ?k rdf:type ontology:Q502895 } } }
The Humpbacked Horse Cars 3 Yobi, the Five Tailed Fox Meet the Robinsons Batman: The Killing Joke The Secret of Kells FernGully 2: The Magical Rescue The Bremen Town Musicians Treasure Island Korgoth of Barbaria Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story WALL•E
WALL•E, Ratatouille and Treasure Island lesser number of people did the dubbing for than Garfield's Pet Force
WALL•E Ratatouille Treasure Island
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Garfield's Pet Force
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?v ) WHERE { ?r rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name . ?r property:voice_actor ?o } GROUP BY ?r } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Garfield's_Pet_Force property:voice_actor ?k . ?k rdf:type ontology:common_name } } }
[]