Simple Question (Direct)
Simple Question
Q2391677
P27
Q15617994
USER
Which administrative territory is Raymond Jaspers an inhabitant of ?
(Q2391677,P27,c(Q15617994))
action filter_type
action find
entity Q2391677
relation P27
type Q15617994
['Q2391677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2391677 property:P27 ?z }
Raymond Jaspers
action filter_type
action find
entity Raymond Jaspers
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Jaspers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raymond_Jaspers property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2391677,P27,c(Q15617994))
action filter_type
action find
entity Q2391677
relation P27
type Q15617994
[ANSWER] is Raymond Jaspers an inhabitant of
['Q2391677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2391677 property:P27 ?z }
Belgium
Belgium is Raymond Jaspers an inhabitant of
Belgium
action filter_type
action find
entity Raymond Jaspers
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Jaspers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raymond_Jaspers property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2391677
P641
Q349
USER
Which sport did Raymond Jaspers participate in ?
(Q2391677,P641,c(Q349))
action filter_type
action find
entity Q2391677
relation P641
type Q349
['Q2391677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q2391677 property:P641 ?b }
Raymond Jaspers
action filter_type
action find
entity Raymond Jaspers
relation sport
type sport
['Raymond Jaspers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Raymond_Jaspers property:sport ?b }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2391677,P641,c(Q349))
action filter_type
action find
entity Q2391677
relation P641
type Q349
Raymond Jaspers participated in [ANSWER]
['Q2391677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q2391677 property:P641 ?b }
association football
Raymond Jaspers participated in association football
association football
action filter_type
action find
entity Raymond Jaspers
relation sport
type sport
['Raymond Jaspers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Raymond_Jaspers property:sport ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1064718 Q2391677
P39 P106
Q12737077
USER
Which occupations are the professions of Raymond Jaspers or were a position held by Charles Haight ?
OR((Q2391677,P106,c(Q12737077)), (Q1064718,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q2391677
relation P106
action find
entity Q1064718
relation P39
type Q12737077
{'OR': [['Q2391677', 'P106', {'concept': 'Q12737077'}], ['Q1064718', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . { { resource:Q2391677 property:P106 ?w } UNION { resource:Q1064718 property:P39 ?w } } }
Charles Haight Raymond Jaspers
action filter_type
action union
action find
entity Raymond Jaspers
relation occupation
action find
entity Charles Haight
relation position held
type occupation
{'OR': [['Raymond Jaspers', 'occupation', {'concept': 'occupation'}], ['Charles Haight', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . { { resource:Raymond_Jaspers property:occupation ?w } UNION { resource:Charles_Haight property:position_held ?w } } }
[]
occupation
Q13218630 Q18536527 Q937857
SYSTEM
United States representative, member of the New Jersey General Assembly, association football player
Q13218630 Q18536527 Q937857
OR((Q2391677,P106,c(Q12737077)), (Q1064718,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q2391677
relation P106
action find
entity Q1064718
relation P39
type Q12737077
The professions of Raymond Jaspers or were a position held by Charles are a [ANSWERS]
{'OR': [['Q2391677', 'P106', {'concept': 'Q12737077'}], ['Q1064718', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . { { resource:Q2391677 property:P106 ?w } UNION { resource:Q1064718 property:P39 ?w } } }
United States representative member of the New Jersey General Assembly association football player
The professions of Raymond Jaspers or were a position held by Charles are a United States representative, member of the New Jersey General Assembly and association football player
United States representative member of the New Jersey General Assembly association football player
action filter_type
action union
action find
entity Raymond Jaspers
relation occupation
action find
entity Charles Haight
relation position held
type occupation
{'OR': [['Raymond Jaspers', 'occupation', {'concept': 'occupation'}], ['Charles Haight', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . { { resource:Raymond_Jaspers property:occupation ?w } UNION { resource:Charles_Haight property:position_held ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q1875621 Q2235308
USER
How many sports are recognized as the main use of atleast 1 aircraft classes or ship types ?
(c(Q1875621)|c(Q2235308),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?v WHERE { { ?y property:P366 ?v . ?v rdf:type ontology:Q349 . ?y rdf:type ontology:Q1875621 } UNION { ?y property:P366 ?v . ?v rdf:type ontology:Q349 . ?y rdf:type ontology:Q2235308 } } GROUP BY ?v } . FILTER ( ?m >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?v WHERE { { ?y property:use ?v . ?v rdf:type ontology:sport . ?y rdf:type ontology:aircraft_class } UNION { ?y property:use ?v . ?v rdf:type ontology:sport . ?y rdf:type ontology:ship_type } } GROUP BY ?v } . FILTER ( ?m >= 1 ) }
[]
sport aircraft class ship type
SYSTEM
2
Q1875777 Q61065
(c(Q1875621)|c(Q2235308),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?v WHERE { { ?y property:P366 ?v . ?v rdf:type ontology:Q349 . ?y rdf:type ontology:Q1875621 } UNION { ?y property:P366 ?v . ?v rdf:type ontology:Q349 . ?y rdf:type ontology:Q2235308 } } GROUP BY ?v } . FILTER ( ?m >= 1 ) }
air racing water sport
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?v WHERE { { ?y property:use ?v . ?v rdf:type ontology:sport . ?y rdf:type ontology:aircraft_class } UNION { ?y property:use ?v . ?v rdf:type ontology:sport . ?y rdf:type ontology:ship_type } } GROUP BY ?v } . FILTER ( ?m >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q31 Q334
P530
Q1048835
USER
How many political territories have diplomatic relations with Belgium and Singapore ?
(c(Q1048835),P530,Q31) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q31
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q31'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P530 resource:Q31 . ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q334 . ?n rdf:type ontology:Q1048835 }
Belgium Singapore
action count
action intersection
action filter_type
action find_reverse
entity Belgium
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belgium'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:diplomatic_relation resource:Belgium . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Singapore . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q31) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q31
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q31'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P530 resource:Q31 . ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q334 . ?n rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Belgium
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belgium'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:diplomatic_relation resource:Belgium . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Singapore . ?n rdf:type ontology:political_territorial_entity }
[]