Simple Question (Direct)
Simple Question
Q2458904
P21
Q290
USER
Which sex does Charles Bouchard possess ?
(Q2458904,P21,c(Q290))
action filter_type
action find
entity Q2458904
relation P21
type Q290
['Q2458904', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2458904 property:P21 ?e . ?e rdf:type ontology:Q290 }
Charles Bouchard
action filter_type
action find
entity Charles Bouchard
relation gender
type sex
['Charles Bouchard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Bouchard property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2458904,P21,c(Q290))
action filter_type
action find
entity Q2458904
relation P21
type Q290
Charles Bouchard possesses un [ANSWER]
['Q2458904', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2458904 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Charles Bouchard possesses un male
male
action filter_type
action find
entity Charles Bouchard
relation gender
type sex
['Charles Bouchard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Bouchard property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2458904
P410
Q4189293
USER
Which title has that person achieved ?
(Q6581097,P410,c(Q4189293))
action filter_type
action find
entity Q2458904
relation P410
type Q4189293
['Q6581097', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q2458904 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
Charles Bouchard
action filter_type
action find
entity Charles Bouchard
relation military rank
type title
['male', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Bouchard property:military_rank ?b . ?b rdf:type ontology:title }
[]
title
Q152951
SYSTEM
lieutenant general
Q152951
(Q6581097,P410,c(Q4189293))
action filter_type
action find
entity Q2458904
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q6581097', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q2458904 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
lieutenant general
That person has achieved a lieutenant general
lieutenant general
action filter_type
action find
entity Charles Bouchard
relation military rank
type title
['male', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Bouchard property:military_rank ?b . ?b rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2458904
P69
Q163740
USER
Which nonprofit organization is the alma mater of Charles Bouchard ?
(Q2458904,P69,c(Q163740))
action filter_type
action find
entity Q2458904
relation P69
type Q163740
['Q2458904', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q2458904 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Charles Bouchard
action filter_type
action find
entity Charles Bouchard
relation educated at
type nonprofit organization
['Charles Bouchard', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Charles_Bouchard property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q2458904,P69,c(Q163740))
action filter_type
action find
entity Q2458904
relation P69
type Q163740
[ANSWER] is the alma mater of Charles Bouchard
['Q2458904', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q2458904 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Harvard University
Harvard University is the alma mater of Charles Bouchard
Harvard University
action filter_type
action find
entity Charles Bouchard
relation educated at
type nonprofit organization
['Charles Bouchard', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Charles_Bouchard property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2458904
P166
Q1788716
USER
Which military decoration was received by that person ?
(Q13371,P166,c(Q1788716))
action filter_type
action find
entity Q2458904
relation P166
type Q1788716
['Q13371', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?g WHERE { resource:Q2458904 property:P166 ?g . ?g rdf:type ontology:Q1788716 }
Charles Bouchard
action filter_type
action find
entity Charles Bouchard
relation award received
type military decoration
['Harvard University', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Bouchard property:award_received ?g . ?g rdf:type ontology:military_decoration }
[]
military decoration
Q17231624
SYSTEM
legionnaire of Legion of Merit
Q17231624
(Q13371,P166,c(Q1788716))
action filter_type
action find
entity Q2458904
relation P166
type Q1788716
A [ANSWER] was received by that person
['Q13371', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?g WHERE { resource:Q2458904 property:P166 ?g . ?g rdf:type ontology:Q1788716 }
legionnaire of Legion of Merit
A legionnaire of Legion of Merit was received by that person
legionnaire of Legion of Merit
action filter_type
action find
entity Charles Bouchard
relation award received
type military decoration
['Harvard University', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Bouchard property:award_received ?g . ?g rdf:type ontology:military_decoration }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13371 Q273593
P69
Q502895
USER
How many people were a student at Harvard University and École nationale supérieure des Beaux-Arts ?
(c(Q502895),P69,Q13371) (c(Q502895),P69,Q273593)
action count
action intersection
action filter_type
action find_reverse
entity Q13371
relation P69
type Q502895
action filter_type
action find_reverse
entity Q273593
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q13371'] [{'concept': 'Q502895'}, 'P69', 'Q273593']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P69 resource:Q273593 . ?e rdf:type ontology:Q502895 . ?e property:P69 resource:Q13371 . ?e rdf:type ontology:Q502895 }
Harvard University École nationale supérieure des Beaux-Arts
action count
action intersection
action filter_type
action find_reverse
entity Harvard University
relation educated at
type common name
action filter_type
action find_reverse
entity École nationale supérieure des Beaux-Arts
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Harvard University'] [{'concept': 'common name'}, 'educated at', 'École nationale supérieure des Beaux-Arts']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:educated_at resource:École_nationale_supérieure_des_Beaux-Arts . ?e rdf:type ontology:common_name . ?e property:educated_at resource:Harvard_University . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q5081742 Q723234 Q4409910
(c(Q502895),P69,Q13371) (c(Q502895),P69,Q273593)
action count
action intersection
action filter_type
action find_reverse
entity Q13371
relation P69
type Q502895
action filter_type
action find_reverse
entity Q273593
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q13371'] [{'concept': 'Q502895'}, 'P69', 'Q273593']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P69 resource:Q273593 . ?e rdf:type ontology:Q502895 . ?e property:P69 resource:Q13371 . ?e rdf:type ontology:Q502895 }
Charles Pratt Huntington Henry Hobson Richardson Michel Mossessian
3
action count
action intersection
action filter_type
action find_reverse
entity Harvard University
relation educated at
type common name
action filter_type
action find_reverse
entity École nationale supérieure des Beaux-Arts
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Harvard University'] [{'concept': 'common name'}, 'educated at', 'École nationale supérieure des Beaux-Arts']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:educated_at resource:École_nationale_supérieure_des_Beaux-Arts . ?e rdf:type ontology:common_name . ?e property:educated_at resource:Harvard_University . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2458904
P27
Q1048835
USER
Which political territory does Charles Bouchard belong to ?
(Q2458904,P27,c(Q1048835))
action filter_type
action find
entity Q2458904
relation P27
type Q1048835
['Q2458904', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q2458904 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Charles Bouchard
action filter_type
action find
entity Charles Bouchard
relation country of citizenship
type political territorial entity
['Charles Bouchard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Bouchard property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q2458904,P27,c(Q1048835))
action filter_type
action find
entity Q2458904
relation P27
type Q1048835
Charles Bouchard belongs to [ANSWER]
['Q2458904', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q2458904 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Canada
Charles Bouchard belongs to Canada
Canada
action filter_type
action find
entity Charles Bouchard
relation country of citizenship
type political territorial entity
['Charles Bouchard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Bouchard property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q35
P495
Q1048835 Q2088357 Q201658
USER
Which political territories are the origin of greater number of musical ensembles or film genres than Denmark ?
(c(Q2088357)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q2088357
type Q201658
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?v WHERE { { ?a property:P495 ?v . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q2088357 } UNION { ?a property:P495 ?v . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q201658 } } GROUP BY ?v } . FILTER ( ?f > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P495 resource:Q35 . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2088357 ) } } } } }
Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?v WHERE { { ?a property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:musical_ensemble } UNION { ?a property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:film_genre } } GROUP BY ?v } . FILTER ( ?f > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:country_of_origin resource:Denmark . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:musical_ensemble ) } } } } }
[]
political territorial entity musical ensemble film genre
Q183 Q16 Q408
SYSTEM
Germany, Canada, Australia
Q183 Q16 Q408
(c(Q2088357)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q2088357
type Q201658
[ANSWERS] are the origin of greater number of musical ensembles or film genres than Denmark
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?v WHERE { { ?a property:P495 ?v . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q2088357 } UNION { ?a property:P495 ?v . ?v rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q201658 } } GROUP BY ?v } . FILTER ( ?f > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P495 resource:Q35 . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2088357 ) } } } } }
Germany Canada Australia
Germany, Canada and Australia are the origin of greater number of musical ensembles or film genres than Denmark
Germany Canada Australia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?v WHERE { { ?a property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:musical_ensemble } UNION { ?a property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:film_genre } } GROUP BY ?v } . FILTER ( ?f > ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:country_of_origin resource:Denmark . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:musical_ensemble ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q407199
P495
Q1048835 Q2088357 Q201658
USER
And also tell me about Palestinian territories?
(c(Q2088357)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q407199
relation P495
type Q2088357
type Q201658
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P495 resource:Q407199 . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } . FILTER ( ?t > ?i ) }
Palestinian territories
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Palestinian territories
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:country_of_origin resource:Palestinian_territories . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } . FILTER ( ?t > ?i ) }
[]
political territorial entity musical ensemble film genre
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q664 Q766 Q16 Q35 Q408 Q40
(c(Q2088357)|c(Q201658),P495,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q407199
relation P495
type Q2088357
type Q201658
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P495 resource:Q407199 . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } . FILTER ( ?t > ?i ) }
Germany New Zealand Jamaica Canada Denmark Australia Austria
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Palestinian territories
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:country_of_origin resource:Palestinian_territories . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } . FILTER ( ?t > ?i ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P88
Q41176 Q12280
USER
How many buildings and bridges were commissioned by that political territory ?
(c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q408) (c(Q12280),P88,Q408) (c(Q41176),P88,Q35) (c(Q12280),P88,Q35)
[{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q408'] [{'concept': 'Q12280'}, 'P88', 'Q408'] [{'concept': 'Q41176'}, 'P88', 'Q35'] [{'concept': 'Q12280'}, 'P88', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q17666015 } UNION { ?y property:P88 resource:Q17666015 } UNION { ?z property:P88 resource:Q22286761 } UNION { ?y property:P88 resource:Q22286761 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q996044 }
[{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Australia'] [{'concept': 'bridge'}, 'commissioned by', 'Australia'] [{'concept': 'building'}, 'commissioned by', 'Denmark'] [{'concept': 'bridge'}, 'commissioned by', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Australia } UNION { ?y property:commissioned_by resource:Australia } UNION { ?z property:commissioned_by resource:Denmark } UNION { ?y property:commissioned_by resource:Denmark } } . ?z rdf:type ontology:building . ?y rdf:type ontology:bridge }
[]
building bridge
Quantitative|Count|Mult. entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q17666015 } UNION { ?y property:P88 resource:Q17666015 } UNION { ?z property:P88 resource:Q22286761 } UNION { ?y property:P88 resource:Q22286761 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q996044 }
Did you mean Germany ?
Germany
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Australia } UNION { ?y property:commissioned_by resource:Australia } UNION { ?z property:commissioned_by resource:Denmark } UNION { ?y property:commissioned_by resource:Denmark } } . ?z rdf:type ontology:building . ?y rdf:type ontology:bridge }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q408) (c(Q12280),P88,Q408) (c(Q41176),P88,Q35) (c(Q12280),P88,Q35)
[{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q408'] [{'concept': 'Q12280'}, 'P88', 'Q408'] [{'concept': 'Q41176'}, 'P88', 'Q35'] [{'concept': 'Q12280'}, 'P88', 'Q35']
[{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Australia'] [{'concept': 'bridge'}, 'commissioned by', 'Australia'] [{'concept': 'building'}, 'commissioned by', 'Denmark'] [{'concept': 'bridge'}, 'commissioned by', 'Denmark']
[]
SYSTEM
1 buildings and 1 bridges
Q17416722 Q15715928
(c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q183) (c(Q12280),P88,Q183) (c(Q41176),P88,Q408) (c(Q12280),P88,Q408) (c(Q41176),P88,Q35) (c(Q12280),P88,Q35)
[ANSWER]
[{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q183'] [{'concept': 'Q12280'}, 'P88', 'Q183'] [{'concept': 'Q41176'}, 'P88', 'Q408'] [{'concept': 'Q12280'}, 'P88', 'Q408'] [{'concept': 'Q41176'}, 'P88', 'Q35'] [{'concept': 'Q12280'}, 'P88', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q423030 } UNION { ?y property:P88 resource:Q423030 } UNION { ?z property:P88 resource:Q17666015 } UNION { ?y property:P88 resource:Q17666015 } UNION { ?z property:P88 resource:Q22286761 } UNION { ?y property:P88 resource:Q22286761 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q996044 }
Presse- und Informationsamt der Bundesregierung (Bonn) Fußgängerüberführung Wielstraße
1 buildings and 1 bridges
[{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Germany'] [{'concept': 'bridge'}, 'commissioned by', 'Germany'] [{'concept': 'building'}, 'commissioned by', 'Australia'] [{'concept': 'bridge'}, 'commissioned by', 'Australia'] [{'concept': 'building'}, 'commissioned by', 'Denmark'] [{'concept': 'bridge'}, 'commissioned by', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Germany } UNION { ?y property:commissioned_by resource:Germany } UNION { ?z property:commissioned_by resource:Australia } UNION { ?y property:commissioned_by resource:Australia } UNION { ?z property:commissioned_by resource:Denmark } UNION { ?y property:commissioned_by resource:Denmark } } . ?z rdf:type ontology:building . ?y rdf:type ontology:bridge }
[]