Simple Question (Direct)
Simple Question
Q2900279
P937
Q56061
USER
Where did Shabtai Shikhman work ?
(Q2900279,P937,c(Q56061))
action filter_type
action find
entity Q2900279
relation P937
type Q56061
['Q2900279', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2900279 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Shabtai Shikhman
action filter_type
action find
entity Shabtai Shikhman
relation work location
type administrative territorial entity
['Shabtai Shikhman', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Shabtai_Shikhman property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q2900279,P937,c(Q56061))
action filter_type
action find
entity Q2900279
relation P937
type Q56061
Shabtai Shikhman worked in [ANSWER]
['Q2900279', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2900279 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Jerusalem
Shabtai Shikhman worked in Jerusalem
Jerusalem
action filter_type
action find
entity Shabtai Shikhman
relation work location
type administrative territorial entity
['Shabtai Shikhman', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Shabtai_Shikhman property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2900279
P20
Q15617994
USER
Where did Shabtai Shikhman die ?
(Q2900279,P20,c(Q15617994))
action filter_type
action find
entity Q2900279
relation P20
type Q15617994
['Q2900279', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2900279 property:P20 ?p . ?p rdf:type ontology:Q15617994 }
Shabtai Shikhman
action filter_type
action find
entity Shabtai Shikhman
relation place of death
type designation for an administrative territorial entity
['Shabtai Shikhman', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Shabtai_Shikhman property:place_of_death ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2900279,P20,c(Q15617994))
action filter_type
action find
entity Q2900279
relation P20
type Q15617994
Shabtai Shikhman died in [ANSWER]
['Q2900279', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2900279 property:P20 ?p . ?p rdf:type ontology:Q15617994 }
Israel
Shabtai Shikhman died in Israel
Israel
action filter_type
action find
entity Shabtai Shikhman
relation place of death
type designation for an administrative territorial entity
['Shabtai Shikhman', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Shabtai_Shikhman property:place_of_death ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13059179 Q2900279
P19
Q15617994
USER
Which administrative territories are the birthplace of Shabtai Shikhman or Mozid Mahmud ?
OR((Q2900279,P19,c(Q15617994)), (Q13059179,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q2900279
relation P19
action find
entity Q13059179
relation P19
type Q15617994
{'OR': [['Q2900279', 'P19', {'concept': 'Q15617994'}], ['Q13059179', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?t ) { ( resource:Q2900279 ) ( resource:Q13059179 ) } . ?t property:P19 ?k } . ?k rdf:type ontology:Q15617994 }
Mozid Mahmud Shabtai Shikhman
action filter_type
action union
action find
entity Shabtai Shikhman
relation place of birth
action find
entity Mozid Mahmud
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Shabtai Shikhman', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mozid Mahmud', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?t ) { ( resource:Shabtai_Shikhman ) ( resource:Mozid_Mahmud ) } . ?t property:place_of_birth ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q1083505
SYSTEM
Poland, Pabna District
Q36 Q1083505
OR((Q2900279,P19,c(Q15617994)), (Q13059179,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q2900279
relation P19
action find
entity Q13059179
relation P19
type Q15617994
[ANSWERS] are the birthplace of Shabtai Shikhman or Mozid Mahmud
{'OR': [['Q2900279', 'P19', {'concept': 'Q15617994'}], ['Q13059179', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?t ) { ( resource:Q2900279 ) ( resource:Q13059179 ) } . ?t property:P19 ?k } . ?k rdf:type ontology:Q15617994 }
Poland Pabna District
Poland and Pabna District are the birthplace of Shabtai Shikhman or Mozid Mahmud
Poland Pabna District
action filter_type
action union
action find
entity Shabtai Shikhman
relation place of birth
action find
entity Mozid Mahmud
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Shabtai Shikhman', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mozid Mahmud', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?t ) { ( resource:Shabtai_Shikhman ) ( resource:Mozid_Mahmud ) } . ?t property:place_of_birth ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13059179
P19
Q15617994
USER
How many administrative territories were Mozid Mahmud born in ?
(Q13059179,P19,c(Q15617994))
action count
action filter_type
action find
entity Q13059179
relation P19
type Q15617994
['Q13059179', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q13059179 property:P19 ?i }
Mozid Mahmud
action count
action filter_type
action find
entity Mozid Mahmud
relation place of birth
type designation for an administrative territorial entity
['Mozid Mahmud', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mozid_Mahmud property:place_of_birth ?i }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1083505
(Q13059179,P19,c(Q15617994))
action count
action filter_type
action find
entity Q13059179
relation P19
type Q15617994
[ANSWER]
['Q13059179', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q13059179 property:P19 ?i }
Pabna District
1
action count
action filter_type
action find
entity Mozid Mahmud
relation place of birth
type designation for an administrative territorial entity
['Mozid Mahmud', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mozid_Mahmud property:place_of_birth ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q382555
P1431
Q838948
USER
Which work of art has Enrico Bomba as its executive producer ?
(c(Q838948),P1431,Q382555)
action filter_type
action find_reverse
entity Q382555
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q382555']
SELECT DISTINCT ?y WHERE { ?y property:P1431 resource:Q382555 . ?y rdf:type ontology:Q838948 }
Enrico Bomba
action filter_type
action find_reverse
entity Enrico Bomba
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Enrico Bomba']
SELECT DISTINCT ?y WHERE { ?y property:executive_producer resource:Enrico_Bomba . ?y rdf:type ontology:work_of_art }
[]
work of art
Q4998001
SYSTEM
Buon viaggio pover'uomo
Q4998001
(c(Q838948),P1431,Q382555)
action filter_type
action find_reverse
entity Q382555
relation P1431
type Q838948
[ANSWER] has Enrico Bomba as its executive producer
[{'concept': 'Q838948'}, 'P1431', 'Q382555']
SELECT DISTINCT ?y WHERE { ?y property:P1431 resource:Q382555 . ?y rdf:type ontology:Q838948 }
Buon viaggio pover'uomo
Buon viaggio pover'uomo has Enrico Bomba as its executive producer
Buon viaggio pover'uomo
action filter_type
action find_reverse
entity Enrico Bomba
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Enrico Bomba']
SELECT DISTINCT ?y WHERE { ?y property:executive_producer resource:Enrico_Bomba . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q382555
P161
Q838948
USER
Which work of art has Enrico Bomba in its star cast ?
(c(Q838948),P161,Q382555)
action filter_type
action find_reverse
entity Q382555
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q382555']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q382555 . ?k rdf:type ontology:Q838948 }
Enrico Bomba
action filter_type
action find_reverse
entity Enrico Bomba
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Enrico Bomba']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Enrico_Bomba . ?k rdf:type ontology:work_of_art }
[]
work of art
Q4006036
SYSTEM
Stranger in Sacramento
Q4006036
(c(Q838948),P161,Q382555)
action filter_type
action find_reverse
entity Q382555
relation P161
type Q838948
[ANSWER] has Enrico Bomba in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q382555']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q382555 . ?k rdf:type ontology:Q838948 }
Stranger in Sacramento
Stranger in Sacramento has Enrico Bomba in its star cast
Stranger in Sacramento
action filter_type
action find_reverse
entity Enrico Bomba
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Enrico Bomba']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Enrico_Bomba . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382555
P162
Q838948
USER
Which works of art have been produced by that person ?
(c(Q838948),P162,Q4006036)
action filter_type
action find_reverse
entity Q382555
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q4006036']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P162 resource:Q382555 }
Enrico Bomba
action filter_type
action find_reverse
entity Enrico Bomba
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Stranger in Sacramento']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:producer resource:Enrico_Bomba }
[]
work of art
Q6151145 Q1196394
SYSTEM
Oh Islam, Romulus and the Sabines
Q6151145 Q1196394
(c(Q838948),P162,Q4006036)
action filter_type
action find_reverse
entity Q382555
relation P162
type Q838948
[ANSWERS] have been produced by that person
[{'concept': 'Q838948'}, 'P162', 'Q4006036']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P162 resource:Q382555 }
Oh Islam Romulus and the Sabines
Oh Islam and Romulus and the Sabines have been produced by that person
Oh Islam Romulus and the Sabines
action filter_type
action find_reverse
entity Enrico Bomba
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Stranger in Sacramento']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:producer resource:Enrico_Bomba }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q811979 Q34442 Q838948
USER
Which works of art are located on atleast 3 architectural structures or roads ?
(c(Q838948),P669,c(Q811979)|c(Q34442))
action atleast
action union
action find_tuple_counts
relation P669
type Q838948
type Q811979
action find_tuple_counts
relation P669
type Q838948
type Q34442
value 3
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q811979'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:Q838948 . ?v rdf:type ontology:Q811979 . ?o property:P669 ?v } UNION { ?o rdf:type ontology:Q838948 . ?v rdf:type ontology:Q34442 . ?o property:P669 ?v } } GROUP BY ?o } . FILTER ( ?n >= 3 ) }
action atleast
action union
action find_tuple_counts
relation located on street
type work of art
type architectural structure
action find_tuple_counts
relation located on street
type work of art
type road
value 3
[{'concept': 'work of art'}, 'located on street', [{'concept': 'architectural structure'}, {'concept': 'road'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:work_of_art . ?v rdf:type ontology:architectural_structure . ?o property:located_on_street ?v } UNION { ?o rdf:type ontology:work_of_art . ?v rdf:type ontology:road . ?o property:located_on_street ?v } } GROUP BY ?o } . FILTER ( ?n >= 3 ) }
[]
architectural structure road work of art
Q3234796 Q3127515 Q2063737
SYSTEM
Les Poings d'eau, Harmonie, Victory Monument
Q3234796 Q3127515 Q2063737
(c(Q838948),P669,c(Q811979)|c(Q34442))
action atleast
action union
action find_tuple_counts
relation P669
type Q838948
type Q811979
action find_tuple_counts
relation P669
type Q838948
type Q34442
value 3
[ANSWERS] are located on atleast 3 architectural structures or roads
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q811979'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:Q838948 . ?v rdf:type ontology:Q811979 . ?o property:P669 ?v } UNION { ?o rdf:type ontology:Q838948 . ?v rdf:type ontology:Q34442 . ?o property:P669 ?v } } GROUP BY ?o } . FILTER ( ?n >= 3 ) }
Les Poings d'eau Harmonie Victory Monument
Les Poings d'eau, Harmonie and Victory Monument are located on atleast 3 architectural structures or roads
Les Poings d'eau Harmonie Victory Monument
action atleast
action union
action find_tuple_counts
relation located on street
type work of art
type architectural structure
action find_tuple_counts
relation located on street
type work of art
type road
value 3
[{'concept': 'work of art'}, 'located on street', [{'concept': 'architectural structure'}, {'concept': 'road'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?o WHERE { { ?o rdf:type ontology:work_of_art . ?v rdf:type ontology:architectural_structure . ?o property:located_on_street ?v } UNION { ?o rdf:type ontology:work_of_art . ?v rdf:type ontology:road . ?o property:located_on_street ?v } } GROUP BY ?o } . FILTER ( ?n >= 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1039
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have lesser number of hymns or literary works as their national anthem than Sao Tomé and Príncipe ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1039
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:Q484692 . ?d rdf:type ontology:Q15617994 . ?d property:P85 ?v } UNION { ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7725634 . ?d property:P85 ?v } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } . resource:Q1039 property:P85 ?k } } . FILTER ( ?e < ?g ) }
Sao Tomé and Príncipe
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Sao Tomé and Príncipe
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:hymn . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:anthem ?v } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:literary_work . ?d property:anthem ?v } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:hymn ) ( ontology:literary_work ) } } . resource:Sao_Tomé_and_Príncipe property:anthem ?k } } . FILTER ( ?e < ?g ) }
[]
hymn literary work designation for an administrative territorial entity
Q142 Q1093 Q773
SYSTEM
France, Limburg, Overijssel
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1039
relation P85
type Q484692
type Q7725634
[ANSWERS] have lesser number of hymns or literary works as their national anthem than Sao Tomé and Príncipe
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:Q484692 . ?d rdf:type ontology:Q15617994 . ?d property:P85 ?v } UNION { ?d rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7725634 . ?d property:P85 ?v } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } . resource:Q1039 property:P85 ?k } } . FILTER ( ?e < ?g ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
France, Limburg and Overijssel have lesser number of hymns or literary works as their national anthem than Sao Tomé and Príncipe
France Limburg Overijssel
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Sao Tomé and Príncipe
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?d WHERE { { ?v rdf:type ontology:hymn . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:anthem ?v } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:literary_work . ?d property:anthem ?v } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:hymn ) ( ontology:literary_work ) } } . resource:Sao_Tomé_and_Príncipe property:anthem ?k } } . FILTER ( ?e < ?g ) }
[]