Simple Question (Direct)
Simple Question
Q15990828
P495
Q1048835
USER
What is the country of origin of Paulina 1880 ?
(Q15990828,P495,c(Q1048835))
action filter_type
action find
entity Q15990828
relation P495
type Q1048835
['Q15990828', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q15990828 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Paulina 1880
action filter_type
action find
entity Paulina 1880
relation country of origin
type political territorial entity
['Paulina 1880', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Paulina_1880 property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q15990828,P495,c(Q1048835))
action filter_type
action find
entity Q15990828
relation P495
type Q1048835
The country of origin of Paulina 1880 is in [ANSWER]
['Q15990828', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q15990828 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Germany
The country of origin of Paulina 1880 is in Germany
Germany
action filter_type
action find
entity Paulina 1880
relation country of origin
type political territorial entity
['Paulina 1880', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Paulina_1880 property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15990828
P57
Q502895
USER
Which person served as the directed of Paulina 1880 ?
(Q15990828,P57,c(Q502895))
action filter_type
action find
entity Q15990828
relation P57
type Q502895
['Q15990828', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q15990828 property:P57 ?k }
Paulina 1880
action filter_type
action find
entity Paulina 1880
relation director
type common name
['Paulina 1880', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Paulina_1880 property:director ?k }
[]
common name
Q3166635
SYSTEM
Jean-Louis Bertucelli
Q3166635
(Q15990828,P57,c(Q502895))
action filter_type
action find
entity Q15990828
relation P57
type Q502895
[ANSWER] served as the directed of Paulina 1880
['Q15990828', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q15990828 property:P57 ?k }
Jean-Louis Bertucelli
Jean-Louis Bertucelli served as the directed of Paulina 1880
Jean-Louis Bertucelli
action filter_type
action find
entity Paulina 1880
relation director
type common name
['Paulina 1880', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Paulina_1880 property:director ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3166635 Q503914
P27
Q15617994
USER
Is that person a civilian of Rauhenebrach ?
(Q3166635,P27,Q503914)
action is_in
entity Q503914
action find
entity Q3166635
relation P27
['Q3166635', 'P27', 'Q503914']
ASK WHERE { resource:Q3166635 property:P27 resource:Q503914 }
Jean-Louis Bertucelli Rauhenebrach
action is_in
entity Rauhenebrach
action find
entity Jean-Louis Bertucelli
relation country of citizenship
['Jean-Louis Bertucelli', 'country of citizenship', 'Rauhenebrach']
ASK WHERE { resource:Jean-Louis_Bertucelli property:country_of_citizenship resource:Rauhenebrach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3166635,P27,Q503914)
action is_in
entity Q503914
action find
entity Q3166635
relation P27
[ANSWER]
['Q3166635', 'P27', 'Q503914']
ASK WHERE { resource:Q3166635 property:P27 resource:Q503914 }
No
action is_in
entity Rauhenebrach
action find
entity Jean-Louis Bertucelli
relation country of citizenship
['Jean-Louis Bertucelli', 'country of citizenship', 'Rauhenebrach']
ASK WHERE { resource:Jean-Louis_Bertucelli property:country_of_citizenship resource:Rauhenebrach }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3166635
P106
Q28640
USER
What are the job of that person ?
action filter_type
action find
entity Q3166635
relation P106
type Q28640
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q28640 . resource:Q3166635 property:P106 ?d }
Jean-Louis Bertucelli
action filter_type
action find
entity Jean-Louis Bertucelli
relation occupation
type profession
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:profession . resource:Jean-Louis_Bertucelli property:occupation ?d }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
action filter_type
action find
entity Q3166635
relation P106
type Q28640
The job of that person are a [ANSWERS]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q28640 . resource:Q3166635 property:P106 ?d }
film director screenwriter
The job of that person are a film director and screenwriter
film director screenwriter
action filter_type
action find
entity Jean-Louis Bertucelli
relation occupation
type profession
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:profession . resource:Jean-Louis_Bertucelli property:occupation ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3166635
P58
Q838948
USER
Which works of art did that person do the screenwriting for ?
(c(Q838948),P58,Q2526255) (c(Q838948),P58,Q28389)
action filter_type
action find_reverse
entity Q3166635
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q2526255'] [{'concept': 'Q838948'}, 'P58', 'Q28389']
SELECT DISTINCT ?l WHERE { ?l property:P58 resource:Q3166635 . ?l rdf:type ontology:Q838948 }
Jean-Louis Bertucelli
action filter_type
action find_reverse
entity Jean-Louis Bertucelli
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'film director'] [{'concept': 'work of art'}, 'screenwriter', 'screenwriter']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter resource:Jean-Louis_Bertucelli . ?l rdf:type ontology:work_of_art }
[]
work of art
Q3033507 Q2871745
SYSTEM
Docteur Françoise Gailland, A Day to Remember
Q3033507 Q2871745
(c(Q838948),P58,Q2526255) (c(Q838948),P58,Q28389)
action filter_type
action find_reverse
entity Q3166635
relation P58
type Q838948
The screenwriting for Le [ANSWERS] that person did
[{'concept': 'Q838948'}, 'P58', 'Q2526255'] [{'concept': 'Q838948'}, 'P58', 'Q28389']
SELECT DISTINCT ?l WHERE { ?l property:P58 resource:Q3166635 . ?l rdf:type ontology:Q838948 }
Docteur Françoise Gailland A Day to Remember
The screenwriting for Le Docteur Françoise Gailland and A Day to Remember that person did
Docteur Françoise Gailland A Day to Remember
action filter_type
action find_reverse
entity Jean-Louis Bertucelli
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'film director'] [{'concept': 'work of art'}, 'screenwriter', 'screenwriter']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter resource:Jean-Louis_Bertucelli . ?l rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q130283
P674
Q22988604 Q6619679 Q838948
USER
How many works of art have the character greater number of mythological Greek characters or fictional humanoids than Macbeth ?
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q130283
relation P674
type Q22988604
type Q6619679
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q6619679 ) ( ontology:Q22988604 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { { ?j rdf:type ontology:Q22988604 } UNION { ?j rdf:type ontology:Q6619679 } } . resource:Q130283 property:P674 ?j } } . FILTER ( ?z > ?b ) }
Macbeth
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Macbeth
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:fictional_humanoid ) ( ontology:mythological_Greek_character ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { { ?j rdf:type ontology:mythological_Greek_character } UNION { ?j rdf:type ontology:fictional_humanoid } } . resource:Macbeth property:characters ?j } } . FILTER ( ?z > ?b ) }
[]
mythological Greek character fictional humanoid work of art
SYSTEM
16
Q13393950 Q1254421 Q3320792 Q1246408 Q12900461 Q1233164 Q11688406 Q412341 Q294001 Q733444 Q753298 Q1216943 Q650063 Q667750 Q26833 Q2634066
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q130283
relation P674
type Q22988604
type Q6619679
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q6619679 ) ( ontology:Q22988604 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { { ?j rdf:type ontology:Q22988604 } UNION { ?j rdf:type ontology:Q6619679 } } . resource:Q130283 property:P674 ?j } } . FILTER ( ?z > ?b ) }
My Little Pony: Equestria Girls Dracula Agamemnon Alcestis Ino Eumenides The Libation Bearers Ajax Oedipus at Colonus Electra Uncle Vanya The Trojan Women The Seagull Rhesus Othello Treasure Island
16
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Macbeth
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:fictional_humanoid ) ( ontology:mythological_Greek_character ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { { ?j rdf:type ontology:mythological_Greek_character } UNION { ?j rdf:type ontology:fictional_humanoid } } . resource:Macbeth property:characters ?j } } . FILTER ( ?z > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1415903
P674
Q22988604 Q6619679 Q838948
USER
And what about Philoctetes?
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q1415903
relation P674
type Q22988604
type Q6619679
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?d rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q1415903 property:P674 ?s . { { ?s rdf:type ontology:Q22988604 } UNION { ?s rdf:type ontology:Q6619679 } } } } . FILTER ( ?j > ?h ) }
Philoctetes
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Philoctetes
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?d rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Philoctetes property:characters ?s . { { ?s rdf:type ontology:mythological_Greek_character } UNION { ?s rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j > ?h ) }
[]
mythological Greek character fictional humanoid work of art
SYSTEM
27
Q13393950 Q1254421 Q206400 Q286381 Q3320792 Q241077 Q512807 Q375786 Q14772351 Q148643 Q130283 Q1246408 Q672319 Q12900461 Q1233164 Q11688406 Q412341 Q294001 Q733444 Q753298 Q1216943 Q1233203 Q650063 Q667750 Q26833 Q2634066 Q934597
(c(Q838948),P674,c(Q22988604)|c(Q6619679))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q838948
type Q22988604
action find_tuple_counts
relation P674
type Q838948
type Q6619679
action count
action filter_multi_types
action find
entity Q1415903
relation P674
type Q22988604
type Q6619679
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?d rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q1415903 property:P674 ?s . { { ?s rdf:type ontology:Q22988604 } UNION { ?s rdf:type ontology:Q6619679 } } } } . FILTER ( ?j > ?h ) }
My Little Pony: Equestria Girls Dracula The Merchant of Venice Medea Agamemnon Antigone Andromaque Hippolytus Batman v Superman: Dawn of Justice Oedipus Rex Macbeth Alcestis The Suppliants Ino Eumenides The Libation Bearers Ajax Oedipus at Colonus Electra Uncle Vanya The Trojan Women Herakles' Children The Seagull Rhesus Othello Treasure Island The Bacchae
27
action count
action greater
action union
action find_tuple_counts
relation characters
type work of art
type mythological Greek character
action find_tuple_counts
relation characters
type work of art
type fictional humanoid
action count
action filter_multi_types
action find
entity Philoctetes
relation characters
type mythological Greek character
type fictional humanoid
[{'concept': 'work of art'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?d rdf:type ?m } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Philoctetes property:characters ?s . { { ?s rdf:type ontology:mythological_Greek_character } UNION { ?s rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j > ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q6619679 Q3895768
USER
How many works of art contain atleast 36 fictional humanoids and fictional locations ?
(c(Q6619679)|c(Q3895768),P1441,c(Q838948))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 36
[[{'concept': 'Q6619679'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?b rdf:type ontology:Q6619679 . ?a rdf:type ontology:Q838948 . ?b property:P1441 ?a } UNION { ?a rdf:type ontology:Q838948 . ?b rdf:type ontology:Q3895768 . ?b property:P1441 ?a } } GROUP BY ?a } . FILTER ( ?c >= 36 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 36
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?b rdf:type ontology:fictional_humanoid . ?a rdf:type ontology:work_of_art . ?b property:present_in_work ?a } UNION { ?a rdf:type ontology:work_of_art . ?b rdf:type ontology:fictional_location . ?b property:present_in_work ?a } } GROUP BY ?a } . FILTER ( ?c >= 36 ) }
[]
work of art fictional humanoid fictional location
SYSTEM
2
Q18786473 Q18407657
(c(Q6619679)|c(Q3895768),P1441,c(Q838948))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 36
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?b rdf:type ontology:Q6619679 . ?a rdf:type ontology:Q838948 . ?b property:P1441 ?a } UNION { ?a rdf:type ontology:Q838948 . ?b rdf:type ontology:Q3895768 . ?b property:P1441 ?a } } GROUP BY ?a } . FILTER ( ?c >= 36 ) }
Pete's Dragon Captain America: Civil War
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 36
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?b rdf:type ontology:fictional_humanoid . ?a rdf:type ontology:work_of_art . ?b property:present_in_work ?a } UNION { ?a rdf:type ontology:work_of_art . ?b rdf:type ontology:fictional_location . ?b property:present_in_work ?a } } GROUP BY ?a } . FILTER ( ?c >= 36 ) }
[]