Simple Question (Direct)
Simple Question
Q6463355
P495
Q15617994
USER
What is the origin of Mistress of Treves ?
(Q6463355,P495,c(Q15617994))
action filter_type
action find
entity Q6463355
relation P495
type Q15617994
['Q6463355', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6463355 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Mistress of Treves
action filter_type
action find
entity Mistress of Treves
relation country of origin
type designation for an administrative territorial entity
['Mistress of Treves', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mistress_of_Treves property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q6463355,P495,c(Q15617994))
action filter_type
action find
entity Q6463355
relation P495
type Q15617994
The origin of Mistress of Treves is from [ANSWER]
['Q6463355', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q6463355 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Italy
The origin of Mistress of Treves is from Italy
Italy
action filter_type
action find
entity Mistress of Treves
relation country of origin
type designation for an administrative territorial entity
['Mistress of Treves', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mistress_of_Treves property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6463355
P162
Q502895
USER
Who produced that work of art ?
(Q38,P162,c(Q502895))
action filter_type
action find
entity Q6463355
relation P162
type Q502895
['Q38', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q6463355 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Mistress of Treves
action filter_type
action find
entity Mistress of Treves
relation producer
type common name
['Italy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Mistress_of_Treves property:producer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q21407986
SYSTEM
Giorgio Venturini
Q21407986
(Q38,P162,c(Q502895))
action filter_type
action find
entity Q6463355
relation P162
type Q502895
[ANSWER] produced that work of art
['Q38', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q6463355 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Giorgio Venturini
Giorgio Venturini produced that work of art
Giorgio Venturini
action filter_type
action find
entity Mistress of Treves
relation producer
type common name
['Italy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Mistress_of_Treves property:producer ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11325839
P725
Q502895 Q2342494
USER
Which collectables did around the same number of people do the dubbing for as No Game No Life-mart ?
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q11325839 property:P725 ?q . ?q rdf:type ontology:Q2342494 } } . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { ?d property:P725 ?n . ?d rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } }
No Game No Life-mart
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?q . ?q rdf:type ontology:collectable } } . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { ?d property:voice_actor ?n . ?d rdf:type ontology:collectable . ?n rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name collectable
Q482870 Q119534 Q11325839
SYSTEM
Boku wa Tomodachi ga Sukunai, Shakugan no Shana, No Game No Life-mart
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[ANSWERS] as No Game No Life-mart the dubbing for around the same number of people did
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q11325839 property:P725 ?q . ?q rdf:type ontology:Q2342494 } } . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { ?d property:P725 ?n . ?d rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
Boku wa Tomodachi ga Sukunai, Shakugan no Shana and No Game No Life-mart as No Game No Life-mart the dubbing for around the same number of people did
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = ?f ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?q . ?q rdf:type ontology:collectable } } . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { ?d property:voice_actor ?n . ?d rdf:type ontology:collectable . ?n rdf:type ontology:common_name } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q15707583 Q502895
USER
Which works of art do max number of fictional taxons and people appear ?
(c(Q15707583)|c(Q502895),P1441,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
[[{'concept': 'Q15707583'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15707583 } UNION { ?p property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } } GROUP BY ?a } } . FILTER ( ?r = ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P1441 ?c . ?c rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15707583 } UNION { ?l property:P1441 ?c . ?l rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } } GROUP BY ?c } }
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
[[{'concept': 'fictional taxon'}, {'concept': 'common name'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_taxon } UNION { ?p property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } } GROUP BY ?a } } . FILTER ( ?r = ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:present_in_work ?c . ?c rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_taxon } UNION { ?l property:present_in_work ?c . ?l rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } } GROUP BY ?c } }
[]
work of art fictional taxon common name
Q18031184 Q20001199
SYSTEM
The Finest Hours, Guardians of the Galaxy Vol. 2
Q18031184 Q20001199
(c(Q15707583)|c(Q502895),P1441,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
[ANSWERS] max number of fictional taxons and people appear
[[{'concept': 'Q15707583'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?p rdf:type ontology:Q15707583 } UNION { ?p property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } } GROUP BY ?a } } . FILTER ( ?r = ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P1441 ?c . ?c rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15707583 } UNION { ?l property:P1441 ?c . ?l rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } } GROUP BY ?c } }
The Finest Hours Guardians of the Galaxy Vol. 2
The Finest Hours and Guardians of the Galaxy Vol. 2 max number of fictional taxons and people appear
The Finest Hours Guardians of the Galaxy Vol. 2
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
[[{'concept': 'fictional taxon'}, {'concept': 'common name'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_taxon } UNION { ?p property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } } GROUP BY ?a } } . FILTER ( ?r = ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:present_in_work ?c . ?c rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_taxon } UNION { ?l property:present_in_work ?c . ?l rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } } GROUP BY ?c } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P629
Q838948 Q2342494
USER
How many works of art are around the same number of collectables an edition or translation of as that work of art ?
(c(Q2342494),P629,c(Q838948))
[{'concept': 'Q2342494'}, 'P629', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P629 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
[{'concept': 'collectable'}, 'edition or translation of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:edition_or_translation_of ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
work of art collectable
Comparative|Count over More/Less|Single entity type|Clarification
Q20001199
SYSTEM
Did you mean Guardians of the Galaxy Vol. 2 ?
(c(Q2342494),P629,c(Q838948))
[ANSWER]
[{'concept': 'Q2342494'}, 'P629', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P629 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
Did you mean Guardians of the Galaxy Vol. 2 ?
Guardians of the Galaxy Vol. 2
[{'concept': 'collectable'}, 'edition or translation of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:edition_or_translation_of ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant The Finest Hours. Could you tell me the answer for that?
(c(Q2342494),P629,c(Q838948))
Q18031184
[{'concept': 'Q2342494'}, 'P629', {'concept': 'Q838948'}]
[{'concept': 'collectable'}, 'edition or translation of', {'concept': 'work of art'}]
[]
SYSTEM
37
Q18786473 Q86440 Q16857406 Q11688406 Q1216139 Q192724 Q412341 Q893665 Q294001 Q3292828 Q846870 Q18406872 Q451932 Q945342 Q205028 Q320594 Q1233164 Q24628827 Q506546 Q181795 Q3320792 Q934597 Q788458 Q241077 Q1246408 Q18602670 Q217020 Q733444 Q17485699 Q614607 Q542055 Q148643 Q1415903 Q1206121 Q286381 Q275120 Q18031184
(c(Q2342494),P629,c(Q838948))
[ANSWER]
[{'concept': 'Q2342494'}, 'P629', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P629 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
Pete's Dragon The Tempest The Jungle Book The Libation Bearers The Suppliants Iron Man Ajax Boris Godunov Oedipus at Colonus Marie Tudor Prometheus Bound Doctor Strange Penthesilea Trachiniae Iron Man 2 Abhijñānaśākuntalam Eumenides The Bishop's Candlesticks Seven against Thebes The Empire Strikes Back Agamemnon The Bacchae The Persians Antigone Alcestis Spectre Thor Electra Alice Through the Looking Glass Ion Sir Thomas More Oedipus Rex Philoctetes Cyclops Medea Captain America: The First Avenger The Finest Hours
37
[{'concept': 'collectable'}, 'edition or translation of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:edition_or_translation_of ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18031184
P1040
Q502895
USER
Which person is the editor of that work of art ?
action filter_type
action find
entity Q18031184
relation P1040
type Q502895
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q18031184 property:P1040 ?t }
The Finest Hours
action filter_type
action find
entity The Finest Hours
relation film editor
type common name
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:The_Finest_Hours property:film_editor ?t }
[]
common name
Q7688112
SYSTEM
Tatiana S. Riegel
Q7688112
action filter_type
action find
entity Q18031184
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q18031184 property:P1040 ?t }
Tatiana S. Riegel
Tatiana S. Riegel is the editor of that work of art
Tatiana S. Riegel
action filter_type
action find
entity The Finest Hours
relation film editor
type common name
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:The_Finest_Hours property:film_editor ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21407986
P57
Q838948
USER
Which work of art is Giorgio Venturini a director of ?
(c(Q838948),P57,Q21407986)
action filter_type
action find_reverse
entity Q21407986
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q21407986']
SELECT DISTINCT ?o WHERE { ?o property:P57 resource:Q21407986 . ?o rdf:type ontology:Q838948 }
Giorgio Venturini
action filter_type
action find_reverse
entity Giorgio Venturini
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Giorgio Venturini']
SELECT DISTINCT ?o WHERE { ?o property:director resource:Giorgio_Venturini . ?o rdf:type ontology:work_of_art }
[]
work of art
Q2365764
SYSTEM
The Avenger
Q2365764
(c(Q838948),P57,Q21407986)
action filter_type
action find_reverse
entity Q21407986
relation P57
type Q838948
The [ANSWER] is Giorgio Venturini a director of
[{'concept': 'Q838948'}, 'P57', 'Q21407986']
SELECT DISTINCT ?o WHERE { ?o property:P57 resource:Q21407986 . ?o rdf:type ontology:Q838948 }
The Avenger
The The Avenger is Giorgio Venturini a director of
The Avenger
action filter_type
action find_reverse
entity Giorgio Venturini
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Giorgio Venturini']
SELECT DISTINCT ?o WHERE { ?o property:director resource:Giorgio_Venturini . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21407986
P21
Q290
USER
Which sex does that person possess ?
(Q2365764,P21,c(Q290))
action filter_type
action find
entity Q21407986
relation P21
type Q290
['Q2365764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q21407986 property:P21 ?f . ?f rdf:type ontology:Q290 }
Giorgio Venturini
action filter_type
action find
entity Giorgio Venturini
relation gender
type sex
['The Avenger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Giorgio_Venturini property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2365764,P21,c(Q290))
action filter_type
action find
entity Q21407986
relation P21
type Q290
That person possesses a [ANSWER]
['Q2365764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q21407986 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Giorgio Venturini
relation gender
type sex
['The Avenger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Giorgio_Venturini property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2918661 Q21407986
P21
Q290
USER
And also Julio Sieburger
AND((Q21407986,P21,c(Q290)), (Q2918661,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q21407986
relation P21
action find
entity Q2918661
relation P21
type Q290
{'AND': [['Q21407986', 'P21', {'concept': 'Q290'}], ['Q2918661', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { resource:Q21407986 property:P21 ?d . resource:Q2918661 property:P21 ?d . ?d rdf:type ontology:Q290 }
Julio Sieburger Giorgio Venturini
action filter_type
action intersection
action find
entity Giorgio Venturini
relation gender
action find
entity Julio Sieburger
relation gender
type sex
{'AND': [['Giorgio Venturini', 'gender', {'concept': 'sex'}], ['Julio Sieburger', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { resource:Giorgio_Venturini property:gender ?d . resource:Julio_Sieburger property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q21407986,P21,c(Q290)), (Q2918661,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q21407986
relation P21
action find
entity Q2918661
relation P21
type Q290
[ANSWER]
{'AND': [['Q21407986', 'P21', {'concept': 'Q290'}], ['Q2918661', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { resource:Q21407986 property:P21 ?d . resource:Q2918661 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Giorgio Venturini
relation gender
action find
entity Julio Sieburger
relation gender
type sex
{'AND': [['Giorgio Venturini', 'gender', {'concept': 'sex'}], ['Julio Sieburger', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { resource:Giorgio_Venturini property:gender ?d . resource:Julio_Sieburger property:gender ?d . ?d rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q18031184
P915
Q34763 Q56061
USER
How many peninsulas and administrative territories were The Finest Hours filmed ?
(Q18031184,P915,c(Q34763)) (Q18031184,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q18031184
relation P915
type Q34763
action filter_type
action find
entity Q18031184
relation P915
type Q56061
['Q18031184', 'P915', {'concept': 'Q34763'}] ['Q18031184', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q34763 ) ( ontology:Q56061 ) } }
The Finest Hours
action count
action union
action filter_type
action find
entity The Finest Hours
relation filming location
type peninsula
action filter_type
action find
entity The Finest Hours
relation filming location
type administrative territorial entity
['The Finest Hours', 'filming location', {'concept': 'peninsula'}] ['The Finest Hours', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:peninsula ) ( ontology:administrative_territorial_entity ) } }
[]
peninsula administrative territorial entity
SYSTEM
1 peninsulas and 1 administrative territories
Q49152 Q49143
(Q18031184,P915,c(Q34763)) (Q18031184,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q18031184
relation P915
type Q34763
action filter_type
action find
entity Q18031184
relation P915
type Q56061
[ANSWER]
['Q18031184', 'P915', {'concept': 'Q34763'}] ['Q18031184', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q34763 ) ( ontology:Q56061 ) } }
Cape Cod Quincy
1 peninsulas and 1 administrative territories
action count
action union
action filter_type
action find
entity The Finest Hours
relation filming location
type peninsula
action filter_type
action find
entity The Finest Hours
relation filming location
type administrative territorial entity
['The Finest Hours', 'filming location', {'concept': 'peninsula'}] ['The Finest Hours', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:peninsula ) ( ontology:administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18031184
P161
Q502895
USER
How many people were casted in The Finest Hours ?
(Q18031184,P161,c(Q502895))
action count
action filter_type
action find
entity Q18031184
relation P161
type Q502895
['Q18031184', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q18031184 property:P161 ?s }
The Finest Hours
action count
action filter_type
action find
entity The Finest Hours
relation cast member
type common name
['The Finest Hours', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:common_name . resource:The_Finest_Hours property:cast_member ?s }
[]
common name
SYSTEM
30
Q17523865 Q24631223 Q4888924 Q311804 Q704395 Q117415 Q24631537 Q4440 Q20740615 Q6246377 Q24631752 Q589827 Q263743 Q24631927 Q329767 Q270730 Q210094 Q24632181 Q24631826 Q15937109 Q24631313 Q6790916 Q24631446 Q609464 Q24631132 Q24631170 Q24631653 Q24632029 Q24632125 Q23466
(Q18031184,P161,c(Q502895))
action count
action filter_type
action find
entity Q18031184
relation P161
type Q502895
[ANSWER]
['Q18031184', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q18031184 property:P161 ?s }
Keiynan Lonsdale Danny Connelly Benjamin Koldyke Ben Foster Kyle Gallner Josh Stewart Kate Crowley Eric Bana Beau Knapp John Magaro Thomas Brogan Michael Raymond-James Holliday Grainger Thomas Dwyer Abraham Benrubi Casey Affleck John Ortiz Harley Harrison Peg Holzemer Rachel Brosnahan Angela Hope Smith Matthew Maher Bari Robinson Graham McTavish Jesse Gabbard Alexander Cook Polly Pillsbury Steve Rasetta Jay Street Chris Pine
30
action count
action filter_type
action find
entity The Finest Hours
relation cast member
type common name
['The Finest Hours', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:common_name . resource:The_Finest_Hours property:cast_member ?s }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23654057
Q502895
USER
And what about Give Us Barabbas!?
(Q23654057,P161,c(Q502895))
action count
action filter_type
action find
entity Q23654057
relation P161
type Q502895
['Q23654057', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q23654057 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Give Us Barabbas!
action count
action filter_type
action find
entity Give Us Barabbas!
relation cast member
type common name
['Give Us Barabbas!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Give_Us_Barabbas! property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
7
(Q23654057,P161,c(Q502895))
action count
action filter_type
action find
entity Q23654057
relation P161
type Q502895
[ANSWER]
['Q23654057', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q23654057 property:P161 ?h . ?h rdf:type ontology:Q502895 }
7
action count
action filter_type
action find
entity Give Us Barabbas!
relation cast member
type common name
['Give Us Barabbas!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Give_Us_Barabbas! property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q371752
P180
Q838948 Q11060274 Q386724
USER
How many works of art are expressed in around the same number of prints and works as calvary ?
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q371752
relation P180
type Q11060274
type Q386724
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?m WHERE { { ?d property:P180 ?m . ?m rdf:type ontology:Q838948 . ?d rdf:type ontology:Q11060274 } UNION { ?d property:P180 ?m . ?m rdf:type ontology:Q838948 . ?d rdf:type ontology:Q386724 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P180 resource:Q371752 . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } } } . FILTER ( ?q = ?v ) }
calvary
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action count
action filter_multi_types
action find_reverse
entity calvary
relation depicts
type print
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?m WHERE { { ?d property:depicts ?m . ?m rdf:type ontology:work_of_art . ?d rdf:type ontology:print } UNION { ?d property:depicts ?m . ?m rdf:type ontology:work_of_art . ?d rdf:type ontology:work } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:depicts resource:calvary . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:print ) ( ontology:work ) } } } } . FILTER ( ?q = ?v ) }
[]
work of art print work
SYSTEM
95
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q178401 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q17305006 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1779386 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q215911 Q476968 Q3305213 Q17305020 Q280336 Q652011 Q3575260 Q16332506 Q2963060 Q907387 Q18177089 Q374591 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q371752
relation P180
type Q11060274
type Q386724
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?m WHERE { { ?d property:P180 ?m . ?m rdf:type ontology:Q838948 . ?d rdf:type ontology:Q11060274 } UNION { ?d property:P180 ?m . ?m rdf:type ontology:Q838948 . ?d rdf:type ontology:Q386724 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P180 resource:Q371752 . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } } } . FILTER ( ?q = ?v ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound amphora Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Galatea Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback Menat flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater painting Tanagra partner dance Richard III bijou Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Farnese Hercules diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
95
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action count
action filter_multi_types
action find_reverse
entity calvary
relation depicts
type print
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?m WHERE { { ?d property:depicts ?m . ?m rdf:type ontology:work_of_art . ?d rdf:type ontology:print } UNION { ?d property:depicts ?m . ?m rdf:type ontology:work_of_art . ?d rdf:type ontology:work } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:depicts resource:calvary . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:print ) ( ontology:work ) } } } } . FILTER ( ?q = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q774967
P180
Q838948 Q11060274 Q386724
USER
And what about Venus de' Medici?
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q774967
relation P180
type Q11060274
type Q386724
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?p rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q774967 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q386724 } } } } . FILTER ( ?z = ?q ) }
Venus de' Medici
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action count
action filter_multi_types
action find_reverse
entity Venus de' Medici
relation depicts
type print
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?o WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:work ) } . ?p rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:Venus_de'_Medici . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:work } } } } . FILTER ( ?z = ?q ) }
[]
work of art print work
SYSTEM
95
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q178401 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q17305006 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1779386 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q215911 Q476968 Q3305213 Q17305020 Q280336 Q652011 Q3575260 Q16332506 Q2963060 Q907387 Q18177089 Q374591 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q774967
relation P180
type Q11060274
type Q386724
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?p rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q774967 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q386724 } } } } . FILTER ( ?z = ?q ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound amphora Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Galatea Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback Menat flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater painting Tanagra partner dance Richard III bijou Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Farnese Hercules diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
95
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action count
action filter_multi_types
action find_reverse
entity Venus de' Medici
relation depicts
type print
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?o WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:work ) } . ?p rdf:type ?x } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:Venus_de'_Medici . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:work } } } } . FILTER ( ?z = ?q ) }
[]