Simple Question (Direct)
Simple Question
Q3794302
P1040
Q502895
USER
Who has editted The Greatest Battle ?
(Q3794302,P1040,c(Q502895))
action filter_type
action find
entity Q3794302
relation P1040
type Q502895
['Q3794302', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3794302 property:P1040 ?l . ?l rdf:type ontology:Q502895 }
The Greatest Battle
action filter_type
action find
entity The Greatest Battle
relation film editor
type common name
['The Greatest Battle', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Greatest_Battle property:film_editor ?l . ?l rdf:type ontology:common_name }
[]
common name
Q1373284
SYSTEM
Eugenio Alabiso
Q1373284
(Q3794302,P1040,c(Q502895))
action filter_type
action find
entity Q3794302
relation P1040
type Q502895
[ANSWER] has editted The Greatest Battle
['Q3794302', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3794302 property:P1040 ?l . ?l rdf:type ontology:Q502895 }
Eugenio Alabiso
Eugenio Alabiso has editted The Greatest Battle
Eugenio Alabiso
action filter_type
action find
entity The Greatest Battle
relation film editor
type common name
['The Greatest Battle', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Greatest_Battle property:film_editor ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3794302
P86
Q502895
USER
Which person composed The Greatest Battle ?
(Q3794302,P86,c(Q502895))
action filter_type
action find
entity Q3794302
relation P86
type Q502895
['Q3794302', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3794302 property:P86 ?s . ?s rdf:type ontology:Q502895 }
The Greatest Battle
action filter_type
action find
entity The Greatest Battle
relation composer
type common name
['The Greatest Battle', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Greatest_Battle property:composer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q452743
SYSTEM
Franco Micalizzi
Q452743
(Q3794302,P86,c(Q502895))
action filter_type
action find
entity Q3794302
relation P86
type Q502895
[ANSWER] composed The Greatest Battle
['Q3794302', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3794302 property:P86 ?s . ?s rdf:type ontology:Q502895 }
Franco Micalizzi
Franco Micalizzi composed The Greatest Battle
Franco Micalizzi
action filter_type
action find
entity The Greatest Battle
relation composer
type common name
['The Greatest Battle', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Greatest_Battle property:composer ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3794302
P58
Q502895
USER
Which people wrote the script for The Greatest Battle ?
(Q3794302,P58,c(Q502895))
action filter_type
action find
entity Q3794302
relation P58
type Q502895
['Q3794302', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3794302 property:P58 ?u . ?u rdf:type ontology:Q502895 }
The Greatest Battle
action filter_type
action find
entity The Greatest Battle
relation screenwriter
type common name
['The Greatest Battle', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Greatest_Battle property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
common name
Q724478 Q3665429
SYSTEM
Umberto Lenzi, Cesare Frugoni
Q724478 Q3665429
(Q3794302,P58,c(Q502895))
action filter_type
action find
entity Q3794302
relation P58
type Q502895
[ANSWERS] wrote the script for The Greatest Battle
['Q3794302', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3794302 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Umberto Lenzi Cesare Frugoni
Umberto Lenzi and Cesare Frugoni wrote the script for The Greatest Battle
Umberto Lenzi Cesare Frugoni
action filter_type
action find
entity The Greatest Battle
relation screenwriter
type common name
['The Greatest Battle', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Greatest_Battle property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3794302
P495
Q15617994
USER
Where did The Greatest Battle originate ?
(Q3794302,P495,c(Q15617994))
action filter_type
action find
entity Q3794302
relation P495
type Q15617994
['Q3794302', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3794302 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
The Greatest Battle
action filter_type
action find
entity The Greatest Battle
relation country of origin
type designation for an administrative territorial entity
['The Greatest Battle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Greatest_Battle property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3794302,P495,c(Q15617994))
action filter_type
action find
entity Q3794302
relation P495
type Q15617994
The Greatest Battle originated in [ANSWER]
['Q3794302', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3794302 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Italy
The Greatest Battle originated in Italy
Italy
action filter_type
action find
entity The Greatest Battle
relation country of origin
type designation for an administrative territorial entity
['The Greatest Battle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:The_Greatest_Battle property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21032721
Q15617994
USER
And what about Lodde?
(Q21032721,P495,c(Q15617994))
action filter_type
action find
entity Q21032721
relation P495
type Q15617994
['Q21032721', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q21032721 property:P495 ?w }
Lodde
action filter_type
action find
entity Lodde
relation country of origin
type designation for an administrative territorial entity
['Lodde', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lodde property:country_of_origin ?w }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q21032721,P495,c(Q15617994))
action filter_type
action find
entity Q21032721
relation P495
type Q15617994
[ANSWER]
['Q21032721', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q21032721 property:P495 ?w }
India
India
action filter_type
action find
entity Lodde
relation country of origin
type designation for an administrative territorial entity
['Lodde', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lodde property:country_of_origin ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q15919701
P495
Q838948
USER
Is that administrative territory a country of origin of The Pye-Dog ?
(Q15919701,P495,Q668)
action is_in
entity Q15919701
action find
entity Q668
relation P495
['Q15919701', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q15919701 }
India The Pye-Dog
action is_in
entity The Pye-Dog
action find
entity India
relation country of origin
['The Pye-Dog', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:The_Pye-Dog }
[]
work of art
SYSTEM
NO
(Q15919701,P495,Q668)
action is_in
entity Q15919701
action find
entity Q668
relation P495
[ANSWER]
['Q15919701', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q15919701 }
No
action is_in
entity The Pye-Dog
action find
entity India
relation country of origin
['The Pye-Dog', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:The_Pye-Dog }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q882738
P463
Q484652
USER
How many international organizations were Italy or Landtag of Mecklenburg-Vorpommern a member of ?
(Q38,P463,c(Q484652)) (Q882738,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q882738
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}] ['Q882738', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?s property:P463 ?o . VALUES ( ?s ) { ( resource:Q38 ) ( resource:Q882738 ) } }
Italy Landtag of Mecklenburg-Vorpommern
action count
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Landtag of Mecklenburg-Vorpommern
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Landtag of Mecklenburg-Vorpommern', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?s property:member_of ?o . VALUES ( ?s ) { ( resource:Italy ) ( resource:Landtag_of_Mecklenburg-Vorpommern ) } }
[]
international organization
SYSTEM
27
Q81299 Q19771 Q1065 Q826700 Q54129 Q1480793 Q47488 Q1411881 Q17495 Q192177 Q7184 Q42262 Q15837827 Q472311 Q37143 Q605326 Q170424 Q188822 Q176815 Q182000 Q8475 Q233611 Q201054 Q7804 Q842490 Q1045198 Q1043527
(Q38,P463,c(Q484652)) (Q882738,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q882738
relation P463
type Q484652
[ANSWER]
['Q38', 'P463', {'concept': 'Q484652'}] ['Q882738', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?s property:P463 ?o . VALUES ( ?s ) { ( resource:Q38 ) ( resource:Q882738 ) } }
Organization for Security and Co-operation in Europe G20 United Nations International Energy Agency International Labour Organization Nuclear Suppliers Group International Criminal Court Group of Ten Universal Postal Union Union for the Mediterranean North Atlantic Treaty Organisation European Space Agency Baltic Sea Parliamentary Conference International Organization for Migration G8 World Customs Organization World Meteorological Organization Asian Development Bank Inter-Parliamentary Union United Nations Conference on Trade and Development Interpol International Hydrographic Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons Permanent Court of Arbitration Multilateral Investment Guarantee Agency
27
action count
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Landtag of Mecklenburg-Vorpommern
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Landtag of Mecklenburg-Vorpommern', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?s property:member_of ?o . VALUES ( ?s ) { ( resource:Italy ) ( resource:Landtag_of_Mecklenburg-Vorpommern ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q21966494 Q38
P530 P17
Q1048835
USER
Which political territories holds diplomatic relationship with Italy and are not Freestone Hill present in ?
AND((Q38,P530,c(Q1048835)), NOT((Q21966494,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q21966494
relation P17
type Q1048835
{'AND': [['Q38', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q21966494', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Q38 property:P530 ?d . FILTER NOT EXISTS { resource:Q21966494 property:P17 ?d } . ?d rdf:type ontology:Q1048835 }
Freestone Hill Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Freestone Hill
relation country
type political territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Freestone Hill', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Italy property:diplomatic_relation ?d . FILTER NOT EXISTS { resource:Freestone_Hill property:country ?d } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q16 Q40 Q35 Q183
SYSTEM
New Zealand, Canada, Austria, Denmark, Germany
Q664 Q16 Q40 Q35 Q183
AND((Q38,P530,c(Q1048835)), NOT((Q21966494,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q21966494
relation P17
type Q1048835
[ANSWERS] hold diplomatic relationship with Italy and are not Freestone Hill present in
{'AND': [['Q38', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q21966494', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Q38 property:P530 ?d . FILTER NOT EXISTS { resource:Q21966494 property:P17 ?d } . ?d rdf:type ontology:Q1048835 }
New Zealand Canada Austria Denmark Germany
New Zealand, Canada, Austria, Denmark and Germany hold diplomatic relationship with Italy and are not Freestone Hill present in
New Zealand Canada Austria Denmark Germany
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Freestone Hill
relation country
type political territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Freestone Hill', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Italy property:diplomatic_relation ?d . FILTER NOT EXISTS { resource:Freestone_Hill property:country ?d } . ?d rdf:type ontology:political_territorial_entity }
[]